Template:SubPage: Difference between revisions
Jump to navigation
Jump to search
WikiMaster (talk | contribs) (Create BrettCrumbs-related template.) |
WikiMaster (talk | contribs) m (Minor fixes.) |
||
Line 5: | Line 5: | ||
The template can be called in the following ways | The template can be called in the following ways | ||
* '''< | * '''<nowiki>{{SubPage|Sub Page Location|Sub Page Name}}</nowiki>''' | ||
* '''< | * '''<nowiki>{{SubPage|Sub Page Location}}</nowiki>''' | ||
Args: | Args: | ||
Line 13: | Line 13: | ||
==Example== | ==Example== | ||
* < | * <nowiki>{{SubPage|SubPage|My Sub Page}}</nowiki> --> {{SubPage|SubPage|My Sub Page}} | ||
* < | * <nowiki>{{SubPage|SubPage}}</nowiki> --> {{SubPage|SubPage}} | ||
[[Category:WikiTemplates]] | [[Category:WikiTemplates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:34, 13 March 2012
[[Template:SubPage/{{{1}}}|/{{{1}}}]]
Instructions
This template is used when creating sub-page links off the current page. This will give the page hierarchy so that the breadcrumbs will be automatically generated. The template can be called in the following ways
- {{SubPage|Sub Page Location|Sub Page Name}}
- {{SubPage|Sub Page Location}}
Args:
- Sub Page Location The location of the sub-page
- Sub Page Name (optional) The displayed name of the sub-page
Example
- {{SubPage|SubPage|My Sub Page}} --> My Sub Page
- {{SubPage|SubPage}} --> /SubPage