Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
m (Text replace - "Compositions by composer categories" to "Composer works categories")
Line 3: Line 3:
|compositions = This category provides a list of [[{{#sub:{{PAGENAME}}||-13}}]] works on CPDL, sorted alphabetically by title of the works pages. {{#if:{{{sort|}}}|See the composer page for a list of works sorted by {{{sort}}}.}}
|compositions = This category provides a list of [[{{#sub:{{PAGENAME}}||-13}}]] works on CPDL, sorted alphabetically by title of the works pages. {{#if:{{{sort|}}}|See the composer page for a list of works sorted by {{{sort}}}.}}
__HIDDENCAT__
__HIDDENCAT__
[[Category:Compositions by composer categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!--
[[Category:Composer works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!--


-->
-->

Revision as of 15:12, 8 August 2014

Documentation

This multipurpose template adds proper header texts to the following types of categories:

Category:<language>_translation_requests
Category:<editor>_editions
Category:<composer>_compositions
Category:<lyricist>_settings
Category:<language>_texts
Category:<language>_translations
Category:<nationality>_composers
Category:Pages_in_<language>
Category:Works_in_<language>
original template
replaces {{EdCatTxt}}
replaces {{CompCatTxt}}
replaces {{LyricistSettingsCat}}
alias for {{TextsByLangCatTxt|<language>}}
alias for {{TranslationsCatTxt|<language>}}
alias for {{ComposerNationality|<nationality>}}
original template
alias for {{WksLangTxt|<language>}}
Usage
Just add {{CatTxt}} to the new category. If it is added by mistake to a different category than the ones listed above, a warning message is displayed:
ERROR: The template {{CatTxt}} was not designed for this category!