Template:Disambig: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(enhancements and documentation)
No edit summary
Line 10: Line 10:
       |text =<includeonly>[[Category:Disambiguation of texts]]</includeonly> This is a [[:Category:Disambiguation of texts|disambiguation]] page — a list of pages that otherwise might share the same title.
       |text =<includeonly>[[Category:Disambiguation of texts]]</includeonly> This is a [[:Category:Disambiguation of texts|disambiguation]] page — a list of pages that otherwise might share the same title.
       |pub  =<includeonly>[[Category:Disambiguation of publications]]</includeonly> This is a [[:Category:Disambiguation of publications|disambiguation]] page — a list of pages that otherwise might share the same title.
       |pub  =<includeonly>[[Category:Disambiguation of publications]]</includeonly> This is a [[:Category:Disambiguation of publications|disambiguation]] page — a list of pages that otherwise might share the same title.
      |name =<includeonly>[[Category:Disambiguation of names]]</includeonly> This is a [[:Category:Disambiguation of names|disambiguation]] page – a list of people who share the same name.
     }}
     }}
}} }}<noinclude>
}} }}<noinclude>
Line 23: Line 24:
*text - for text pages
*text - for text pages
*pub - for publication 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".
If no parameter is informed and the page title does *not* contain the word "(disambiguation)", then the template defaults to "work".
}}
}}
[[Category:Message box templates]]</noinclude>
[[Category:Message box templates]]</noinclude>

Revision as of 16:40, 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".