Template:Subpage/doc
Usage
{{{1}}}
- The first unnamed parameter will be interpreted as the name of the subpage to link to. Without a second parameter, this assumes you are linking from the parent page.
prev
,lprev
,uprev
- On subpages themselves, pass in any one of these as a second unnamed parameter in order to link to a different subpage on the parent page.
uprev
capitalises the first letter of the first argument for the section name, whilelprev
does the opposite. If the first unnamed parameter isprev
, the parent page (if it exists) will be linked.
s
- Pass
s=
followed by the name of a section if you want to link to a section within the page.
text
- Pass in
text=
to change the text displayed in the subpage link. If this parameter is not specified, the text displayed will default to the section name and then to the first unnamed parameter.