Template:Boilerplate/Doc

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: {{Template Doc}} creates a new template suitable for use as a boilerplate. On a new or blank template page, type: <pre>{{subst:boilerlate}}</pre> This will create a template of the form...)
Line 14: Line 14:
<pre>
<pre>
{{Subst:XXXX}}
{{Subst:XXXX}}
-
</pre>
+
&lt;/pre>
If you do, what you'll then get is this:
If you do, what you'll then get is this:

Revision as of 21:19, 3 October 2012

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

On a new or blank template page, type:

{{subst:boilerlate}}

This will create a template of the form:

<noinclude>
{{Based On Template|Boilerplate}}
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:
<hr/>
<hr/>
{{quote-page|XXXX/Boilerplate}}
</noinclude><includeonly>
{{subst:XXXX/Boilerplate}}
</includeonly>
Personal tools