Difference between revisions of "Template:Format TemplateData"
Jump to navigation
Jump to search
Format TemplateData
imported>Xaosflux m (Xaosflux moved page Template:TemplateData to Template:FormatTemplateData: WP:RFPI request) |
imported>GKFX (Brief translation.) |
||
| Line 2: | Line 2: | ||
<div class="hintergrundfarbe2" style="left:2em; line-height:1; padding:0 .5em; position:absolute; top:-.6em;"><small>[[Hilfe:TemplateData|TemplateData]]</small></div> | <div class="hintergrundfarbe2" style="left:2em; line-height:1; padding:0 .5em; position:absolute; top:-.6em;"><small>[[Hilfe:TemplateData|TemplateData]]</small></div> | ||
<includeonly>{{#invoke:TemplateData| f |classNoNumTOC=nonumtoc |cssParWrap=margin-left:-1em; margin-right:-1em; |cssParams=border:#B3B7FF 1px solid; margin-left:auto; margin-right:auto; |docpageCreate=%s/Doku |docpageDetect=/Doku$ |msgDescMiss=Beschreibung fehlt |cat=Wikipedia:Vorlagenfehler/Vorlage:TemplateData}}</includeonly> | <includeonly>{{#invoke:TemplateData| f |classNoNumTOC=nonumtoc |cssParWrap=margin-left:-1em; margin-right:-1em; |cssParams=border:#B3B7FF 1px solid; margin-left:auto; margin-right:auto; |docpageCreate=%s/Doku |docpageDetect=/Doku$ |msgDescMiss=Beschreibung fehlt |cat=Wikipedia:Vorlagenfehler/Vorlage:TemplateData}}</includeonly> | ||
| − | <noinclude> | + | <noinclude>Usage information appears here.</noinclude> |
</div><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|10|{{#ifeq:{{#titleparts:{{PAGENAME}}|1|-1}}|Doku||[[Kategorie:Vorlage:mit TemplateData|{{#if:{{{sort|}}}|{{{sort}}}|{{PAGENAME}}}}]]}}}}</includeonly></onlyinclude> | </div><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|10|{{#ifeq:{{#titleparts:{{PAGENAME}}|1|-1}}|Doku||[[Kategorie:Vorlage:mit TemplateData|{{#if:{{{sort|}}}|{{{sort}}}|{{PAGENAME}}}}]]}}}}</includeonly></onlyinclude> | ||
| − | {{ | + | {{Documentation}} |
Revision as of 10:26, 20 January 2018
Usage information appears here.
| 30px | This template uses Lua: |
Everything below this line is a demo of Format TemplateData: read the source code, and expand the raw TemplateData section, to see how it all works.
Usage
Script error: No such module "TemplateData".
Using the template
Add the <templatedata> as usual, and then enclose it in a template call like {{Format TemplateData|1=<templatedata>...</templatedata>}}.
Maintenance categories
- Category:Templates with TemplateData errors (0) – the template adds this category to template documentation pages with malformed TemplateData code.
| The above documentation is transcluded from Template:Format TemplateData/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |