Difference between revisions of "Template:CompetitionRecord"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
Line 2: | Line 2: | ||
</noinclude> | </noinclude> | ||
|- style="background-color:white;" | |- style="background-color:white;" | ||
− | | style="width:3em; text-align:center; vertical-align:middle; font-weight:bold; {{#switch:{{lc: | + | | style="width:3em; text-align:center; vertical-align:middle; font-weight:bold; {{#switch:{{lc:{{{1|}}}}}|<small>champion</small>|champion|1st=background-color:gold|2nd=background-color:silver|3rd=background-color:#cc9966|3rd-4th|3rd–4th=background-color:#cc9966|disqualified|<small>disqualified</small>|dq=background-color:pink|#default=}}" | {{#invoke:string|replace|{{if empty|{{{place|}}}|{{{1|}}}}}|%s*%-%s*|–|plain=false}} |
− | | style="text-align:center; vertical-align:middle;" | {{#if: | + | | style="text-align:center; vertical-align:middle;" | {{#if:1|{{{2|}}}}} |
− | | style="text-align:center; vertical-align:middle;" | {{#if: | + | | style="text-align:center; vertical-align:middle;" | {{#if:1|{{{3|}}}}}<noinclude> |
|} | |} | ||
{{documentation|Template:CompetitionRecordRelatedTemplates}} | {{documentation|Template:CompetitionRecordRelatedTemplates}} | ||
</noinclude> | </noinclude> |
Latest revision as of 02:47, 7 July 2020
Script error: No such module "If empty". |
Usage example
Competition record | ||
---|---|---|
![]() Athlete name | ||
Representing ![]() | ||
Strongman | ||
World's Strongest Man | ||
Script error: No such module "If empty". | 2009 World's Strongest Man | |
Britain's Strongest Man | ||
Script error: No such module "If empty". | 1977 Britain's Strongest Man | |
Script error: No such module "If empty". | 1978 Britain's Strongest Man |
{{CompetitionRecordTableTop|Bad Title Example.png|150px|Athlete name}} {{CompetitionRecordCountry | {{EUR}} }} {{CompetitionRecordSport | [[Strongman (strength athlete)|Strongman]]}} {{CompetitionRecordCompetition|[[World's Strongest Man]]}} {{CompetitionRecord|1st | [[2009 World's Strongest Man]] | }} {{CompetitionRecordCompetition|[[Britain's Strongest Man]]}} {{CompetitionRecord|2nd | [[1977 Britain's Strongest Man]] | }} {{CompetitionRecord|3rd | [[1978 Britain's Strongest Man]] | }} {{CompetitionRecordBottom}}
Related templates
Heading
{{CompetitionRecordTableTop}} – with the optional image parameters (see example above):
- Image name without 'Image:'.
- Image size. Default value: 100px.
- Caption. Default value: {{PAGENAME}}.
Sub Headings
Awards
Use of the {{CompetitionRecordSemifinalist}} and {{CompetitionRecordQuarterfinalist}} templates are for single-elimination tournaments where there is no third place playoff match.
- All with the usage: {{CompetitionRecord| Ranking | Year City | Event}} (see example above)
The above documentation is transcluded from Template:CompetitionRecordRelatedTemplates. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |