Template:Disambiguation: Difference between revisions
No edit summary |
Also strip "(Disambiguation)" (capital D, the site convention) when building the footer text |
||
| Line 3: | Line 3: | ||
| type = disambig | | type = disambig | ||
| text = {{#switch: {{{nsoverride|<includeonly>{{NAMESPACE}}</includeonly>}}}|<!--detects namespace between Chabadpedia, MOS, Portal, and everything else--> | | text = {{#switch: {{{nsoverride|<includeonly>{{NAMESPACE}}</includeonly>}}}|<!--detects namespace between Chabadpedia, MOS, Portal, and everything else--> | ||
| #default = This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|1={{Str rep|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}|(disambiguation)|}}}}}}}}} {{namespace detect|main=articles|category=categories|Chabadpedia=project pages<includeonly>|template=templates</includeonly>|other=pages}} associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}|{{PAGENAMEBASE|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}}}}}'''.<!--for normal disambiguation pages--> | | #default = This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|1={{Str rep|{{Str rep|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}|(disambiguation)|}}|(Disambiguation)|}}}}}}}}} {{namespace detect|main=articles|category=categories|Chabadpedia=project pages<includeonly>|template=templates</includeonly>|other=pages}} associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}|{{PAGENAMEBASE|{{#if:{{{page-title|}}}|{{{page-title|}}}|{{FULLPAGENAME}}}}}}}}'''.<!--for normal disambiguation pages--> | ||
| Chabadpedia = This page is a list of [[Chabadpedia:Project namespace|project pages]] associated with the same title or shortcut.{{Category handler|Chabadpedia=[[Category:Chabadpedia disambiguation pages]]|nocat={{{nocat|}}}}}<!--for Chabadpedia disambiguation pages--> | | Chabadpedia = This page is a list of [[Chabadpedia:Project namespace|project pages]] associated with the same title or shortcut.{{Category handler|Chabadpedia=[[Category:Chabadpedia disambiguation pages]]|nocat={{{nocat|}}}}}<!--for Chabadpedia disambiguation pages--> | ||
| MOS = This page is a list of [[Chabadpedia:Manual of Style|Chabadpedia Manual of Style pages or sections]] associated with the same title or shortcut.[[Category:Manual of Style disambiguation pages]]<!--for Manual of Style disambiguation pages--> | | MOS = This page is a list of [[Chabadpedia:Manual of Style|Chabadpedia Manual of Style pages or sections]] associated with the same title or shortcut.[[Category:Manual of Style disambiguation pages]]<!--for Manual of Style disambiguation pages--> | ||