Template:Boilerplate/Doc

From PCSAR

Revision as of 15:42, 2 October 2017 by Brett Wuth (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

The template {{Boilerplate}} creates a new template suitable for use as a boilerplate.

On a new or blank template page, type:

{{subst:boilerplate}}

This will create a template of the form:

<noinclude>
{{Based On Template|Boilerplate|Templates=y}}
This is a template for pages that are about XXXX.
Include it by saving a blank page with
<pre>
{{Subst:XXXX}}
</pre>

If you do, what you'll then get is this:
{{quote-page|Sandbox/Boilerplate}}
</noinclude><includeonly>{{subst:XXXX/Boilerplate}}</includeonly>

Where XXXX is the template name.

Move Template:XXXX to Template:XXXX/Page

Personal tools