Difference between revisions of "Template:MedalistTable"
Jump to navigation
Jump to search
blackwiki>Zyxw (add parameters to allow two columns under heading for Third/Bronze) |
blackwiki>Zyxw (parameter order) |
||
| Line 7: | Line 7: | ||
! 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=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={{{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={{{columns|{{{ | + | ! 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> |
|} | |} | ||
{{documentation}} | {{documentation}} | ||
[[Category:Olympics templates|MedalistTable]] | [[Category:Olympics templates|MedalistTable]] | ||
</noinclude> | </noinclude> | ||