Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (Text replace - "Compositions by editor" to "Editor works categories")
m (not really necessary to be hidden)
Line 2: Line 2:
-->
-->
|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__
[[Category:Composer works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!--
[[Category:Composer works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!--


-->
-->
|editions    = This category lists works with editions provided by [[User:{{#sub:{{PAGENAME}}||-9}}|{{#sub:{{PAGENAME}}||-9}}]].
|editions    = This category lists works with editions provided by [[User:{{#sub:{{PAGENAME}}||-9}}|{{#sub:{{PAGENAME}}||-9}}]].
__HIDDENCAT__
[[Category:Editor works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--
[[Category:Editor works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--


-->
-->
|settings    = A list of [[{{#sub:{{PAGENAME}}||-9}}]] settings by various composers.
|settings    = A list of [[{{#sub:{{PAGENAME}}||-9}}]] settings by various composers.
__HIDDENCAT__
[[Category:Lyricist works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--
[[Category:Lyricist works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--


-->
-->
|requests    = This category lists score pages for which {{#sub:{{PAGENAME}}||-9}}s have been requested. Please help CPDL by adding the requested translation to the page. To find out more details of how to add texts and translations, please refer to the [[Help:How can I add a text or translation?|help page]]. For a list of score pages which already have their text added, [[:Category:Texts|click here]].
|requests    = This category lists score pages for which {{#sub:{{PAGENAME}}||-9}}s have been requested. Please help CPDL by adding the requested translation to the page. To find out more details of how to add texts and translations, please refer to the [[Help:How can I add a text or translation?|help page]]. For a list of score pages which already have their text added, [[:Category:Texts|click here]].
[[Category:Translation requests| {{PAGENAME}}]]<!--
[[Category:Translation requests| {{PAGENAME}}]]<!--



Revision as of 03:22, 3 November 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!