Template:Template: Difference between revisions
imported>Samueldr m Fixes bad inclusion |
Copy edit and add About section |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Template}} | {{Template}} | ||
== 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> | <noinclude> | ||
Line 11: | Line 11: | ||
</noinclude> | </noinclude> | ||
A brief description of the template, usage instructions, and output example should also be added between the | 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 | The template wikitext must be written between <code>includeonly</code> tags: | ||
<includeonly>...</includeonly> | <includeonly>...</includeonly> | ||
</noinclude><includeonly | </noinclude><includeonly | ||
><div class="panel panel-default" style="margin-bottom: 1em;"><div class="panel-body" | ><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, | >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 | Feel free to discuss this template in the [{{fullurl:{{TALKPAGENAME}}}} talk page]. | ||
'''If you wanted to create a new 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> |