Template:Subpage/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{Dochead}}
{{Dochead}}
=== Usage ===
=== Usage ===
; <code><nowiki>{{{1}}}</nowiki></code>
; <code>{{{1}}}</nowiki></code>
: 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.
: 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.


; <code><nowiki>prev</nowiki></code>
; <code>prev</code>
: On subpages themselves, pass in <code>prev</code> as a second unnamed parameter in order to link to a different subpage on the parent page.
: On subpages themselves, pass in <code>prev</code> as a second unnamed parameter in order to link to a different subpage on the parent page.


; <code>text</code>
; <code>text</code>
: Pass in <code>text=</code> to change the text displayed in the subpage link.
: Pass in <code>text=</code> to change the text displayed in the subpage link.