Difference between revisions of "Template:Template"

From ArchWiki
Jump to: navigation, search
(Working on a major overhaul of templates)
Line 1: Line 1:
<includeonly>[[Category:Template]]{{Box Note|''This page is a template. It contains no Arch related information but should be used as part of other articles. For more information, read [[Help:Templates]].''
+
<includeonly>{{Box Note|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:Templates]].
  
Please do not experiment with this template, it could mess up [[Special:Whatlinkshere/Template:{{PAGENAME}}|all pages using this template]]. If you want to change the template, copy the text to [[Template:Sandbox]], edit and test it there and copy it back when it works}}Do you want to give us [[Template talk:{{PAGENAME}}|your opinion]]?</includeonly>
+
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.}}
<noinclude>{{Wiki Manual}}
+
 
==Using this template from template==
+
Do you want to give us [[Template talk:{{PAGENAME}}|your opinion]]?
This template should be added at the head of all template pages in this form:
+
 
  <center><strong>&lt;noinclude&gt;<nowiki>{{Template}}</nowiki>&lt;/noinclude&gt;</strong></center>
+
[[Category:Template]]</includeonly><noinclude>A template to be used for all template pages.
<br />
+
 
The template code wiki we will put it between this tags:
+
====Usage====
  <center><strong>&lt;includeonly&gt;&lt;/includeonly&gt;</strong></center>
+
 
<br />
+
This template should be added at the end of all template pages in this form:
</noinclude>
+
 
 +
  &lt;noinclude&gt;<nowiki>{{Template}}</nowiki>&lt;/noinclude&gt;
 +
 
 +
The actual template wikitext must be written between 'includeonly' tags:
 +
   
 +
&lt;includeonly&gt;...&lt;/includeonly&gt;
 +
 
 +
====Example====
 +
 
 +
{{Template}}</noinclude>

Revision as of 05:05, 8 February 2009

A template to be used for all template pages.

Usage

This template should be added at the end of all template pages in this form:

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

The actual 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.