Difference between revisions of "Template:MedalTableTop/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Sillyfolkboy
(try 2009 version)
imported>Sillyfolkboy
(Undid revision 566124438 by Sillyfolkboy (talk) 2009 also has alignment issue)
Line 1: Line 1:
{| class="infobox" style="width: 23em; font-size: 90%;"
+
{| class="infobox" style="width: 22em; font-size:85%"
!colspan="3" style="text-align:center; background-color:#B0C4DE"| Medal record
 
 
|-
 
|-
{{#if:{{{1| }}}|{{!}}colspan="3" style="text-align:center; background-color:#FFFFFF'" {{!}} [[Image:{{{1}}}|{{{2|100px}}}|alt={{{alt|}}}|{{{3|{{PAGENAME}}}}}]]<br /><small>{{{3|{{PAGENAME}}}}}
+
{{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{Title without disambig|{{PAGENAME}}}}}}}</caption>}}
{{!}}- }}<noinclude>
+
{{#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:#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:#B0C4DE"| {{{header|Medal record}}}
 +
|-
 +
{{#if:{{{sport| }}}|{{!}}- bgcolor="#eeeeee" align=center
 +
!colspan="3" {{!}} {{{sport}}}
 +
{{!}}- }}
 +
{{#if:{{{country_code| }}}|{{!}}- bgcolor="#eeeeee" class="adr" align=center
 +
!colspan="3" {{!}} '''Representing {{#switch: {{{country_code}}}| USA =  the | URS =  the | MHL =  the | UAE =  the | GBR =  the | BAH =  the | NED =  the | PHI =  the | SEY =  the | GAM =  the | SOL =  the |}} {{ {{{country_code}}} }}'''
 +
{{!}}- }}
 +
{{#if:{{{medals|}}}|{{{medals|}}}
 +
{{!}}{{)}}}}<noinclude>
 
|}
 
|}
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:37, 28 July 2013

Template:Title without disambig
Medal record