Module:Medals table: Διαφορά μεταξύ των αναθεωρήσεων
Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Χωρίς σύνοψη επεξεργασίας |
Χωρίς σύνοψη επεξεργασίας |
||
Γραμμή 1:
require('
local getArgs = require('
local p = {}
Γραμμή 48:
if args['name_' .. host] then
host = args['name_' .. host]
host = '
elseif host:match('^([A-Z][A-Z][A-Z])') then
host = frame:expandTemplate{title = flagTemplate, args = {host, event} }
host = '
end
host = host .. (args['host_note'] or '')
Γραμμή 90:
:tag('th')
:addClass('headerSort')
:css('width', '
:css('background-color', 'gold')
:wikitext('Χρυσό')
:tag('th')
:addClass('headerSort')
:css('width', '
:css('background-color', 'silver')
:wikitext('Αργυρό')
:tag('th')
:addClass('headerSort')
:css('width', '
:css('background-color', '#c96')
:wikitext('Χάλκινο')
:tag('th')
:css('width', '
:wikitext('Σύνολο')
Γραμμή 150:
end
local nation = args['name_' .. IOC] or
frame:expandTemplate{title = flagTemplate, args = {IOC, event} }
local gold = tonumber(args['gold_' .. IOC]) or 0
local silver = tonumber(args['silver_' .. IOC]) or 0
Γραμμή 231:
:css('font-style', 'italic')
:css('text-align','left')
:wikitext(args['remaining_link'] or args['remaining_text'] or '
:tag('td')
:wikitext(remainingGold)
Γραμμή 243:
if team:match('^[A-Z][A-Z][A-Z]$') or team:match('>[A-Z][A-Z][A-Z]<') then else team = team:lower() end
local colspan
Γραμμή 256 ⟶ 255 :
:addClass('sortbottom')
:tag('th')
:wikitext('Σύνολο ('..remainingEnd..'
:attr('scope', 'row')
:css('background-color', '#eaebef')
Γραμμή 283 ⟶ 282 :
if args['source'] then
footer = footer .. '
end
if args['notes'] then
Γραμμή 289 ⟶ 288 :
footer = footer .. '<br>'
end
footer = footer .. '
end
footer = footer .. frame:expandTemplate{ title = 'refend' }
|