Template:Based on template
From PCSAR
(Difference between revisions)
(3 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | <noinclude>{{documentation}}</noinclude><includeonly>< | + | <noinclude>{{documentation}}</noinclude><includeonly><noinclude> |
;;;;;;;;;;;;; This header box should not be printed, because using templates require live access to the wiki | ;;;;;;;;;;;;; This header box should not be printed, because using templates require live access to the wiki | ||
Line 15: | Line 15: | ||
;;;;;;;;;;; Place in the category | ;;;;;;;;;;; Place in the category | ||
- | </noinclude>{{#if:{{{Templates|}}<noinclude> | + | </noinclude>{{#if:{{{Templates|}}}<noinclude> |
;;;;;;;;;;;;;;;; If we're allowed in templates, just say we're in the category | ;;;;;;;;;;;;;;;; If we're allowed in templates, just say we're in the category | ||
Line 27: | Line 27: | ||
</noinclude>}}<noinclude> | </noinclude>}}<noinclude> | ||
- | + | </noinclude></includeonly> | |
- | + | ||
- | </ | + |
Current revision
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>
.