Difference between revisions of "Template:MedalistTable"

From blackwiki
Jump to navigation Jump to search
blackwiki>Andrwsc
m (typo)
m (77 revisions imported)
 
(68 intermediate revisions by 43 users not shown)
Line 1: Line 1:
<noinclude>{| </noinclude>class="wikitable"
+
<noinclude>{| </noinclude>class="{{{class|wikitable plainrowheaders}}}" border="1" style="font-size: {{{fontsize|100}}}%"
|- align=center
+
|- style="text-align: center;"
|width=120 bgcolor=efefef|'''{{{type|Games}}}'''
+
! scope="col" style="width: {{{labelwidth|120}}}px;"| {{{type|Games}}}
|colspan={{{columns|1}}} width={{{width|200}}} bgcolor=gold  |'''Gold'''
+
{{#ifeq: {{{location|}}} | yes |
|colspan={{{columns|1}}} width={{{width|200}}} bgcolor=silver|'''Silver'''
+
! scope="col" style="width: {{{locationwidth|140}}}px;"{{!}} Location
|colspan={{{columns|1}}} width={{{width|200}}} bgcolor=cc9966|'''Bronze'''<noinclude>
+
}}
 +
! scope="col" colspan={{{columns|1}}} style="width: {{{width|200}}}px; background: #{{#switch:{{{style|}}}|ribbon-CA=FF9999|ribbon-US=9999FF|ordinal=f2f2f2|#default=FFD700}};" | {{#ifeq:{{{style|medal}}}|medal|Gold|First}}
 +
! scope="col" colspan={{{columns|1}}} style="width: {{{width|200}}}px; background: #{{#switch:{{{style|}}}|ribbon-CA=9999FF|ribbon-US=FF9999|ordinal=f2f2f2|#default=CCCCCC}};" | {{#ifeq:{{{style|medal}}}|medal|Silver|Second}}
 +
! scope="col" colspan={{{third-columns|{{{columns|1}}}}}} style="width: {{{third-width|{{{width|200}}}}}}px; background: #{{#switch:{{{style|}}}|ribbon-CA=FFFFFF|ribbon-US=FFFF99|ordinal=f2f2f2|#default=CC9966}};" | {{#ifeq:{{{style|medal}}}|medal|Bronze|Third}}<noinclude>
 
|}
 
|}
[[Category:Olympics templates|MedalistTable]]
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 09:38, 30 September 2020

Games Gold Silver Bronze
Template documentation[create]