Difference between revisions of "Template:Format TemplateData"
Jump to navigation
Jump to search
imported>GKFX (Brief translation.) |
imported>GKFX (Replace a bunch of code with the {{TemplateDataHeader}}.) |
||
| Line 1: | Line 1: | ||
| − | + | {{#ifeq:{{{header}}}|no||{{TemplateDataHeader}}}} | |
| − | + | <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/ | ||
<noinclude>Usage information appears here.</noinclude> | <noinclude>Usage information appears here.</noinclude> | ||
| − | < | + | <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.
| 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
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
- 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. |