Difference between revisions of "Template:Convert template"

From blackwiki
Jump to navigation Jump to search
imported>Liam987
(changed ''discussion" to "talk")
imported>TheDragonFire
(Ensure category does not display on /doc and /sandbox pages.)
Line 1: Line 1:
 
{{ombox
 
{{ombox
 
| type  = move
 
| type  = move
| text  =  This template should be converted to a standardized format using [[Template:{{{template|{{{1}}}}}}]]. <small>([[{{{discuss|{{{2|template talk:{{{template|{{{1}}}}}}}}}}}}|Talk]] • [[:{{#ifexist:Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized}}|Category]])</small>}}<noinclude>
+
| text  =  This template should be converted to a standardized format using [[Template:{{{template|{{{1}}}}}}]]. <small>([[{{{discuss|{{{2|template talk:{{{template|{{{1}}}}}}}}}}}}|Talk]] • [[:{{#ifexist:Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized}}|Category]])</small>}}<includeonly>{{sandbox other||{{#ifeq:{{NAMESPACE}}|Template|[[{{#ifexist:Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized/{{{template|{{{1}}}}}}|Category:Templates to be standardized}}|{{PAGENAME}}]]}}}}</includeonly><noinclude>
{{documentation}}
+
{{Documentation}}
</noinclude><includeonly>{{#ifeq:{{NAMESPACE}}|Template|[[{{#ifexist:Category:Templates to be standardized/{{{template|{{{1}}}}}}
+
</noinclude>
|Category:Templates to be standardized/{{{template|{{{1}}}}}}
 
|Category:Templates to be standardized}}|{{PAGENAME}}]]}}</includeonly>
 

Revision as of 08:51, 24 December 2017

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

Usage

Used to mark a template for conversion into a standardized template format. place inside 'noinclude' tags on the template page to prevent the message from being transcluded into article space:

  • {{convert template|target_template}}

Parameters

  • template = the standardized template that the template should be converted to
  • discuss = a link to the discussion page for the conversion (defaults to the talk page of the standardized template).

This template adds any templates it is transcluded into to Category:Templates to be standardized by default, or to a Category:Templates to be standardized/{{{template}}} subpage if that category page has been created. Please create these category subpages as needed, and make sure that the subpages contain [[Category:Templates to be standardized]] to keep the category hierarchy intact.