Template:Page or Section

From Zelda Wiki, the Zelda encyclopedia
Revision as of 13:31, 23 May 2024 by PhantomCaleb (talk | contribs)
Jump to navigation Jump to search

pagesection

Purpose

Outputs different text depending on whether it is in a section i.e. under a level 2 header.

Usage

{{Page or Section|<ledeText>|<sectionText>}}
  • ledeText — The text to display if the template is in the lede (not in a section). Defaults to page.
  • sectionText — The text to display if the template is in a section. Defaults to section.

Examples

#InputOutput
1{{Page or Section}} pagesection
The above documentation is transcluded from Template:Page or Section/Documentation. (edit | history)