Difference between revisions of "Template:Format TemplateData"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(Brief translation.)
imported>GKFX
(Replace a bunch of code with the {{TemplateDataHeader}}.)
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;">
+
{{#ifeq:{{{header}}}|no||{{TemplateDataHeader}}}}
<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/doc |docpageDetect=/doc$ |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>Usage information appears here.</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>
+
<noinclude>
 
 
 
{{Documentation}}
 
{{Documentation}}
 +
</noinclude>

Revision as of 10:37, 20 January 2018

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Format TemplateData

Usage information appears here.

Template documentation[view] [edit] [history] [purge]

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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Format TemplateData

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