Template:CatTxt: Difference between revisions
Jump to navigation
Jump to search
Documentation
(per talk) |
(added a column for mother categories) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
[[Category:Composer works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!-- | [[Category:Composer works categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-13}}}} }}}]]<!-- | ||
--> | |||
|arrangements = This category provides a list of arrangements by [[{{#sub:{{PAGENAME}}||-13}}]] on CPDL of works originally by a different composer, sorted alphabetically by title of the works pages. {{#if:{{{sort|}}}|See the arranger page for a list of works sorted by {{{sort}}}.}} | |||
[[Category:Arranger 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}}]]. | ||
Line 13: | Line 16: | ||
--> | --> | ||
|works = List of works first published in {{#sub:{{PAGENAME}}||-6}}. {{#ifexist: Category:{{#sub:{{PAGENAME}}||-6}} publications | See also | |works = List of works first published in {{#sub:{{PAGENAME}}||-6}}. {{#ifexist: Category:{{#sub:{{PAGENAME}}||-6}} publications | See also a list of [[:Category:{{#sub:{{PAGENAME}}||-6}} publications|publications first issued]] 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}}||-13}}. {{#ifexist: Category:{{#sub:{{PAGENAME}}||-13}} works | See also | |publications = List of publications first issued in {{#sub:{{PAGENAME}}||-13}}. {{#ifexist: Category:{{#sub:{{PAGENAME}}||-13}} works | See also a list of [[:Category:{{#sub:{{PAGENAME}}||-13}} works|works first published]] in {{#sub:{{PAGENAME}}||-13}}.}} | ||
[[Category:Publications grouped by publication year| ]]<!-- | [[Category:Publications grouped by publication year| ]]<!-- | ||
Line 41: | Line 44: | ||
{{top}} | {{top}} | ||
:'''Category name''' | |||
:<tt>Category:<language>_translation_requests</tt> | :<tt>Category:<language>_translation_requests</tt> | ||
:<tt>Category:<editor>_editions</tt> | :<tt>Category:<editor>_editions</tt> | ||
:<tt>Category:<composer>_compositions</tt> | :<tt>Category:<composer>_compositions</tt> | ||
:<tt>Category:<arranger>_arrangements</tt> | |||
:<tt>Category:<language>_texts</tt> | :<tt>Category:<language>_texts</tt> | ||
:<tt>Category:<language>_translations</tt> | :<tt>Category:<language>_translations</tt> | ||
Line 51: | Line 56: | ||
:<tt>Category:Pages_in_<language></tt> | :<tt>Category:Pages_in_<language></tt> | ||
:<tt>Category:Works_in_<language></tt> | :<tt>Category:Works_in_<language></tt> | ||
{{middle}} | {{middle|3}} | ||
:'''Mother category''' | |||
:{{CiteCat|Translation requests}} | |||
:{{CiteCat|Editor works categories}} | |||
:{{CiteCat|Composer works categories}} | |||
:{{CiteCat|Arranger works categories}} | |||
:{{CiteCat|Texts (by language)}} | |||
:{{CiteCat|Translations (by language)}} | |||
:{{CiteCat|Composers grouped by nationality}} | |||
:{{CiteCat|Works grouped by publication year}} | |||
:{{CiteCat|Publications grouped by publication year}} | |||
:{{CiteCat|Translated pages}} | |||
:{{CiteCat|Works by language}} | |||
{{middle|3}} | |||
:'''Comments''' | |||
:original template | :original template | ||
:replaces {{tl|EdCatTxt}} | :replaces {{tl|EdCatTxt}} | ||
:replaces {{tl|CompCatTxt}} | :replaces {{tl|CompCatTxt}} | ||
:replaces {{tl|ArrangerCatTxt}} | |||
:alias for {{tl|TextsByLangCatTxt|<language>}} | :alias for {{tl|TextsByLangCatTxt|<language>}} | ||
:alias for {{tl|TranslationsCatTxt|<language>}} | :alias for {{tl|TranslationsCatTxt|<language>}} | ||
Line 66: | Line 86: | ||
;Usage: Just add {{tl|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: | ;Usage: Just add {{tl|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: | ||
:{{CatTxt}} | :{{CatTxt}} | ||
;Syntax with sort key: Categories that contain a name (be it a composer, arranger or editor) are automatically sorted by the person's last name. If that is not the desirable result, a sort key can be added as a parameter: | |||
:{{tl|CatTxt|Johnson, Alexander}} | |||
}} | }} | ||
[[Category:Category header templates]]</noinclude> | [[Category:Category header templates]]</noinclude> |
Revision as of 18:47, 5 June 2019
This multipurpose template adds proper header texts to the following types of categories:
|
|
|
- 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!
- Syntax with sort key
- Categories that contain a name (be it a composer, arranger or editor) are automatically sorted by the person's last name. If that is not the desirable result, a sort key can be added as a parameter:
- {{CatTxt|Johnson, Alexander}}