Template:Pagelist/doc

From EVE University Wiki
< Template:Pagelist
Revision as of 13:56, 22 January 2023 by Evon R'al (talk | contribs) (Create documentation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description
This template creates a list of article/page links separated by "," or for the last 2 entries "and". A maximum of 20 articles/pages can be used.
Pagelist can be used with only one page but that is overkill.
Dependencies
Used by
{{Merge}}
Syntax
{{Pagelist|<nspace= namespace>|<page 1>|<page 2>|<...>|<page 19>|<page20>|<delim= delimiter>|<edelim= delimiter>}}
Parameters
nspace [Required]
Either default or the namespace of the pages. Recommendation: Just use default
page <x> [At least one]
The name of the articles/pages.
Warning: the following parameters are buggy. Using them can lead to unpredictable results. Thoroughly test before using.
delim
The delimiter in front of the article/page name. Defaults to nothing.
edelim
The delimiter after the article/page name. When omitted defaults to delim, when empty defaults to nothing.
Sample
{{Pagelist|nspace= default|Main Page}}
gives...
Main Page
{{Pagelist|nspace= default|Main Page|Template:Merge}}
gives...
Main Page and Template:Merge
{{Pagelist|nspace= default|Main PageVexor||Template:Merge}}
gives...
Main Page, Vexor and Template:Merge