Template:Based on template

From PCSAR

(Difference between revisions)
Jump to: navigation, search
(New page: <blockquote> <!-- width="100%" apparently required by Microsoft Internet Explorer 8 (bug?) as seen on Mary-Ann Warren's computer. Otherwise text appears as long column, one word per l...)
Line 1: Line 1:
-
<blockquote>
+
<noinclude>
-
<!-- width="100%" apparently required by Microsoft Internet Explorer 8 (bug?) as seen on Mary-Ann Warren's computer.
+
This is a template for use by "subst:" templates.
-
Otherwise text appears as long column, one word per line.
+
It puts a header at the top of the replaced page that says how to access the template for similar pages.
-
-->
+
 
-
{| style="border:1px #AAA solid; background-color:#ffffcc;" width="100%"
+
Include it by putting at the top of the template
-
| This page is based on the [[:Template:{{{1}}}|{{{1}}}]] template.
+
<pre><nowiki>
-
Use that template to make similar pages.
+
{{Based On Template|TemplateName}}
-
|}
+
</nowiki></pre>
-
</blockquote>
+
 
 +
If you do, what you'll then get is this:
 +
 
 +
{{Based On Template|TemplateName}}
 +
 
 +
</noinclude><includeonly>{{standout box|
 +
This page is based on the [[:Template:{{{1}}}|{{{1}}}]] template.
 +
 
 +
Use that template to make [[:Category:{{{1}}}|similar pages]].[[Category:{{{1}}}]]
 +
}}</includeonly>

Revision as of 21:31, 3 August 2011

This is a template for use by "subst:" templates. It puts a header at the top of the replaced page that says how to access the template for similar pages.

Include it by putting at the top of the template

{{Based On Template|TemplateName}}

If you do, what you'll then get is this:

This page is based on the TemplateName template.

Use that template to make similar pages.


Personal tools