This site is supported by donations to The OEIS Foundation.
Template:Allpages/doc
The {{allpages}} OEIS Wiki utility template gives a link to the list of all pages (or starting at from and/or ending at to, except for {{ns: -2}}
and {{ns: -1}}
virtual namespaces) pages in a given namespace.
Contents
Usage
NOTE: The {{ns: -2}}
Media virtual namespace is disabled on OEISWiki.
NOTE: The from and to parameters don't work (they are thus ignored) in the {{ns: -1}}
Special virtual namespace.
NOTE: The from and to parameters are ignored if to is lexicographically less than from.
To get a link to the list of all pages (or starting at from and/or ending at to) in the article (Main) default namespace, use
- {{allpages}}
- {{allpages||from}}
- {{allpages|from = from}}
- {{allpages|||to}}
- {{allpages|to = to}}
- {{allpages||from|to}}
- {{allpages|from = from|to = to}}
To get a link to the list of all pages (or starting at from and/or ending at to) in a given namespace, use
- {{allpages|namespace name or namespace abbrev or namespace ID}}
- {{allpages|namespace name or namespace abbrev or namespace ID|from}}
- {{allpages|namespace name or namespace abbrev or namespace ID|from = from}}
- {{allpages|namespace name or namespace abbrev or namespace ID||to}}
- {{allpages|namespace name or namespace abbrev or namespace ID|to = to}}
- {{allpages|namespace name or namespace abbrev or namespace ID|from|to}}
- {{allpages|namespace name or namespace abbrev or namespace ID|from = from|to = to}}
Examples
Virtual namespaces
Code Result Code Result Code Result {{allpages|Media}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|m}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|-2}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|Special}} Special {{allpages|s}} Special {{allpages|-1}} Special
Namespaces
- By default, {{allpages}} yields Article.
Code Result Code Result Code Result {{allpages|}} Article {{allpages|a}} Article {{allpages|0}} Article {{allpages|Talk}} Article talk {{allpages|a+}} Article talk {{allpages|1}} Article talk {{allpages|User}} User {{allpages|u}} User {{allpages|2}} User {{allpages|User talk}} User talk {{allpages|u+}} User talk {{allpages|3}} User talk {{allpages|OeisWiki}} OeisWiki {{allpages|ow}} OeisWiki {{allpages|4}} OeisWiki {{allpages|OeisWiki talk}} OeisWiki talk {{allpages|ow+}} OeisWiki talk {{allpages|5}} OeisWiki talk {{allpages|File}} File {{allpages|f}} File {{allpages|6}} File {{allpages|File talk}} File talk {{allpages|f+}} File talk {{allpages|7}} File talk {{allpages|MediaWiki}} MediaWiki {{allpages|mw}} MediaWiki {{allpages|8}} MediaWiki {{allpages|MediaWiki talk}} MediaWiki talk {{allpages|mw+}} MediaWiki talk {{allpages|9}} MediaWiki talk {{allpages|Template}} Template {{allpages|t}} Template {{allpages|10}} Template {{allpages|Template talk}} Template talk {{allpages|t+}} Template talk {{allpages|11}} Template talk {{allpages|Help}} Help {{allpages|h}} Help {{allpages|12}} Help {{allpages|Help talk}} Help talk {{allpages|h+}} Help talk {{allpages|13}} Help talk {{allpages|Category}} Category {{allpages|c}} Category {{allpages|14}} Category {{allpages|Category talk}} Category talk {{allpages|c+}} Category talk {{allpages|15}} Category talk {{allpages|Extras}} Extras {{allpages|e}} Extras {{allpages|100}} Extras {{allpages|Extras talk}} Extras talk {{allpages|e+}} Extras talk {{allpages|101}} Extras talk
Examples with from and/or to parameters
NOTE: The from and to parameters don't work (they are thus ignored) in the {{ns:-1}}
Special namespace.
The optional second parameter from and/or third parameter to give a link to the list of pages (starting at from and/or ending at to) in the given namespace.
For example
- {{allpages|Template|Sequence of the Day for {{CURRENTMONTHNAME}} {{CURRENTDAY}}}}
yields
and
- {{allpages|Template|Sequence of the Day for May 1|Sequence of the Day for May 31}}
yields
Examples with invalid input
NOTE: The start parameter does not work in the {{ns:-1}}
Special namespace (it is thus ignored).
Code Result Code Result {{allpages|-3}} Allpages error: Invalid namespace "-3" {{allpages|Virtual}} Allpages error: Invalid namespace "Virtual" {{allpages|19}} Allpages error: Invalid namespace "19" {{allpages|Program}} Allpages error: Invalid namespace "Program" {{allpages|-2|audio}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|m|video}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|Special|Unused templates}} Special {{allpages|s|Unused templates}} Special {{allpages|-1|Preferences}} Special {{allpages|s|Preferences}} Special
Tests
- {{Allpages/test}}.
See also
- {{namespace ID}} ({{ns ID}}) OEIS Wiki utility template