Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TemplateBox/layout: Difference between revisions

Template page
mNo edit summary
m 100 revisions imported
 
(96 intermediate revisions by 21 users not shown)
Line 1: Line 1:
<nowiki/>
<templatestyles src="TemplateBox/styles.css" />
----
__NOEDITSECTION__
{{Documentation subpage|{{{docsub-override|}}}|page={{{docsub-page|}}}}}
{{#ifeq:{{{useTemplateData|}}}|export
 
|== {{{msg-export|Export code}}} ==
{{#tag:pre|{{msgnw:Template:{{{name|}}}}}
<nowiki><noinclude><templatedata></nowiki>
{{{JSONFM}}}
<nowiki></templatedata>
</noinclude></nowiki>
}}
|{{Documentation subpage|{{#if: {{{docsub-override|}}} | override | }}|page={{{docsub-page|}}}}}
{{{mbox|}}}
{{#if: {{{desc|}}} | {{{msg-languagedependant|}}}
{{#if: {{{desc|}}} | {{{msg-languagedependant|}}}
<div style="border: 1px solid #cccccc; padding: 0.2em;">
<div class="templatebox-desc">
{{{desc}}}
{{{desc}}}
</div> | {{{msg-nodesc|}}} }}{{#if: {{{setscats|}}} |<nowiki/>
</div> | {{{msg-nodesc|}}} }}{{#if: {{{setscats|}}} |<nowiki/>
Line 11: Line 19:
{{{setscats|}}}
{{{setscats|}}}
}}
}}
== {{{msg-usage|}}} ==
== {{{msg-usage|<noinclude>msg-usage</noinclude>}}} ==
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|-1}}|doc||{{#if:{{{mustbesubst|}}}|{{Must be substituted|page={{{name|}}}}}}}}}


<tt>
<div class="templatebox-usagesample">
<nowiki>{{</nowiki>{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{#switch:{{{lines|}}}|multi={{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}} | <br/> }}|one=}}{{#if: {{#switch: {{{1stat|}}} |optional-=|#default={{{1|}}} }} | {{!}}{{{1|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{2stat|}}} |optional-=|#default={{{2|}}} }} | {{!}}{{{2|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{3stat|}}} |optional-=|#default={{{3|}}} }} | {{!}}{{{3|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{4stat|}}} |optional-=|#default={{{4|}}} }} | {{!}}{{{4|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{5stat|}}} |optional-=|#default={{{5|}}} }} | {{!}}{{{5|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{6stat|}}} |optional-=|#default={{{6|}}} }} | {{!}}{{{6|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{7stat|}}} |optional-=|#default={{{7|}}} }} | {{!}}{{{7|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{8stat|}}} |optional-=|#default={{{8|}}} }} | {{!}}{{{8|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{9stat|}}} |optional-=|#default={{{9|}}} }} | {{!}}{{{9|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{10stat|}}} |optional-=|#default={{{10|}}} }} | {{!}}{{{10|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{11stat|}}} |optional-=|#default={{{11|}}} }} | {{!}}{{{11|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{12stat|}}} |optional-=|#default={{{12|}}} }} | {{!}}{{{12|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{13stat|}}} |optional-=|#default={{{13|}}} }} | {{!}}{{{13|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{14stat|}}} |optional-=|#default={{{14|}}} }} | {{!}}{{{14|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{15stat|}}} |optional-=|#default={{{15|}}} }} | {{!}}{{{15|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{16stat|}}} |optional-=|#default={{{16|}}} }} | {{!}}{{{16|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{17stat|}}} |optional-=|#default={{{17|}}} }} | {{!}}{{{17|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{18stat|}}} |optional-=|#default={{{18|}}} }} | {{!}}{{{18|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{19stat|}}} |optional-=|#default={{{19|}}} }} | {{!}}{{{19|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}{{#if: {{#switch: {{{20stat|}}} |optional-=|#default={{{20|}}} }} | {{!}}{{{20|}}}={{#switch:{{{lines|}}}|multi=<br/>|one=}} }}<nowiki>}}</nowiki>
{{{usageSample|}}}
</tt>{{#if: {{{shorthand|}}} |<nowiki/>
</div>{{#if: {{{shorthand|}}} |<nowiki/>


{{{msg-shorthand|}}}<tt><nowiki>{{</nowiki>{{{shorthand}}}{{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}} | {{!}}... }}<nowiki>}}</nowiki></tt>
{{{msg-shorthand|}}}<div style="font-family: monospace, monospace;">{{#ifexist: Template:{{{shorthand|}}} | <nowiki>{{</nowiki>{{{shorthand}}}{{#ifeq:{{{argCount|}}}|0|<!-- nothing -->| {{!}}{{{msg-shorthand-params-possible|… parameters as described …}}}}}<nowiki>}}</nowiki> | {{{shorthand|}}}}}</div>
}}{{#if: {{{usage-notes|}}} |<nowiki/>
}}{{#if: {{{usage-notes|}}} |<nowiki/>


{{{msg-languagedependant|}}}
{{{msg-languagedependant|}}}
<div style="border: 1px solid #cccccc; padding: 0.2em;">
<div class="templatebox-languagedependant">
{{{usage-notes}}}
{{{usage-notes}}}
</div>
</div>
}}{{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}} |<nowiki/>
}}{{#ifexpr:
=== {{{msg-parameters|}}} ===
    {{#ifeq:{{{useTemplateData|}}}|TNT|1|0}}
 
    or{{#ifeq:{{str left|{{{useTemplateData|}}}|4}}|TNT:|1|0}}
{{{!}} class="prettytable templatebox-table"
|<nowiki/>
! style="width: 20%;" {{!}} {{{msg-table-paramname|}}} {{!}}{{!}} style="width: 60%;" {{!}} {{{msg-table-desc|}}}{{{msg-languagedependant|}}} {{!}}{{!}} style="width: 10%;" {{!}} {{{msg-table-defval|}}} {{!}}{{!}} style="width: 10%;" {{!}} {{{msg-table-reqopt|}}}
<h3>{{int:templatedata-doc-params}}</h3>
{{#if: {{{1|}}} |<nowiki/>
{{{templateDataInfo}}}
{{!}}-
<!-- TemplateData is handled by [[Module:TNT]] -->
{{!}} '''{{#ifeq: {{{1|}}} | 1 | ''{{{msg-parameter-no|}}}1'' (1) | {{{1|}}} }}''' {{!}}{{!}} {{{1d|}}} {{!}}{{!}} {{#if: {{{1def|}}} | {{{1def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{1stat|}}}
{{#invoke:TNT|doc
|optional={{{msg-param-optional|}}}
|1={{#ifeq:{{{useTemplateData}}}|TNT
|optional-={{{msg-param-optional-|}}}
| {{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}
|required={{{msg-param-required|}}}
| {{str right|{{{useTemplateData}}}|4}}
|deprecated={{{msg-param-deprecated|}}}
}}
|{{{msg-param-optional|}}}
}}
}} }}{{#if: {{{2|}}} |<nowiki/>
<nowiki/>|<!-- else -->
{{!}}-
{{#if: {{{paramTable|}}} |<nowiki/>
{{!}} '''{{#ifeq: {{{2|}}} | 2 | ''{{{msg-parameter-no|}}}2'' (2) | {{{2|}}} }}''' {{!}}{{!}} {{{2d|}}} {{!}}{{!}} {{#if: {{{2def|}}} | {{{2def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{2stat|}}}
=== {{int:templatedata-doc-params}} ===
|optional={{{msg-param-optional|}}}
{{#ifeq:{{{useTemplateData|}}}|only||{{{paramTable}}}}}
|optional-={{{msg-param-optional-|}}}
|<nowiki/>
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{3|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{3|}}} | 3 | ''{{{msg-parameter-no|}}}3'' (3) | {{{3|}}} }}''' {{!}}{{!}} {{{3d|}}} {{!}}{{!}} {{#if: {{{3def|}}} | {{{3def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{3stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{4|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{4|}}} | 4 | ''{{{msg-parameter-no|}}}4'' (4) | {{{4|}}} }}''' {{!}}{{!}} {{{4d|}}} {{!}}{{!}} {{#if: {{{4def|}}} | {{{4def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{4stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{5|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{5|}}} | 5 | ''{{{msg-parameter-no|}}}5'' (5) | {{{5|}}} }}''' {{!}}{{!}} {{{5d|}}} {{!}}{{!}} {{#if: {{{5def|}}} | {{{5def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{5stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{6|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{6|}}} | 6 | ''{{{msg-parameter-no|}}}6'' (6) | {{{6|}}} }}''' {{!}}{{!}} {{{6d|}}} {{!}}{{!}} {{#if: {{{6def|}}} | {{{6def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{6stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{7|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{7|}}} | 7 | ''{{{msg-parameter-no|}}}7'' (7) | {{{7|}}} }}''' {{!}}{{!}} {{{7d|}}} {{!}}{{!}} {{#if: {{{7def|}}} | {{{7def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{7stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{8|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{8|}}} | 8 | ''{{{msg-parameter-no|}}}8'' (8) | {{{8|}}} }}''' {{!}}{{!}} {{{8d|}}} {{!}}{{!}} {{#if: {{{8def|}}} | {{{8def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{8stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{9|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{9|}}} | 9 | ''{{{msg-parameter-no|}}}9'' (9) | {{{9|}}} }}''' {{!}}{{!}} {{{9d|}}} {{!}}{{!}} {{#if: {{{9def|}}} | {{{9def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{9stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{10|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{10|}}} | 10 | ''{{{msg-parameter-no|}}}10'' (10) | {{{10|}}} }}''' {{!}}{{!}} {{{10d|}}} {{!}}{{!}} {{#if: {{{10def|}}} | {{{10def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{10stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{11|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{11|}}} | 11 | ''{{{msg-parameter-no|}}}11'' (11) | {{{11|}}} }}''' {{!}}{{!}} {{{11d|}}} {{!}}{{!}} {{#if: {{{11def|}}} | {{{11def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{11stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{12|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{12|}}} | 12 | ''{{{msg-parameter-no|}}}12'' (12) | {{{12|}}} }}''' {{!}}{{!}} {{{12d|}}} {{!}}{{!}} {{#if: {{{12def|}}} | {{{12def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{12stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{13|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{13|}}} | 13 | ''{{{msg-parameter-no|}}}13'' (13) | {{{13|}}} }}''' {{!}}{{!}} {{{13d|}}} {{!}}{{!}} {{#if: {{{13def|}}} | {{{13def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{13stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{14|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{14|}}} | 14 | ''{{{msg-parameter-no|}}}14'' (14) | {{{14|}}} }}''' {{!}}{{!}} {{{14d|}}} {{!}}{{!}} {{#if: {{{14def|}}} | {{{14def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{14stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{15|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{15|}}} | 15 | ''{{{msg-parameter-no|}}}15'' (15) | {{{15|}}} }}''' {{!}}{{!}} {{{15d|}}} {{!}}{{!}} {{#if: {{{15def|}}} | {{{15def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{15stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{16|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{16|}}} | 16 | ''{{{msg-parameter-no|}}}16'' (16) | {{{16|}}} }}''' {{!}}{{!}} {{{16d|}}} {{!}}{{!}} {{#if: {{{16def|}}} | {{{16def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{16stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{17|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{17|}}} | 17 | ''{{{msg-parameter-no|}}}17'' (17) | {{{17|}}} }}''' {{!}}{{!}} {{{17d|}}} {{!}}{{!}} {{#if: {{{17def|}}} | {{{17def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{17stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{18|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{18|}}} | 18 | ''{{{msg-parameter-no|}}}18'' (18) | {{{18|}}} }}''' {{!}}{{!}} {{{18d|}}} {{!}}{{!}} {{#if: {{{18def|}}} | {{{18def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{18stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{19|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{19|}}} | 19 | ''{{{msg-parameter-no|}}}19'' (19) | {{{19|}}} }}''' {{!}}{{!}} {{{19d|}}} {{!}}{{!}} {{#if: {{{19def|}}} | {{{19def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{19stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}{{#if: {{{20|}}} |<nowiki/>
{{!}}-
{{!}} '''{{#ifeq: {{{20|}}} | 20 | ''{{{msg-parameter-no|}}}20'' (20) | {{{20|}}} }}''' {{!}}{{!}} {{{20d|}}} {{!}}{{!}} {{#if: {{{20def|}}} | {{{20def}}} | ''{{{msg-param-empty|}}}'' }} {{!}}{{!}} {{#switch: {{{20stat|}}}
|optional={{{msg-param-optional|}}}
|optional-={{{msg-param-optional-|}}}
|required={{{msg-param-required|}}}
|deprecated={{{msg-param-deprecated|}}}
|{{{msg-param-optional|}}}
}} }}
{{!}}}|<nowiki/>


{{{msg-param-none|}}} }}
{{{msg-param-none|}}} }}
=== {{{msg-moreinfo|}}} ===
{{#if:{{{useTemplateData|}}}
  |{{#ifeq:{{{useTemplateData|}}}|only||{{Collapse top|[[:mw:Special:MyLanguage/Extension:TemplateData|{{{msg-templatedata|Template data}}}]]}}}}
{{{templateDataInfo}}}
{{#tag: templatedata
| {{{templateData|}}}
}}
{{#ifeq:{{{useTemplateData|}}}|only||
<!--else-->
{{#ifeq:{{{useTemplateData|}}}|debug|
{{Collapse top|{{{msg-templatedata-raw|Raw template data}}}}}
{{#tag:syntaxhighlight
| {{{JSONFM}}}
| lang="json"
}}
{{Collapse bottom}}
}}
{{Collapse bottom}}}}
}}}}
=== {{{msg-moreinfo|<noinclude>msg-moreinfo</noinclude>}}} ===
{{{msg-intendednamespaces|}}}
{{{msg-intendednamespaces|}}}
*{{#switch: {{{namespace|}}}
{{#switch: {{{namespace|}}}
|={{{msg-intendednamespaces-default|}}}
|={{{msg-intendednamespaces-default|}}}
|all={{{msg-intendednamespaces-all|}}}
|all={{{msg-intendednamespaces-all|}}}
Line 219: Line 97:
|17|Creator talk|creator talk={{{msg-intendednamespaces-17|}}}
|17|Creator talk|creator talk={{{msg-intendednamespaces-17|}}}
|18|Special|special={{{msg-intendednamespaces-18|}}}
|18|Special|special={{{msg-intendednamespaces-18|}}}
|486|Data|data={{{msg-intendednamespaces-486|<span lang="en" dir="ltr" class="mw-content-ltr">the Data namespace</span>}}}
|487|Data talk|data talk={{{msg-intendednamespaces-487|<span lang="en" dir="ltr" class="mw-content-ltr">the Data talk namespace</span>}}}
|#default={{{msg-intendednamespaces-unknown|}}}
|#default={{{msg-intendednamespaces-unknown|}}}
}}
}}


{{{msg-intendedusergroups|}}}
{{{msg-intendedusergroups|}}}<!-- usergroup is always lower case transformation on [[Template:TemplateBox]] -->
*{{#switch: {{{usergroup|}}}
{{#switch: {{{usergroup|}}}
|all={{{msg-intendedusergroups-all|}}}
|all={{{msg-intendedusergroups-all|}}}
|bot={{{msg-intendedusergroups-bot|}}}
|bot=[[Special:MyLanguage/{{mediawiki:Grouppage-bot}}|{{int:Group-bot}}]]
|bureaucrat|crat={{{msg-intendedusergroups-bureaucrat|}}}
|administrator|admin|sysop=[[Special:MyLanguage/{{mediawiki:Grouppage-sysop}}|{{int:Group-sysop}}]]
|admin|sysop={{{msg-intendedusergroups-admin|}}}
|bureaucrat|crat=[[Special:MyLanguage/{{mediawiki:Grouppage-bureaucrat}}|{{int:Group-bureaucrat}}]]
|checkuser=[[Special:MyLanguage/{{mediawiki:Grouppage-checkuser}}|{{int:Group-checkuser}}]]
|licensereviewer|imagereviewer|image-reviewer|license-reviewer=[[Special:MyLanguage/{{mediawiki:Grouppage-Image-reviewer}}|{{int:Group-Image-reviewer}}]]
|vrt|vrt-agent|otrs|otrs-agent|otrs-member=[[Special:MyLanguage/{{mediawiki:Grouppage-vrt-permissions}}|{{int:group-vrt-permissions}}]]
|autoconfirmed=[[Special:MyLanguage/{{mediawiki:Grouppage-autoconfirmed}}|{{int:Group-autoconfirmed}}]]
|autopatrolled=[[Special:MyLanguage/{{mediawiki:Grouppage-autopatrolled}}|{{int:Group-autopatrolled}}]]
|filemover=[[Special:MyLanguage/{{mediawiki:Grouppage-filemover}}|{{int:Group-filemover}}]]
|oversight=[[Special:MyLanguage/{{mediawiki:Grouppage-oversight}}|{{int:Group-oversight}}]]
|patroller=[[Special:MyLanguage/{{mediawiki:Grouppage-patroller}}|{{int:Group-patroller}}]]
|rollbacker=[[Special:MyLanguage/{{mediawiki:Grouppage-rollbacker}}|{{int:Group-rollbacker}}]]
|steward=[[m:Special:MyLanguage/Stewards|{{int:Group-steward}}]]
|templateeditor|template editor=[[Special:MyLanguage/{{mediawiki:Grouppage-templateeditor}}|{{int:Group-templateeditor}}]]
|upwizcampeditors=[[Special:MyLanguage/{{mediawiki:Grouppage-upwizcampeditors}}|{{int:Group-upwizcampeditors}}]]
|translationadmin|translateadmin=[[Special:MyLanguage/{{mediawiki:Grouppage-translationadmin}}|{{int:Group-translationadmin}}]]
|#default={{{msg-intendedusergroups-unspecified|}}}
|#default={{{msg-intendedusergroups-unspecified|}}}
}}{{#if: {{{placement|}}} |<nowiki/>
{{{msg-placement|}}}
{{#switch: {{{placement|}}}
|top={{{msg-placement-top|}}}
|bottom={{{msg-placement-bottom|}}}
|license|licence={{{msg-placement-licence|}}}
|source={{{msg-placement-source|}}}
|#default={{{msg-languagedependant|}}}
<div class="templatebox-languagedependant">
{{{placement}}}
</div>
}}
}}
{{#if: {{{example|}}} |
}}{{#if: {{{relieson|}}} |<nowiki/>
<nowiki>{{</nowiki>{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{!}}{{#ifeq: {{{example|}}} | x | | {{{example}}}}}<nowiki>}}</nowiki>:
 
{{{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{!}}{{#ifeq: {{{example|}}} | x |  | {{{example}}} }}}}
{{{msg-relieson|}}}<br />
}}{{#if: {{{seealso|}}} |
{{{relieson|}}}
}}{{suppress categories|{{#if:<!--
-->{{{example |}}}{{{example-source |}}}{{{example-value |}}}<!--
-->{{{example2|}}}{{{example2-source|}}}{{{example2-value|}}}<!--
-->{{{example3|}}}{{{example3-source|}}}{{{example3-value|}}}<!--
-->|<nowiki/>
== {{{msg-examples}}} ==
<nowiki/>}}{{#if: {{{example-source|{{{example|}}}}}} |<nowiki/>
 
{{{example-source|<nowiki>{{</nowiki>{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{!}}{{{example}}}<nowiki>}}</nowiki>}}}
 
{{{msg-example-renders-as}}}
<div class="templatebox-example">
{{#if:{{{example-source|}}}{{{example-value|}}}|{{{example-value}}}|{{ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|{{{example|}}}|category=}}}}
</div>
}}{{#if: {{{example2-source|{{{example2|}}}}}} |<nowiki/>
{{#if: {{{example-source|{{{example|}}}}}}
|<hr style="margin:1em 0"/>}}
 
{{{example2-source|<nowiki>{{</nowiki>{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{!}}{{{example2}}}<nowiki>}}</nowiki>}}}
 
{{{msg-example-renders-as}}}
<div class="templatebox-example">
{{#if:{{{example2-source|}}}{{{example2-value|}}}|{{{example2-value}}}|{{ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|{{{example2|}}}|category=}}}}
</div>
}}{{#if: {{{example3-source|{{{example3|}}}}}} |<nowiki/>
{{#if: {{{example-source|{{{example|}}}}}}{{{example2-source|{{{example2|}}}}}}
|<hr style="margin:1em 0"/>}}
 
  {{{example3-source|<nowiki>{{</nowiki>{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}{{!}}{{{example3}}}<nowiki>}}</nowiki>}}}
 
{{{msg-example-renders-as}}}
<div class="templatebox-example">
{{#if:{{{example3-source|{{{example3-value|}}}}}}|{{{example3-value}}}|{{ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|{{{example3|}}}|category=}}}}
</div>
}}}}{{#if: {{{seealso|}}} |<nowiki/>
== {{{msg-seealso|}}} ==
== {{{msg-seealso|}}} ==
{{{msg-languagedependant|}}}
{{{msg-languagedependant|}}}
<div style="border: 1px solid #cccccc; padding: 0.2em;">
<div class="templatebox-languagedependant">
{{{seealso}}}
{{{seealso}}}
</div>
</div>
}}{{#switch: {{{i18n-method|}}}
}}{{#switch: {{lc:{{{i18n-method|}}}}}
|-=<nowiki/>
|-=<nowiki/>
== {{{msg-localization|}}} ==
== {{{msg-localization|}}} ==
Line 248: Line 187:
== {{{msg-localization|}}} ==
== {{{msg-localization|}}} ==


{{lang links}}
{{lang links|Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}|suppressaddlink=true}}


{{{msg-localization-instruct-autotranslate|}}}
{{{msg-localization-instruct-autotranslate}}}
{{#ifexist:Template:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}/layout|
{{tmpl|0=
{{{msg-localization-template-layout}}}
|1=[[Template:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}/layout]]
}}
}}


<inputbox>
{{{msg-localization-instruct-autotranslate-new}}}
 
{{#tag:inputbox|
type=create
type=create
preload=Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}/en
preload=Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}/en
default=Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}/{{#ifexist: Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}/{{int:Lang}} | LANGCODE | {{int:Lang}} }}
default=Template:{{#if: {{{name|}}} | {{{name|}}} | {{PAGENAME}} }}/{{#ifexist: Template:{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}/{{int:Lang}} | LANGCODE | {{int:Lang}} }}
</inputbox>
}}
 
|ext.translate=<nowiki/>
== {{{msg-localization|}}} ==
 
{{lang links|suppressaddlink=true|1={{{i18n-subpage}}}}}
 
{{{msg-localization-ext-translate}}}
{{#ifexist:Template:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}/layout|
{{tmpl|0=
{{{msg-localization-template-layout}}}
|1=[[Template:{{#if:{{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}/layout]]
}}
}}
 
<div style="text-align:center">{{Clickable button|target={{TranslateLink|{{{i18n-subpage}}}}}|text=[[File:Icono de traducción.svg|48px|link=]]'''{{{msg-localization-instruct-ext-translate}}}'''|class=ui-button-blue ui-button-large|external=true}}</div>
 
<div style="text-align:center">{{Clickable button|target={{fullurl:{{{i18n-subpage}}}|action=edit}}|text='''{{{msg-localization-instruct-ext-translate-admin}}}'''|class=ui-button-red ui-button-large|iconPrimary=ui-icon-wrench|external=true}}</div>
 
|switch=<nowiki/>
|switch=<nowiki/>
== {{{msg-localization|}}} ==
== {{{msg-localization|}}} ==


{{{msg-localization-instruct-switch|}}}
{{{msg-localization-instruct-switch|}}}
|mediawiki-msg=<nowiki/>
== {{{msg-localization|}}} ==
{{{msg-localization-instruct-mediawiki-msg|}}}
|custommediawiki-msg=<nowiki/>
== {{{msg-localization|}}} ==
{{{msg-localization-instruct-custommediawiki-msg|}}}
|tnt=<nowiki/>
<h2>{{{msg-localization}}}</h2>
{{{msg-localization-tnt}}}
{{tmpl|0=
{{{msg-localization-instruct-tnt}}}
|1=[[Data:{{#if:{{{i18n-data-file|}}}<!--
-->|{{#invoke:TNTTools|TNTTabFull|{{{i18n-data-file}}}}}<!--
-->|I18n/{{#if:{{{name|}}}|{{{name}}}|{{ROOTPAGENAME}}}}.tab<!--
-->}}]]
}}
|wikidata=<nowiki/>
== {{{msg-localization|}}} ==
{{{msg-localization-instruct-wikidata|}}}
|#default=
|#default=
{{#if: {{{i18n-desc|}}} |<nowiki/>
== {{{msg-localization|}}} ==
}}
}}{{#if: {{{i18n-desc|}}} |<nowiki/>
}}{{#if: {{{i18n-desc|}}} |<nowiki/>


{{{msg-languagedependant|}}}
{{{msg-languagedependant|}}}
<div style="border: 1px solid #cccccc; padding: 0.2em;">
<div class="templatebox-languagedependant">
{{{i18n-desc}}}
{{{i18n-desc}}}
</div>
</div>
}}
}}}}<noinclude>[[Category:Layout templates]]</noinclude>

Latest revision as of 06:06, 9 August 2026

msg-usage

=== msg-moreinfo ===

Cookies help us deliver our services. By using our services, you agree to our use of cookies.