Template:Boilerplate
From PCSAR
(Difference between revisions)
												
			
			 (New page: <noinclude>{{documentation}}</noinclude><includeonly><noinclude>  ;;;;;;;;;;;; Some tags require extra work to be properly used in a ;;;;;;;;;;;; template like this one.  "noinclude" and "...)  | 
				|||
| Line 33: | Line 33: | ||
This is a template for pages that are about individuals.  | This is a template for pages that are about individuals.  | ||
Include it by saving a blank page with  | Include it by saving a blank page with  | ||
| - | <pre><nowiki>  | + | <pre>{{{|<}}}nowiki{{{|>}}}  | 
{{Subst:Person}}  | {{Subst:Person}}  | ||
| - | </nowiki></pre>  | + | {{{|<}}}/nowiki{{{|>}}}</pre>  | 
If you do, what you'll then get is this:  | If you do, what you'll then get is this:  | ||
Revision as of 20:58, 3 October 2012
This is the documentation for the template Template:Boilerplate
| 
 The template  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  | 
To see how this template is implemented,
edit this page and examine the portion 
between <includeonly> and </includeonly>.

