Difference between revisions of "Template:Allpages"

From blackwiki
Jump to navigation Jump to search
blackwiki>Happy-melon
(rm deleted)
blackwiki>Zyxw
m (Since <tt> is obsolete in HTML5, replace with <kbd> – see HTML element#tt and Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 101: Line 101:
 
<div align="center"><big>'''Usage examples'''</big></div>
 
<div align="center"><big>'''Usage examples'''</big></div>
 
;Help with 2nd parameter
 
;Help with 2nd parameter
:<tt><nowiki>All {{Allpages|Help|D}} pages starting from '''D'''</nowiki></tt> gives
+
:<kbd><nowiki>All {{Allpages|Help|D}} pages starting from '''D'''</nowiki></kbd> gives
 
:All {{Allpages|Help|D}} pages starting from '''D'''
 
:All {{Allpages|Help|D}} pages starting from '''D'''
 
;Mediawiki_talk:
 
;Mediawiki_talk:
:<tt><nowiki>{{Allpages|9}} pages without using '''{{ns:9}}'''</nowiki></tt> gives
+
:<kbd><nowiki>{{Allpages|9}} pages without using '''{{ns:9}}'''</nowiki></kbd> gives
 
:{{Allpages|9}} pages without using '''{{ns:9}}'''
 
:{{Allpages|9}} pages without using '''{{ns:9}}'''
 
;Main namespace (0 or void):
 
;Main namespace (0 or void):
:<tt><nowiki>All {{Allpages||x}} pages starting from '''x'''</nowiki></tt> gives
+
:<kbd><nowiki>All {{Allpages||x}} pages starting from '''x'''</nowiki></kbd> gives
 
:All {{Allpages||x}} pages starting from '''x'''
 
:All {{Allpages||x}} pages starting from '''x'''
 
;Special or -1:
 
;Special or -1:
:<tt><nowiki>{{Allpages|-1|from}} pages ignore the 2nd parameter</nowiki></tt> gives
+
:<kbd><nowiki>{{Allpages|-1|from}} pages ignore the 2nd parameter</nowiki></kbd> gives
 
:{{Allpages|-1|from}} pages ignore the 2nd parameter
 
:{{Allpages|-1|from}} pages ignore the 2nd parameter
 
;Media or -2:
 
;Media or -2:
:<tt><nowiki>{{Allpages|-2}} doesn't work at all</nowiki></tt> gives
+
:<kbd><nowiki>{{Allpages|-2}} doesn't work at all</nowiki></kbd> gives
 
:{{Allpages|-2}} doesn't work at all
 
:{{Allpages|-2}} doesn't work at all
 
;Project:
 
;Project:
:<tt><nowiki>{{Allpages|project}} won't work, use {{ns:project}}</nowiki></tt> gives
+
:<kbd><nowiki>{{Allpages|project}} won't work, use {{ns:project}}</nowiki></kbd> gives
 
:{{Allpages|project}} won't work, use {{ns:project}}
 
:{{Allpages|project}} won't work, use {{ns:project}}
 
;Lower case {{lc:{{ns:4}}}}:
 
;Lower case {{lc:{{ns:4}}}}:
:<tt><nowiki>{{Allpages|{{lc:{{ns:4}}}}}} won't work, use {{ns:4}}</nowiki></tt> gives
+
:<kbd><nowiki>{{Allpages|{{lc:{{ns:4}}}}}} won't work, use {{ns:4}}</nowiki></kbd> gives
 
:{{Allpages|{{lc:{{ns:4}}}}}} won't work, use {{ns:4}}
 
:{{Allpages|{{lc:{{ns:4}}}}}} won't work, use {{ns:4}}
  

Revision as of 05:19, 5 August 2018

main


Usage examples
Help with 2nd parameter
All {{Allpages|Help|D}} pages starting from '''D''' gives
All Help pages starting from D
Mediawiki_talk
{{Allpages|9}} pages without using '''{{ns:9}}''' gives
MediaWiki talk pages without using MediaWiki talk
Main namespace (0 or void)
All {{Allpages||x}} pages starting from '''x''' gives
All main pages starting from x
Special or -1
{{Allpages|-1|from}} pages ignore the 2nd parameter gives
Special pages ignore the 2nd parameter
Media or -2
{{Allpages|-2}} doesn't work at all gives
Media doesn't work at all
Project
{{Allpages|project}} won't work, use {{ns:project}} gives
{{Allpages|project}} won't work, use Blackwiki
Lower case blackwiki
{{Allpages|{{lc:{{ns:4}}}}}} won't work, use {{ns:4}} gives
{{Allpages|blackwiki}} won't work, use Blackwiki

Compare the original Template:Allpages Template:Toolbar at Meta.