Difference between revisions of "Template:MedalCount"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 76: Line 76:
 
|-
 
|-
 
{{#if:{{{37|}}}|
 
{{#if:{{{37|}}}|
{{!}} style="text-align:left" {{!}} {{#if:1|{{{38}}}}}
+
{{!}} style="text-align:left" {{!}} {{#if:1|{{{37}}}}}
{{!}} style="background-color:#FEEC80;" {{!}} {{#if:1|{{{39|}}}}}
+
{{!}} style="background-color:#FEEC80;" {{!}} {{#if:1|{{{38|}}}}}
{{!}} style="background-color:#E5E5E5;" {{!}} {{#if:1|{{{40|}}}}}
+
{{!}} style="background-color:#E5E5E5;" {{!}} {{#if:1|{{{39|}}}}}
{{!}} style="background-color:#FFCC99;" {{!}} {{#if:1|{{{41|}}}}}
+
{{!}} style="background-color:#FFCC99;" {{!}} {{#if:1|{{{40|}}}}}
 
}}
 
}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>

Revision as of 20:57, 8 November 2012

Usage with MedalBox

Title
Sport
Representing Country
Podiums
Event 1st 2nd 3rd
Event1
Event2
Event3
Event4
Event5
Event6
Event7
Event8
Event9
Event10
{{MedalBox|title=|sport=|country=|medals=
{{MedalPodiums|type=Podiums
| Event1 | | | 
| Event2 | | | 
| Event3 | | | 
| Event4 | | | 
| Event5 | | | 
| Event6 | | | 
| Event7 | | | 
| Event8 | | | 
| Event9 | | | 
| Event10| | | 
}}
}}

Usage with Infobox sportsperson

Script error: No such module "If empty".
Sport
CountryCountry
SportSport
Medal record
Podiums
Event 1st 2nd 3rd
Event1
Event2
Event3
Event4
Event5
Event6
Event7
Event8
Event9
Event10
Template:Wikidata image
{{Infobox sportsperson
| name =
| country = 
| sport =
| medaltemplates =
{{MedalPodiums|type=Podiums
| Event1 | | | 
| Event2 | | | 
| Event3 | | | 
| Event4 | | | 
| Event5 | | | 
| Event6 | | | 
| Event7 | | | 
| Event8 | | | 
| Event9 | | | 
| Event10| | | 
}}
}}

See also