Template:Convert to template/doc

From blackwiki
Jump to navigation Jump to search

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, accessability 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=February 2023}}
{{Convert to template|section|date=February 2023}}
{{Convert to template|section|template=Episode list|date=February 2023}}

If the date is left off a bot will add it.

TemplateData

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 Convert to template

For tagging articles that use raw wikicode instead of a relevant template.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Scope (e.g. section)1

This parameter allows an editor to replace the default word "article" with another word, usually "section" or "paragraph"

Contentoptional
Template nametemplate

Set to the name of a template that the raw wikicode can be converted to.

Example
yes
Auto value
Contentoptional
Month and yeardate

Month and year of tagging; e.g., 'January 2013', but not 'jan13'

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested