Difference between revisions of "Template:Template"

From ArchWiki
Jump to: navigation, search
(New page: <includeonly>Category:Template{{Box Note|''This page is a template. It contains no Gentoo related information but should be used as part of other articles. For more information, read [...)
 
(use an external link not to pollute Special:WantedPages, see also Help talk:Style#Wanted pages)
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Template]]{{Box Note|''This page is a template. It contains no Gentoo related information but should be used as part of other articles. For more information, read [[Help:Templates]].''
+
<noinclude>{{Template}}
  
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>
+
'''A special template for use in ''all'' template pages.'''
<noinclude>{{Wiki Manual}}
+
 
==Using this template from template==
+
====Usage====
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>
+
This template should be added at the very beginning of all template pages between 'noinclude' tags:
<br />
+
 
The template code wiki we will put it between this tags:
+
  &lt;noinclude&gt;<nowiki>{{Template}}</nowiki>&lt;/noinclude&gt;
  <center><strong>&lt;includeonly&gt;&lt;/includeonly&gt;</strong></center>
+
 
<br />
+
A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).
<small>'''Warning''': The wiki code that isn't between targets, also output, ¿?in any place¿?, of course.</small><br />
+
 
That's all<br />
+
The template wikitext must be written between 'includeonly' tags:
You can see it in the [[Template:Sandbox|tests tag]].
+
   
</noinclude>
+
&lt;includeonly&gt;...&lt;/includeonly&gt;
 +
 
 +
====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]].
 +
 
 +
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>

Revision as of 06:53, 3 June 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.