Template:Pagelist
From Guild Wars Wiki
Jump to navigationJump to search
Description[edit]
This template creates a comma-separated list of pages formatted as links. The last two pages in the list are separated by "and" instead of a comma. Up to 20 pages may be included in the list. Include the namespace of any page titles.
This template is mostly useful from within other templates that accept a variable number of page names as arguments. Any parameters not specified to the original template will be passed as empty parameters and not listed by the pagelist template.
Usage[edit]
{{pagelist|<page 1>|<page 2>|<page3>|...|<page 20>}}
Parameters[edit]
- 1, 2, 3 ... 20 (unnamed parameters)
- Page titles.
- delim
- The delimiter used before a page title. Defaults to blank.
- edelim
- The delimiter used after a page title. Defaults to the value of delim.
Example[edit]
{{pagelist|Main Page|Quick access links|Guild Wars Wiki:FAQ}}
Main Page, Quick access links and Guild Wars Wiki:FAQ
Notes[edit]
This template was originally replicated from Wikipedia's w:Template:Pagelist.