Template:Template: Difference between revisions

From KDE TechBase
(Wanted page: Template to add to templates.)
 
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
<noinclude>
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.


<!-- This section is using the wrong variables, please fix.
The content that it inserts is:
You can include this page in another by using the wiki markup <nowiki>{{</nowiki>{{{Page_Name}}}<nowiki>}}</nowiki> and it will be automatically updated as this page changes.  If you wish to include a snapshot (taken as you save your changes) of this page in another page use the wiki markup <nowiki>{{subst:</nowiki>{{{Page_Name}}}<nowiki>}}</nowiki>.
----
-->
</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.
 
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>
----
[End of content that it inserts]
</noinclude>
<includeonly>[[Category:Template]]</includeonly>

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]