Difference between revisions of "Template:Template"

From ArchWiki
Jump to: navigation, search
m (Protected "Template:Template": used in protected templates, should be protected too ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(add same margin as Template:Message box)
Line 17: Line 17:
 
====Example====
 
====Example====
  
{{Template}}</noinclude><includeonly>[[Category:Template]] <div class="toc">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>[[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]].
  
 
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 [[Template talk:{{PAGENAME}}|your opinion]] regarding this template.</div></includeonly>
 
Feel free to voice [[Template talk:{{PAGENAME}}|your opinion]] regarding this template.</div></includeonly>

Revision as of 10:30, 3 February 2012

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.