Template:TemplateBox/layout

From Soma-notes

{{#ifeq:layout|{{#ifeq:{{#if: | override | }}|override|layout|doc}}|{{Documentation subpage/{{#ifexist: Template:Documentation subpage/{{#if: |{{{2}}}|⧼Lang⧽}} | {{#if: |{{{2}}}|⧼Lang⧽}} | {{#ifexist: Template:Documentation subpage/Template:GetFallback | Template:GetFallback | {{#ifexist: Template:Documentation subpage/Template:GetFallback2 | Template:GetFallback2 | en }} }} }}}}}}

{{#if: |

{{{desc}}}

| }}{{#if: |

{{{msg-setscats}}}

}}

{{{{#if: | {{{name}}} | TemplateBox/layout }}{{#switch:|multi={{#if: |
}}|one=}}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch: |multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}{{#if: {{#switch: |optional-=|#default= }} | |={{#switch:|multi=
|one=}} }}}}
{{#if: |

{{#ifexist: Template: | {{{{{shorthand}}}{{#if: | |... }}}} | {{{shorthand}}} }} }}{{#if: |


{{{usage-notes}}}

}}{{#if: |

{{#if: |

1 | 1 (1) | }} {{{1def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

2 | 2 (2) | }} {{{2def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

3 | 3 (3) | }} {{{3def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

4 | 4 (4) | }} {{{4def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

5 | 5 (5) | }} {{{5def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

6 | 6 (6) | }} {{{6def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

7 | 7 (7) | }} {{{7def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

8 | 8 (8) | }} {{{8def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

9 | 9 (9) | }} {{{9def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

10 | 10 (10) | }} {{{10def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

11 | 11 (11) | }} {{{11def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

12 | 12 (12) | }} {{{12def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

13 | 13 (13) | }} {{{13def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

14 | 14 (14) | }} {{{14def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

15 | 15 (15) | }} {{{15def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

16 | 16 (16) | }} {{{16def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

17 | 17 (17) | }} {{{17def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

18 | 18 (18) | }} {{{18def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

19 | 19 (19) | }} {{{19def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

20 | 20 (20) | }} {{{20def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

21 | 21 (21) | }} {{{21def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

22 | 22 (22) | }} {{{22def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

23 | 23 (23) | }} {{{23def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}{{#if: |

24 | 24 (24) | }} {{{24def}}} | ' }} {{#switch: optional= optional-= required= deprecated=

}} }}

|

}}

{{#switch: |= |all= |talks= |contents= |0|Main|Gallery|main|gallery= |1|Talk|talk= |2|User|user= |3|User talk|user talk= |4|Commons|commons= |5|Commons talk|commons talk= |6|File|file= |7|File talk|file talk= |8|MediaWiki|mediaWiki= |9|MediaWiki talk|mediaWiki talk= |10|Template|template= |11|Template talk|template talk= |12|Help|help= |13|Help talk|help talk= |14|Category|category= |15|Category talk|category talk= |16|Creator|creator= |17|Creator talk|creator talk= |18|Special|special= |#default= }}


{{#switch: |all= |bot= |administrator|admin|sysop= |bureaucrat|crat= |checkuser= |#default= }}{{#if: |


{{#switch: |top= |bottom= |license|licence= |#default=

{{{placement}}}

}} }}{{#if: |


}}{{#if: |

{{{{#if:  | {{{name}}} | TemplateBox/layout }}|{{{example}}}}}:


{{{{#if: | {{{name}}} | TemplateBox/layout }}||category=}}

}}{{#if: |

{{{{#if:  | {{{name}}} | TemplateBox/layout }}|{{{example2}}}}}:


{{{{#if: | {{{name}}} | TemplateBox/layout }}||category=}}

}}{{#if: |

{{{seealso}}}

}}{{#switch: |-=

|autotranslate=

Template:Lang links


<inputbox> type=create preload=Template:{{#if: | {{{name}}} | TemplateBox/layout }}/en default=Template:{{#if: | | TemplateBox/layout }}/{{#ifexist: Template:{{#if: | {{{name}}} | TemplateBox/layout }}/⧼Lang⧽ | LANGCODE | ⧼Lang⧽ }} </inputbox>

|switch=

|mediawiki-msg=

|custommediawiki-msg=

|#default= }}{{#if: |


{{{i18n-desc}}}

}}