Module:Medals table: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Χωρίς σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
Γραμμή 1:
require('ModuleModül:No globals')
local getArgs = require('ModuleModül:Arguments').getArgs
 
local p = {}
Γραμμή 48:
if args['name_' .. host] then
host = args['name_' .. host]
host = 'ΔιοργανώτριαEv χώραsahibi ülke (' .. deflag(host) .. ')'
elseif host:match('^([A-Z][A-Z][A-Z])') then
host = frame:expandTemplate{title = flagTemplate, args = {host, event} }
host = 'ΔιοργανώτριαEv χώραsahibi ülke (' .. deflag(host) .. ')'
end
host = host .. (args['host_note'] or '')
Γραμμή 90:
:tag('th')
:addClass('headerSort')
:css('width', '4em5em')
:css('background-color', 'gold')
:wikitext('Χρυσό')
:tag('th')
:addClass('headerSort')
:css('width', '4em5em')
:css('background-color', 'silver')
:wikitext('Αργυρό')
:tag('th')
:addClass('headerSort')
:css('width', '4em5em')
:css('background-color', '#c96')
:wikitext('Χάλκινο')
:tag('th')
:css('width', '4em5em')
: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 'RemainingKalan')
: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
if team:match('^games$') then team = 'game' end
local colspan
Γραμμή 256 ⟶ 255 :
:addClass('sortbottom')
:tag('th')
:wikitext('Σύνολο ('..remainingEnd..' '..team..'-εςχώρες)')
:attr('scope', 'row')
:css('background-color', '#eaebef')
Γραμμή 283 ⟶ 282 :
if args['source'] then
footer = footer .. 'SourceKaynak: ' .. args['source']
end
if args['notes'] then
Γραμμή 289 ⟶ 288 :
footer = footer .. '<br>'
end
footer = footer .. 'NotesNotlar: ' .. args['notes']
end
footer = footer .. frame:expandTemplate{ title = 'refend' }