Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(now an alias for {{WksLangTxt}})
mNo edit summary
Line 27: Line 27:
   |            {{WksLangTxt|{{#explode:{{PAGENAME}}|Works in|1}} }}
   |            {{WksLangTxt|{{#explode:{{PAGENAME}}|Works in|1}} }}
   |<font color=red>ERROR: This template was not designed for this category!</font>
   |<font color=red>ERROR: This template was not designed for this category!</font>
}}</includeonly><noinclude>
}} }}</includeonly><noinclude>
{{DisplayBox|title=Documentation|text=
{{DisplayBox|title=Documentation|text=
A simple template that adds the proper text for each of the following category types:
A simple template that adds the proper text for each of the following category types:

Revision as of 23:35, 1 May 2013


Documentation

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
Category:Works_in_<language>
 
replaces {{EdCatTxt}}
replaces {{CompCatTxt}}
replaces {{LyricistSettingsCat}}
alias for {{TextsByLangCatTxt}}
alias for {{TranslationsCatTxt}}
alias for {{ComposerNationality}}
alias for {{WksLangTxt}}
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!