Template:Infobox Olympic torch relay/doc
From Holocaustmap
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Infobox Olympic torch relay | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Use the following: <syntaxhighlight lang="wikitext">
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox Olympic torch relay/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }} </syntaxhighlight>
Example
File:Example.svg Example image | |
Host city | Footown |
---|---|
Countries visited | Fooia, Fooland, Republic of Foo |
Distance | 100,000 km |
Torch bearers | 9,001 |
Theme | United by Foo |
Start date | 10 May 2094 |
End date | 15 September 2094 |
Torch designer | Foo McFoo |
No. of torches | 14,025 |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox Olympic torch relay/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }}
<syntaxhighlight lang="wikitext">
File:Example.svg Example image | |
Host city | Footown |
---|---|
Countries visited | Fooia, Fooland, Republic of Foo |
Distance | 100,000 km |
Torch bearers | 9,001 |
Theme | United by Foo |
Start date | 10 May 2094 |
End date | 15 September 2094 |
Torch designer | Foo McFoo |
No. of torches | 14,025 |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq:Infobox Olympic torch relay/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | other | #default = }} </syntaxhighlight>