Difference between revisions of "Template:TemplateBox/layout"

From BlazeyAndTyler
Jump to: navigation, search
m (Fulfilling edit request by CabbagePotato: Removing hardcoded "template:" as "Must be substituted" should understand it without.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 17:46, 7 May 2016

{{#ifeq:|export |== Export code ==

{{msgnw:Template:}}
<noinclude><templatedata>
{{{JSONFM}}}
</templatedata>
</noinclude>

|{{#ifeq:layout|{{#ifeq:{{#if: | override | }}|override|layout|doc}}|{{#invoke:Fallback | autotranslate

      |base = Documentation subpage
      |lang = 
      |page = {{#if:||Template:TemplateBox}}
    }}}}

{{#if: |

{{{desc}}}

| }}{{#if: |

{{{msg-setscats}}}

}}

{{#ifeq:{{#titleparts:Template:TemplateBox/layout|1|-1}}|doc||{{#if:|Template:Must be substituted}}}}

{{#if: |

{{#ifexist: Template: | {{{{{shorthand}}}{{#ifeq:|0|| |… parameters as described …}}}} | }} }}{{#if: |


{{{usage-notes}}}

}}{{#if: |

⧼templatedata-doc-params⧽

{{#ifeq:|only||{{{paramTable}}}}} |

}}

{{#if:

 |{{#ifeq:|only||Template:Collapse top}}

{{{templateDataInfo}}} <templatedata> </templatedata> {{#ifeq:|only||Template:Collapse bottom}} }}

{{#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= |licensereviewer|imagereviewer|image-reviewer|license-reviewer=⧼Group-Image-reviewer⧽ |otrs|otrs-agent|otrs-member=⧼Group-OTRS-member⧽ |autoconfirmed=Autoconfirmed users |autopatrolled=⧼Group-autopatrolled⧽ |filemover=⧼Group-filemover⧽ |oversight=⧼Group-oversight⧽ |patroller=⧼Group-patroller⧽ |rollbacker=⧼Group-rollbacker⧽ |steward=⧼Group-steward⧽ |upwizcampeditors=⧼Group-upwizcampeditors⧽ |translationadmin|translateadmin=⧼Group-translationadmin⧽ |#default= }}{{#if: |


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

{{{placement}}}

}} }}{{#if: |


}}{{#if: |

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


{{#if:|{{{example-value}}}|{{{{#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 }}/en | LANGCODE | en }} </inputbox>

|ext.translate=

Template:Lang links


{{#if:true
 | [[[:Template:TranslateLink]] {{#if:
 | 
 }}Icono de traducción.svg{{{msg-localization-instruct-ext-translate}}}{{#if:
 | 
 }}]
 | [[Template:TranslateLink|{{#if:
 | 
 }}Icono de traducción.svg{{{msg-localization-instruct-ext-translate}}}{{#if:
 | 
 }}]]

}}

{{#if:true
 | [{{fullurl:{{{i18n-subpage}}}|action=edit}} {{#if:ui-icon-wrench
 | 
 }}{{{msg-localization-instruct-ext-translate-admin}}}{{#if:
 | 
 }}]
 | [[{{fullurl:{{{i18n-subpage}}}|action=edit}}|{{#if:ui-icon-wrench
 | 
 }}{{{msg-localization-instruct-ext-translate-admin}}}{{#if:
 | 
 }}]]

}}

|switch=

|mediawiki-msg=

|custommediawiki-msg=

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


{{{i18n-desc}}}

}}}}