Template documentation


Usage

edit

{{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