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">

{{#ifeq:Year|1906|1906 Intercalated Games|{{#ifeq: |Olympics|{{#ifeq:Type|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympic Winter Games}}|{{#ifeq: |Youth Olympics|{{#ifeq:Type|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Youth Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Winter Youth Olympic Games}}|{{#ifeq: |Paralympics|{{#ifeq:Type|Summer|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Games|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Winter Games}}| }} }} }} }}

{{#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

{{#ifeq:2094|1906|1906 Intercalated Games|{{#ifeq: |Olympics|{{#ifeq:Summer|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympic Winter Games}}|{{#ifeq: |Youth Olympics|{{#ifeq:Summer|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Youth Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Winter Youth Olympic Games}}|{{#ifeq: |Paralympics|{{#ifeq:Summer|Summer|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Games|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Winter Games}}| }} }} }} }}
File:Example.svg
Example image
Host cityFootown
Countries visitedFooia, Fooland, Republic of Foo
Distance100,000 km
Torch bearers9,001
ThemeUnited by Foo
Start date10 May 2094
End date15 September 2094
Torch designerFoo McFoo
No. of torches14,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">

{{#ifeq:2094|1906|1906 Intercalated Games|{{#ifeq: |Olympics|{{#ifeq:Summer|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Olympic Winter Games}}|{{#ifeq: |Youth Olympics|{{#ifeq:Summer|Summer|Games of the Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Youth Olympiad|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Winter Youth Olympic Games}}|{{#ifeq: |Paralympics|{{#ifeq:Summer|Summer|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Games|Lua error in Module:Roman at line 122: attempt to index field 'ext' (a nil value). Paralympic Winter Games}}| }} }} }} }}
File:Example.svg
Example image
Host cityFootown
Countries visitedFooia, Fooland, Republic of Foo
Distance100,000 km
Torch bearers9,001
ThemeUnited by Foo
Start date10 May 2094
End date15 September 2094
Torch designerFoo McFoo
No. of torches14,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>