Difference between revisions of "Template:Template"

From ArchWiki
Jump to: navigation, search
(add same margin as Template:Message box)
(update interlanguage links (https://github.com/lahwaacz/wiki-scripts/blob/master/update-interlanguage-links.py))
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<noinclude>
 
+
{{Template}}
 +
[[el:Template:Template]]
 +
[[ru:Template:Template]]
 +
[[uk:Template:Template]]
 
'''A special template for use in ''all'' template pages.'''
 
'''A special template for use in ''all'' template pages.'''
  
====Usage====
+
== Usage ==
  
 
This template should be added at the very beginning of all template pages between 'noinclude' tags:
 
This template should be added at the very beginning of all template pages between 'noinclude' tags:
  
  &lt;noinclude&gt;<nowiki>{{Template}}</nowiki>&lt;/noinclude&gt;
+
  &lt;noinclude&gt;
 +
<nowiki>{{Template}}</nowiki>
 +
&lt;/noinclude&gt;
  
 
A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).
 
A brief description of the template, usage instructions, and output example should also be added between the 'noinclude' tags (as in this template).
Line 14: Line 19:
 
   
 
   
 
  &lt;includeonly&gt;...&lt;/includeonly&gt;
 
  &lt;includeonly&gt;...&lt;/includeonly&gt;
 
+
</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]].
====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.
 
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 [{{fullurl:{{TALKPAGENAME}}}} your opinion] regarding this template.</div></includeonly>

Latest revision as of 17:14, 24 July 2015

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>