Difference between revisions of "Template:Pagelist"
From EVE University Wiki
(Categorized.) |
m (Noted that it has no documentation and yet it is used in the Merge Page Template) |
||
Line 21: | Line 21: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
[[Category:Template]] | [[Category:Template]] | ||
+ | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:00, 5 March 2021
Template documentation (for the above template, sometimes hidden or invisible)
- 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