Template:PageLetterMenu/Doc

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

This template creates an alphabetical menu on the page which links to a set of pages with the format XXX_A, XXX_B, etc.

Parameters[edit]

PageLetterMenu
Parameter Scope Description
1 required The part of the page name before the _A, _B, etc. Links will only be created to pages which exist.
2 or
suffix
optional Any additional links you wish to add to the end of the menu. These will always be separated by a | character with a space on each side. If you wish to add multiple links, you need to use the {{!}} magic word in order to add more | separators.
prefix optional Any additional links you wish to add to the start of the menu.
sep optional The separator to use between each letter. Defaults to a single space. To display a character with spaces around it, use &#32;<character>&#32;
nonumbers optional Removes the "Numeric" page from the menu.

Examples[edit]

{{PageLetterMenu|Lore:Factions}}
Numeric A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{PageLetterMenu|Lore:Books|[[Lore:Books by Author|by Author]] {{!}} [[Lore:Books by Subject|by Subject]]}}
Numeric A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | by Author | by Subject
{{PageLetterMenu|Lore:Gods|nonumbers=y|prefix=[[Lore:Gods|Overview]]|sep=&#32;{{!}}&#32;}}
Overview | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z