Difference between revisions of "Template:Format TemplateData"
Jump to navigation
Jump to search
Format TemplateData
(AZ: Der Seiteninhalt wurde durch einen anderen Text ersetzt.) |
de>Anne Winsch m (Änderungen von 170.37.204.8 (Diskussion) auf die letzte Version von PerfektesChaos zurückgesetzt) |
||
| Line 1: | Line 1: | ||
| − | + | <onlyinclude><div class="Vorlage_TemplateData" {{#ifeq:{{NAMESPACENUMBER}}|10|id="TemplateData"}} style="border:2px solid #B3B7FF; margin:1em 0; padding:.5em 1em 0; position:relative;"> | |
| + | <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 |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>(Generierte Dokumentation)</noinclude> | ||
| + | </div><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|10|{{#ifeq:{{#titleparts:{{PAGENAME}}|1|-1}}|Doku||[[Kategorie:Vorlage:mit TemplateData|{{#if:{{{sort|}}}|{{{sort}}}|{{PAGENAME}}}}]]}}}}</includeonly></onlyinclude> | ||
| + | |||
| + | {{Dokumentation}} | ||
Revision as of 15:14, 15 June 2017
(Generierte Dokumentation)
| 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. |