Difference between revisions of "Template:MedalTableTop/sandbox"
Jump to navigation
Jump to search
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.) |
imported>Zyxw (add "country" as used in Template:MedalBox, not displayed if "country_code" is used) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| class="infobox" style="width: 22em;" | {| class="infobox" style="width: 22em;" | ||
|- | |- | ||
| − | {{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{ | + | {{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{PAGENAMEBASE|{{PAGENAME}}}}}}}</caption>}} |
| − | {{#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:{{{image| }}}|{{!}} colspan="3" style="text-align:center; background-color:#ffffff;" {{!}} {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=100px|alt={{{alt|}}}|suppressplaceholder=yes}}<br />{{#if:{{{caption|}}}|{{{caption|{{}}}}}}} |
{{!}}- }} | {{!}}- }} | ||
{{#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|{{}}}}}}} | {{#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|{{}}}}}}} | ||
| Line 13: | Line 13: | ||
{{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr" | {{#if:{{{country_code|{{{nation| }}}}}}|{{!}}- class="adr" | ||
! 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}}}}}} }} | ! 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: {{{country|}}}|{{!}}- class="adr" |
| + | ! colspan="3" style="text-align:center; background-color:#eeeeee;" {{!}} Representing {{{country}}} }}}} | ||
{{#if:{{{medals|}}}|{{{medals|}}} | {{#if:{{{medals|}}}|{{{medals|}}} | ||
{{!}}{{)}}}}<noinclude> | {{!}}{{)}}}}<noinclude> | ||
Latest revision as of 19:31, 5 November 2017
| Medal record |
|---|
| This is the template sandbox page for Template:MedalTableTop (diff). See also the companion subpage for test cases. |
| 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. |