This site is supported by donations to The OEIS Foundation.

Template:Allpages/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:Allpages. [<Edit> Template:Allpages]

[⧼Purge⧽ 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.

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

of the Day for November 3}}&to={{#urlencode:}}&namespace=10 Template (from: Sequence of the Day for November 3, to: ),

and

{{allpages|Template|Sequence of the Day for May 1|Sequence of the Day for May 31}}

yields

of the Day for May 1}}&to={{#urlencode:Sequence of the Day for May 31}}&namespace=10 Template (from: Sequence of the Day for May 1, to: Sequence of the Day for May 31).


Code Result Code Result
{{allpages||Cite}} Article (from: Cite, to: ) {{allpages|0|Cite}} Article (from: Cite, to: )
{{allpages|from=Cite}} Article (from: Cite, to: ) {{allpages|a|Cite}} Article (from: Cite, to: )
{{allpages|from=Cite|to=Prime}} Article (from: Cite, to: Prime) {{allpages|a|Cite|Prime}} Article (from: Cite, to: Prime)
{{allpages|Category|Braids}} Category (from: Braids, to: ) {{allpages|c|Braids}} Category (from: Braids, to: )
{{allpages|Category|Braids|Necklaces}} Category (from: Braids, to: Necklaces) {{allpages|c|Braids|Necklaces}} Category (from: Braids, to: Necklaces)
{{allpages|Category||Necklaces}} Category (from: , to: Necklaces) {{allpages|c||Necklaces}} Category (from: , to: Necklaces)
{{allpages|User|NJAS}} User (from: NJAS, to: ) {{allpages|u|NJAS}} User (from: NJAS, to: )
{{allpages|User|NJAS|R. K. Guy}} K. Guy}}&namespace=2 User (from: NJAS, to: R. K. Guy) {{allpages|u|NJAS|R. K. Guy}} K. Guy}}&namespace=2 User (from: NJAS, to: R. K. Guy)
{{allpages|User||R. K. Guy}} K. Guy}}&namespace=2 User (from: , to: R. K. Guy) {{allpages|u||R. K. Guy}} K. Guy}}&namespace=2 User (from: , to: R. K. Guy)
{{allpages|Help|Editing}} Help (from: Editing, to: ) {{allpages|h|Editing}} Help (from: Editing, to: )
{{allpages|Help|Editing|Formatting}} Help (from: Editing, to: Formatting) {{allpages|h|Editing|Formatting}} Help (from: Editing, to: Formatting)
{{allpages|Help||Formatting}} Help (from: , to: Formatting) {{allpages|h||Formatting}} Help (from: , to: Formatting)
{{allpages|Template|Derangements}} Template (from: Derangements, to: ) {{allpages|t|Derangements}} Template (from: Derangements, to: )
{{allpages|Template|Derangements|Arrangements}} Template (from: Derangements, to: Arrangements) {{allpages|t|Derangements|Arrangements}} Template (from: Derangements, to: Arrangements)
{{allpages|Template|Arrangements|Derangements}} Template (from: Arrangements, to: Derangements) {{allpages|t|Arrangements|Derangements}} Template (from: Arrangements, to: Derangements)
{{allpages|Template||Arrangements}} Template (from: , to: Arrangements) {{allpages|t||Arrangements}} Template (from: , to: Arrangements)

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

See also