Difference between revisions of "Template:SubPage"
From Slicer Wiki
(installed macro) |
m |
||
Line 1: | Line 1: | ||
[[{{FULLPAGENAME}}/{{{1}}}|{{{2|/{{{1}}}}}}]]<noinclude> | [[{{FULLPAGENAME}}/{{{1}}}|{{{2|/{{{1}}}}}}]]<noinclude> | ||
==Instructions== | ==Instructions== | ||
− | From the [https://www.mediawiki.org/wiki/Extension:BrettCrumbs | + | From the [https://www.mediawiki.org/wiki/Extension:BrettCrumbs BrettCrumbs mediawiki extension] documentation: |
This template is used when creating sub-page links off the current page. | This template is used when creating sub-page links off the current page. |
Latest revision as of 02:56, 14 December 2015
Home < Template:SubPage[[Template:SubPage/{{{1}}}|/{{{1}}}]]
Instructions
From the BrettCrumbs mediawiki extension documentation:
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