Template:Disambig: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
|textstyle = line-height:300%;
|textstyle = line-height:300%;
|text  = {{#ifeq:{{#sub:{{PAGENAME}}|-16}}|(disambiguation)
|text  = {{#ifeq:{{#sub:{{PAGENAME}}|-16}}|(disambiguation)
  |This is a <includeonly>[[:Category:Disambiguation]]</includeonly>[[Help:What if there's more than one composer with the same name?|disambiguation]] page — a list of pages that otherwise might share the same title.
<!--  |This is a <includeonly>[[Category:Disambiguation]]</includeonly>[[Help:What if there's more than one composer with the same name?|disambiguation]] page — a list of pages that otherwise might share the same title.-->
   |{{#switch:{{{1|}}}
   |{{#switch:{{{1|}}}
       |<!-- if empty -->
       |<!-- if empty -->

Revision as of 17:11, 30 May 2020

Documentation
Syntax
{{Disambig}}
Syntax with parameter
{{Disambig|xxxx}}

Where xxxx can be one of the following:

  • work - for works pages
  • text - for text pages
  • pub - for publication pages
  • name - for people (composers, lyricists, editors, etc.)

If no parameter is informed and the page title does *not* contain the word "(disambiguation)", then the template defaults to "work".