Difference between revisions of "Template:Template"

Jump to: navigation, search
m (suggest only using this on templates lacking better documentation)
 
Line 4: Line 4:
 
The content that it inserts is:
 
The content that it inserts is:
 
----
 
----
</noinclude>
+
</noinclude>{{#ifeq:{{NAMESPACE}}|Template||'''Note: this page should be moved to the Template namespace'''
This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it.  If this page is not already in the "Template" namespace, it should probably be migrated to that location.
 
  
You can include this content in another page by using the wiki markup <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> (or <nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>}}</nowiki>, if this page is not in the "Template" namespace). For more details on how to use templates see [http://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates "A Quick Guide to Templates"].
+
}}This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it.
 +
 
 +
You can include this content in another page by using the wiki markup {{#ifeq:{{NAMESPACE}}|Template|<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>|<nowiki>{{</nowiki>{{FULLPAGENAME}}<nowiki>}}</nowiki>}}. For more details on how to use templates see [http://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates "A Quick Guide to Templates"].
 
<noinclude>
 
<noinclude>
 
----
 
----

Latest revision as of 16:32, 10 March 2016

This template inserts generic information about a template, and adds the page to Category:Template. Use it on template pages that don't have better documentation.

The content that it inserts is:


This page is a template, editing it will affect all the pages that make use of it, so users should be especially careful when editing it.

You can include this content in another page by using the wiki markup {{Template}}. For more details on how to use templates see "A Quick Guide to Templates".


[End of content that it inserts]



This page was last edited on 10 March 2016, at 16:32. Content is available under Creative Commons License SA 4.0 unless otherwise noted.