Template:Convert to template/doc: Difference between revisions
From Body Communication
en>John of Reading m (ββtop: Typo fixing, replaced: accessability β accessibility) |
(No difference)
|
Revision as of 09:44, 31 March 2021
This is a documentation subpage for Template:Convert to template. It contains usage information, categories and other content that is not part of the original template page. |
This template tags articles or sections that use raw wikicode in place of a template designed to do the same thing. Often, templates provide category checks, accessibility tracking and standardization between articles, and may be more beneficial to an article than using raw wikicode.
Usage
This template can refer to a section (or another article part), instead of the default article:
{{Convert to template|section}}
{{Convert to template|1=paragraph}}
{{Convert to template|1=paragraph|template=Episode list}}
This template can be dated:
{{Convert to template|date=November 2024}}
{{Convert to template|section|date=November 2024}}
{{Convert to template|section|template=Episode list|date=November 2024}}
If the date is left off a bot will add it.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Convert to template
<templatedata> {
"params": { "1": { "label": "Scope (e.g. section)", "description": "This parameter allows an editor to replace the default word \"article\" with another word, usually \"section\" or \"paragraph\"", "type": "content" }, "template": { "label": "Template name", "description": "Set to the name of a template that the raw wikicode can be converted to.", "example": "yes", "type": "content", "autovalue": "" }, "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true } }, "description": "For tagging articles that use raw wikicode instead of a relevant template.", "format": "inline"
} </templatedata>