Modul:Country alias: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
Baris 143:
else
local pageName = mw.title.getCurrentTitle().text
if pageName == 'Russian Olympic Committee athletes at thepada Olympics' then
alias = 'ROC_2020'
end
Baris 217:
fullName = 'Russian Olympic Committee athletes'
end
return (('[[File:{flag}|22x20px|border|alt=|link=]] [[{name} at thepada {games}|{dispName}]]{athletes}')
:gsub('{(%w+)}', {
athletes = athletes and
Baris 272:
if dispType == 'name' then
return (('[[File:{flag}|22x20px|border|alt=|link=]] [[{name} at thepada {games}|{dispName}]]{athletes}')
:gsub('{(%w+)}', {
athletes = athletes and
Baris 283:
}))
elseif dispType == 'team' then
return (('[[File:{flag}|22x20px|border|alt=|link=]] [[{name} at thepada {games}|{dispName}]]{alias}')
:gsub('{(%w+)}', {
alias = ('&nbsp;<span style="font-size:90%;">(' .. code .. ')</span>'),
Baris 292:
}))
elseif dispType == 'athlete' then
return (('[[File:{flag}|22x20px|border|alt=|link=]]&nbsp;{athletes}&nbsp;<span style="font-size:90%;">([[{name} at thepada {games}|{dispName}]])</span>')
:gsub('{(%w+)}', {
athletes = athletes,
Baris 301:
}))
elseif dispType == 'medalist' then
return (('{athletes}<br>[[File:{flag}|23x15px|border|alt=|link=]]&nbsp;[[{name} at thepada {games}|{dispName}]]')
:gsub('{(%w+)}', {
athletes = athletes,