Difference between revisions of "Template:MedalTableTop"

From blackwiki
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 - tested with /sandbox and /testcases.)
imported>WOSlinker
(use PAGENAMEBASE instead of Title without disambig (one less redirect))
Line 1: Line 1:
 
{| class="infobox" style="width: 22em;"
 
{| class="infobox" style="width: 22em;"
 
|-
 
|-
{{#ifeq:{{{name|}}}|no||<caption class="{{{titleclass|}}}" style="{{{titlestyle|}}}">{{{name|{{Title without disambig|{{PAGENAME}}}}}}}</caption>}}
+
{{#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={{{imagesize|}}}|sizedefault=100px|alt={{{alt|}}}|suppressplaceholder=yes}}<br />{{#if:{{{caption|}}}|{{{caption|{{}}}}}}}
 
{{!}}- }}
 
{{!}}- }}

Revision as of 23:02, 3 November 2015

Template:PAGENAMEBASE
Medal record