This site is supported by donations to The OEIS Foundation.
Template:Allpages/test
- This is the testing template for the {{allpages}} OEIS Wiki utility template.
NOTE: The Media [virtual] namespace ({{namespace ID}} = −2) is disabled on OEISWiki.
Contents
Tests
Tests with namespace names
Code Result {{allpages|media}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|special}} Special {{allpages}}
{{allpages|main}}
{{allpages|article}}Article
{{allpages|talk}}
{{allpages|article talk}}
{{allpages|article+}}Article talk
{{allpages|user}} User {{allpages|user talk}}
{{allpages|user+}}
User talk
{{allpages|project}}
{{allpages|oeiswiki}}
OeisWiki
{{allpages|project talk}}
{{allpages|project+}}
{{allpages|oeiswiki talk}}
{{allpages|oeiswiki+}}OeisWiki talk
{{allpages|image}}
{{allpages|file}}
File
{{allpages|image talk}}
{{allpages|image+}}
{{allpages|file talk}}
{{allpages|file+}}File talk
{{allpages|mediawiki}} MediaWiki {{allpages|mediawiki talk}}
{{allpages|mediawiki+}}
MediaWiki talk
{{allpages|template}} Template {{allpages|template talk}}
{{allpages|template+}}
Template talk
{{allpages|help}} Help {{allpages|help talk}}
{{allpages|help+}}
Help talk
{{allpages|category}} Category {{allpages|category talk}}
{{allpages|category+}}
Category talk
{{allpages|extras}} Extras {{allpages|extras talk}}
{{allpages|extras+}}
Extras talk
Tests with namespace abbreviations
Code Result {{allpages|m}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|s}} Special {{allpages|a}}
{{allpages}}
Article
{{allpages|a+}}
{{allpages|+}}
Article talk
{{allpages|u}} User {{allpages|u+}} User talk {{allpages|p}}
{{allpages|ow}}
OeisWiki
{{allpages|p+}}
{{allpages|ow+}}
OeisWiki talk
{{allpages|i}}
{{allpages|f}}
File
{{allpages|i+}}
{{allpages|f+}}
File talk
{{allpages|mw}} MediaWiki {{allpages|mw+}} MediaWiki talk {{allpages|t}} Template {{allpages|t+}} Template talk {{allpages|h}} Help {{allpages|h+}} Help talk {{allpages|c}} Category {{allpages|c+}} Category talk {{allpages|e}} Extras {{allpages|e+}} Extras talk
Tests with namespace IDs
Code Result {{allpages|-2}} Allpages error: The Media [virtual] namespace (−2) is disabled in OEIS Wiki! {{allpages|-1}} Special {{allpages|0}} Article {{allpages|1}} Article talk {{allpages|2}} User {{allpages|3}} User talk {{allpages|4}} OeisWiki {{allpages|5}} OeisWiki talk {{allpages|6}} File {{allpages|7}} File talk {{allpages|8}} MediaWiki {{allpages|9}} MediaWiki talk {{allpages|10}} Template {{allpages|11}} Template talk {{allpages|12}} Help {{allpages|13}} Help talk {{allpages|14}} Category {{allpages|15}} Category talk {{allpages|100}} Extras {{allpages|101}} Extras talk
Namespaces
Code Result {{ns:-2}} Media {{ns:-1}} Special {{ns:0}} {{ns:1}} Talk {{ns:2}} User {{ns:3}} User talk {{ns:4}} OeisWiki {{ns:5}} OeisWiki talk {{ns:6}} File {{ns:7}} File talk {{ns:8}} MediaWiki {{ns:9}} MediaWiki talk {{ns:10}} Template {{ns:11}} Template talk {{ns:12}} Help {{ns:13}} Help talk {{ns:14}} Category {{ns:15}} Category talk {{ns:100}} Extras {{ns:101}} Extras talk
Wiki variables
NOTE: The Media namespace ({{namespace ID|Media}} = −2) is disabled on OEIS Wiki.
See the original version of this template on:
Template:Wikivar—Wikimedia Commons (commons: prefix). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code
<noinclude>{{Documentation}}</noinclude><includeonly><span class="plainlinks">{{{{{subst|}}}#switch: {{ns ID|{{{1|0}}}}}<!-- Concerning the {{{subst|}}} parameter (with empty string as default): see subst: keyword in http://en.wikipedia.org/wiki/Wikipedia:Substitution --><!-- ***** Virtual namespaces ***** --> | -2 = {{error|Allpages error: The {{ns:-2}} [virtual] namespace (−2) is disabled in OEIS Wiki! }} | -1 = [[{{ns:-1}}:Specialpages|{{ns:-1}}]] <!-- NOTE: The ''from'' and ''to'' parameters don't work in the {{ns:-1}} Special [virtual] namespace. --><!-- ***** Namespaces ***** --> | 0 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=0}} Article<!--{{Mediawiki:Blanknamespace}}--><!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 1 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=1}} Article talk<!--{{ns:1}}--><!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 2 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=2}} {{ns:2}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 3 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=3}} {{ns:3}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 4 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=4}} {{ns:4}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 5 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=5}} {{ns:5}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 6 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=6}} {{ns:6}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 7 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=7}} {{ns:7}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 8 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=8}} {{ns:8}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 9 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=9}} {{ns:9}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 10 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=10}} {{ns:10}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 11 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=11}} {{ns:11}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 12 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=12}} {{ns:12}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 13 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=13}} {{ns:13}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 14 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=14}} {{ns:14}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 15 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=15}} {{ns:15}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 100 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=100}} {{ns:100}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}] | 101 = [{{fullurl:{{ns:-1}}:Allpages|from={{#urlencode:{{{from|{{{2|}}}}}}}}&to={{#urlencode:{{{to|{{{3|}}}}}}}}&namespace=101}} {{ns:101}}<!-- -->{{#if: {{{from|{{{2|}}}}}}{{{to|{{{3|}}}}}} | (''from:'' {{{from|{{{2|}}}}}}, ''to:'' {{{to|{{{3|}}}}}})}}]<!-- --> | #default = {{error|Allpages error: Invalid namespace "{{{1|0}}}" }} }}</span></includeonly>
Notes
- ↑ 1.0 1.1 The Media namespace ({{namespace ID|Media}} = −2) is disabled on OEIS Wiki.
- ↑ Returns empty string.
- ↑ 3.0 3.1 Always show 2 digits (with leading 0 if required).
- ↑ See {{basepage name}}.
- ↑ 5.0 5.1 5.2 5.3 5.4 URL encoded version.
- ↑ See {{basepage name|e}}.
- ↑ See {{subpage name}}.
- ↑ See {{subpage name|e}}.
- ↑ Revision ID of the current page (changes with each saved edit).