Difference between revisions of "Template:Disambig"

From Self-sufficiency
Jump to: navigation, search
(Adding extended categorising function, tested in /sandbox and /testcases. Per editprotected request by Kotniski.)
m (200 revisions from wikipedia:Template:Disambig)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{dmbox
 
{{dmbox
 
| type = disambig
 
| type = disambig
| text = This [[Wikipedia:Disambiguation|disambiguation]] page lists articles associated with the same title. If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.
+
| text =  
 +
This [[Help:Disambiguation|disambiguation]] page lists articles associated with the same title. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
 +
| nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
 
}}{{main other
 
}}{{main other
 
| demospace = {{{demospace|}}}
 
| demospace = {{{demospace|}}}
| [[Category:Disambiguation pages]]{{dabcat|{{{1|}}}}}{{dabcat|{{{2|}}}}}{{dabcat|{{{3|}}}}}{{dabcat|{{{4|}}}}}{{dabcat|{{{5|}}}}}{{dabcat|{{{6|}}}}}{{dabcat|{{{7|}}}}}{{dabcat|{{{8|}}}}}{{dabcat|{{{9|}}}}}{{dabcat|{{{10|}}}}}
+
| [[Category:Disambiguation pages]]{{disambig/cat|{{{1|}}}}}{{disambig/cat|{{{2|}}}}}{{disambig/cat|{{{3|}}}}}{{disambig/cat|{{{4|}}}}}{{disambig/cat|{{{5|}}}}}{{disambig/cat|{{{6|}}}}}{{disambig/cat|{{{7|}}}}}{{disambig/cat|{{{8|}}}}}{{disambig/cat|{{{9|}}}}}{{disambig/cat|{{{10|}}}}}
 
| <!-- Don't categorise when not in main (article) space. -->
 
| <!-- Don't categorise when not in main (article) space. -->
 
}}<noinclude>
 
}}<noinclude>
  
{{pp-template|small=yes}}
 
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:34, 21 September 2010