Template:Root/doc
From Bonkipedia
Revision as of 18:02, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Template documentation pages)
This is a documentation subpage for Template:Root. It contains usage information, categories and other content that is not part of the original Template page. |
Usage
{{subpages}}
makes links within a set of subpages, according to a common root. Often this will be within a small micro lexicon for an extension or similar. It takes one anonymous argument which is the destination sibling page. The default if this argument is missing will be the immediate superpage in the hierarchy. Another named argument level sets the number of subparts to extract. Default level is two (2).
{{root}}
: builds a link for the superpage in the hierarchy{{root|example}}
: builds a link for the sibling subpage example in the hierarchy{{root|example|level=1}}
: builds a link for the example sibling at level one (1) in the hierarchy