view] [edit] [history] [purge]
[TemplateData for TemplateData
Creates a standard section header for TemplateData, and links for editing/viewing/history/purge for existing TemplateData subpage, and creation with preload for non-existent subpage.
Parameter | Description | Type | Status | |
---|---|---|---|---|
TemplateData content | 1 | Bare TemplateData content and/or transclusions of TemplateData from other pages | Content | optional |
Manage TemplateData page | 2 | Page containing template-specific TemplateData | Page name | optional |
Use of this template's functionality may inhibit maintenance of TemplateData until Phabricator ticket T314970 has been resolved and the Manage TemplateData widget functions correctly. |
{{TemplateData|TemplateData content}}
This template is intended for inclusion in template documentation, either within /doc or the <noinclude>...</noinclude>
tags of a template. It displays any content, intended to be TemplateData or transclusions of TemplateData from other locations, along with standard headers. If parameter 1 is not specified, this template detects whether the subpage /TemplateData exists for the current template, and provides a standardized header based on its existence:
{{TemplateData}}
view] [edit] [history] [purge]
[TemplateData for TemplateData
Creates a standard section header for TemplateData, and links for editing/viewing/history/purge for existing TemplateData subpage, and creation with preload for non-existent subpage.
Parameter | Description | Type | Status | |
---|---|---|---|---|
TemplateData content | 1 | Bare TemplateData content and/or transclusions of TemplateData from other pages | Content | optional |
Manage TemplateData page | 2 | Page containing template-specific TemplateData | Page name | optional |
{{TemplateData}}
Simple TemplateData not needing a subpage | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{TemplateData|
<templatedata>{
"description": "simple template description",
"format": "inline",
"params": { }
}</templatedata>
}}
|
view] [edit] [history] [purge]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TemplateData in articles based on its TemplateData.
TemplateData for TemplateData simple template description
| [||||||||||||
Complex TemplateData transcluded from elsewhere | |||||||||||||
{{TemplateData|
{{TemplateData/other_TD_page|{{PAGENAME}}}}
|template:TemplateData/other_TD_page
}}
|
view] [edit] [history] [purge]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:TemplateData in articles based on its TemplateData.
TemplateData for TemplateData TemplateData for use only with template:TemplateData
| [