Difference between revisions of "Template:Template"

From ArchWiki
Jump to: navigation, search
(use an external link not to pollute Special:WantedPages, see also Help talk:Style#Wanted pages)
(there's no need to categorize templates)
Line 17: Line 17:
 
====Example====
 
====Example====
  
{{Template}}</noinclude><includeonly>[[Category:Template]] <div class="toc" style="margin-bottom: 1em;">This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read [[Help:Template]].
+
{{Template}}</noinclude><includeonly><div class="toc" style="margin-bottom: 1em;">This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read [[Help:Template]].
  
 
Please do not experiment with this template; you could ruin [[Special:Whatlinkshere/Template:{{PAGENAME}}|all pages using this template]]. If you want to edit this template, copy the text to [[Template:Sandbox]], edit and test it there, and copy it back when it works.
 
Please do not experiment with this template; you could ruin [[Special:Whatlinkshere/Template:{{PAGENAME}}|all pages using this template]]. If you want to edit this template, copy the text to [[Template:Sandbox]], edit and test it there, and copy it back when it works.
  
 
Feel free to voice [{{fullurl:{{TALKPAGENAME}}}} your opinion] regarding this template.</div></includeonly>
 
Feel free to voice [{{fullurl:{{TALKPAGENAME}}}} your opinion] regarding this template.</div></includeonly>

Revision as of 08:49, 17 November 2013

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A special template for use in all template pages.

Usage

This template should be added at the very beginning of all template pages between 'noinclude' tags:

<noinclude>{{Template}}</noinclude>

A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).

The template wikitext must be written between 'includeonly' tags:

<includeonly>...</includeonly>

Example

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.