Difference between revisions of "Template:MedalTableTop"
Jump to navigation
Jump to search
imported>Sillyfolkboy (allow use of nation for country code) |
imported>Zyxw (Remove redundant bolding around country text, it is in a <th> cell which already displays text in bold, similar to formatting of sport - tested with /sandbox and /testcases.) |
||
| Line 2: | Line 2: | ||
|- | |- | ||
{{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{Title without disambig|{{PAGENAME}}}}}}}</caption>}} | {{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{Title without disambig|{{PAGENAME}}}}}}}</caption>}} | ||
| − | {{#if:{{{image| }}}|{{!}} colspan="3" style="text-align:center; background-color:# | + | {{#if:{{{image| }}}|{{!}} colspan="3" style="text-align:center; background-color:#ffffff;" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=100px|alt={{{alt|}}}|suppressplaceholder=yes}}<br />{{#if:{{{caption|}}}|{{{caption|{{}}}}}}} |
{{!}}- }} | {{!}}- }} | ||
| − | {{#if:{{{1| }}}|{{!}} colspan="3" style="text-align:center; background-color:# | + | {{#if:{{{1| }}}|{{!}} colspan="3" style="text-align:center; background-color:#ffffff;" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{1|}}}|size={{{2|}}}|sizedefault=100px|alt={{{alt|}}}|suppressplaceholder=yes}}<br />{{#if:{{{3|}}}|{{{3|{{}}}}}}} |
{{!}}- }} | {{!}}- }} | ||
| − | ! colspan="3" style="text-align:center; background-color:# | + | ! colspan="3" style="text-align:center; background-color:#b0c4de" | {{{header|Medal record}}} |
|- | |- | ||
{{#if:{{{sport| }}}|{{!}}- | {{#if:{{{sport| }}}|{{!}}- | ||
| Line 12: | Line 12: | ||
{{!}}- }} | {{!}}- }} | ||
{{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr" | {{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr" | ||
| − | ! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} | + | ! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} Representing {{#switch: {{{country_code|{{{nation}}}}}}| USA = the | URS = the | MHL = the | UAE = the | GBR = the | BAH = the | NED = the | PHI = the | SEY = the | GAM = the | SOL = the |}} {{ {{{country_code|{{{nation}}}}}} }} |
{{!}}- }} | {{!}}- }} | ||
{{#if:{{{medals|}}}|{{{medals|}}} | {{#if:{{{medals|}}}|{{{medals|}}} | ||
Revision as of 16:54, 12 September 2015
| Medal record |
|---|
| The above documentation is transcluded from Template:MedalTableTop/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |