Template:Subpage/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation page
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 6: Line 6:
; <code><nowiki>prev</nowiki></code>
; <code><nowiki>prev</nowiki></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>
: Pass in <code>text=</code> to change the text displayed in the subpage link.

Revision as of 14:00, 3 October 2024

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
On subpages themselves, pass in prev as a second unnamed parameter in order to link to a different subpage on the parent page.
text
Pass in text= to change the text displayed in the subpage link.