Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(expanded documentation)
(now also accepts Category:<language>_translation_requests)
Line 14: Line 14:
__HIDDENCAT__
__HIDDENCAT__
[[Category:Lyricist settings categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--
[[Category:Lyricist settings categories|{{{1|{{NameSorter|{{#sub:{{PAGENAME}}||-9}}}} }}}]]<!--
-->
|requests    = This category lists score pages for which a {{#explode:{{PAGENAME}}|translation requests|0}} translation has 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}}]]<!--


-->
-->
Line 22: Line 27:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{DisplayBox|bgcolor=g|text=
{{DisplayBox|bgcolor=g|text=
A simple template that merges the functionality of three other templates:
A simple template that adds the proper text for each of the following category types:
{{top}}
* {{tl|CompCatTxt}}
* {{tl|EdCatTxt}}
* {{tl|LyricistSettingsCat}}
{{middle}}
(inside Category:<composer>_compositions)<br>
(inside Category:<editor>_editions)<br>
(inside Category:<lyricist>_settings)
{{bottom}}


It also works as an alias for these templates (still in test):
{{top}}
{{top}}
* {{tl|ComposerNationality}}
:<tt>Category:<language>_translation_requests</tt>
* {{tl|TextsByLangCatTxt}}
:<tt>Category:<editor>_editions</tt>
* {{tl|TranslationsCatTxt}}
:<tt>Category:<composer>_compositions</tt>
:<tt>Category:<lyricist>_settings</tt>
:<tt>Category:<language>_texts</tt>
:<tt>Category:<language>_translations</tt>
:<tt>Category:<nationality>_composers</tt>
{{middle}}
{{middle}}
(inside Category:<nationality>_composers)<br>
:&nbsp;
(inside Category:<language>_texts)<br>
:replaces {{tl|EdCatTxt}}
(inside Category:<language>_translations)
:replaces {{tl|CompCatTxt}}
:replaces {{tl|LyricistSettingsCat}}
:alias for {{tl|TextsByLangCatTxt}}
:alias for {{tl|TranslationsCatTxt}}
:alias for {{tl|ComposerNationality}}
{{bottom}}
{{bottom}}



Revision as of 23:00, 1 May 2013


A simple template that adds the proper text for each of the following category types:

Category:<language>_translation_requests
Category:<editor>_editions
Category:<composer>_compositions
Category:<lyricist>_settings
Category:<language>_texts
Category:<language>_translations
Category:<nationality>_composers
 
replaces {{EdCatTxt}}
replaces {{CompCatTxt}}
replaces {{LyricistSettingsCat}}
alias for {{TextsByLangCatTxt}}
alias for {{TranslationsCatTxt}}
alias for {{ComposerNationality}}
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: This template was not designed for this category!