Template:Template: Difference between revisions

From NixOS Wiki
imported>Samueldr
Created page with "<noinclude> {{Template}} '''A special template for use in ''all'' template pages.''' == Usage == This template should be added at the very beginning of all template pages be..."
 
Sdht0 (talk | contribs)
Copy edit and add About section
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template}}
{{Template}}
'''A special template for use in ''all'' template pages.'''
== About ==
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 <code>noinclude</code> tags:
This template should be added at the very beginning of all template pages between 'noinclude' tags:


  &lt;noinclude&gt;
  &lt;noinclude&gt;
Line 11: Line 11:
  &lt;/noinclude&gt;
  &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 an output example should also be added between the <code>noinclude</code> tags (as in this template).


The template wikitext must be written between 'includeonly' tags:
The template wikitext must be written between <code>includeonly</code> tags:
   
   
  &lt;includeonly&gt;...&lt;/includeonly&gt;
  &lt;includeonly&gt;...&lt;/includeonly&gt;
</noinclude><includeonly
</noinclude><includeonly
><div class="toc" style="margin-bottom: 1em;"
><div class="panel panel-default" style="margin-bottom: 1em;"><div class="panel-body"
>This page is a template. It should be used as part of other articles. For more information, read [[Help:Template]].
>This page is a template. It should be used as part of other articles. For more information, see [[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 discuss this template in the [{{fullurl:{{TALKPAGENAME}}}} talk page].
 
'''If you wanted to create a new page instead''', use the search box to search for the title of the new page you want to create and follow the link <code>Create the page "XYZ" on this wiki!</code> in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.</div></div></includeonly>

Latest revision as of 19:44, 6 April 2024

This page is a template. It should be used as part of other articles. For more information, see 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 discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

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 an 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>