Template:Based on template
From PCSAR
(Difference between revisions)
Line 2: | Line 2: | ||
This page is based on the [[:Template:{{{1}}}|{{{1}}}]] template. | This page is based on the [[:Template:{{{1}}}|{{{1}}}]] template. | ||
- | Use that template to make [[:Category:{{{1}}}|similar pages]].{{not in template|[[Category:{{{1}}}]]}} | + | Use that template to make [[:Category:{{{1}}}|similar pages]]. |
- | }}</includeonly> | + | }}{{#if: {{{Templates|}}}|[[Category:{{{1}}}]]|{{not in template|[[Category:{{{1}}}]]}}}}</includeonly> |
Revision as of 21:29, 3 October 2012
This is the documentation for the template Template:Based on template
The template
Include it by putting at the top of the template {{Based on template|TemplateName}} If you do, what you'll then get is this: The page is automatically included in the Category of the same name. |
To see how this template is implemented,
edit this page and examine the portion
between <includeonly>
and </includeonly>
.