Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
|works        = List of works first published in {{#sub:{{PAGENAME}}||-6}}.
|works        = List of works first published in {{#sub:{{PAGENAME}}||-6}}.
[[Category:Works grouped by publication year| ]]<!--
[[Category:Works grouped by publication year| ]]<!--
-->
|publications = List of publications first issued in {{#sub:{{PAGENAME}}||-6}}.
[[Category:Publications grouped by publication year| ]]<!--


-->
-->
Line 44: Line 48:
:<tt>Category:<nationality>_composers</tt>
:<tt>Category:<nationality>_composers</tt>
:<tt>Category:<year>_works</tt>
:<tt>Category:<year>_works</tt>
:<tt>Category:<year>_publications</tt>
:<tt>Category:Pages_in_<language></tt>
:<tt>Category:Pages_in_<language></tt>
:<tt>Category:Works_in_<language></tt>
:<tt>Category:Works_in_<language></tt>
Line 53: Line 58:
:alias for {{tl|TranslationsCatTxt|<language>}}
:alias for {{tl|TranslationsCatTxt|<language>}}
:alias for {{tl|ComposerNationality|<nationality>}}
:alias for {{tl|ComposerNationality|<nationality>}}
:original template
:original template
:original template
:original template
:original template

Revision as of 19:10, 21 November 2018

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:<language>_texts
Category:<language>_translations
Category:<nationality>_composers
Category:<year>_works
Category:<year>_publications
Category:Pages_in_<language>
Category:Works_in_<language>
original template
replaces {{EdCatTxt}}
replaces {{CompCatTxt}}
alias for {{TextsByLangCatTxt|<language>}}
alias for {{TranslationsCatTxt|<language>}}
alias for {{ComposerNationality|<nationality>}}
original template
original template
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!