Template:CatTxt: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(rewording)
(now an alias for {{WksLangTxt}})
Line 24: Line 24:
|texts        = {{TextsByLangCatTxt|{{#explode:{{PAGENAME}}|texts|0}} }}
|texts        = {{TextsByLangCatTxt|{{#explode:{{PAGENAME}}|texts|0}} }}
|translations = {{TranslationsCatTxt|{{#explode:{{PAGENAME}}|translations|0}} }}
|translations = {{TranslationsCatTxt|{{#explode:{{PAGENAME}}|translations|0}} }}
|#default    = <font color=red>ERROR: This template was not designed for this category!</font>
|#default    = {{#ifeq: {{#sub:{{PAGENAME}}|0|8}}|Works in
  |            {{WksLangTxt|{{#explode:{{PAGENAME}}|Works in|1}} }}
  |<font color=red>ERROR: This template was not designed for this category!</font>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{DisplayBox|bgcolor=g|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:


Line 37: Line 39:
:<tt>Category:<language>_translations</tt>
:<tt>Category:<language>_translations</tt>
:<tt>Category:<nationality>_composers</tt>
:<tt>Category:<nationality>_composers</tt>
:<tt>Category:Works_in_<language></tt>
{{middle}}
{{middle}}
:&nbsp;
:&nbsp;
Line 45: Line 48:
:alias for {{tl|TranslationsCatTxt}}
:alias for {{tl|TranslationsCatTxt}}
:alias for {{tl|ComposerNationality}}
:alias for {{tl|ComposerNationality}}
:alias for {{tl|WksLangTxt}}
{{bottom}}
{{bottom}}



Revision as of 23:34, 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:
{{#switch: cattxt

|compositions = This category provides a list of [[]] works on CPDL, sorted alphabetically by title of the works pages. |editions = This category lists works with editions provided by [[User:|]]. |settings = A list of [[]] settings by various composers. |requests = This category lists score pages for which 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 page. For a list of score pages which already have their text added, click here.

|composers =

  A listing of all CatTxt composers represented on CPDL.   Question.gif
Click on composer's name to see list of works.

|texts =

Works in CatTxt

Works in this subcategory of Texts (by language) have been categorized as having original text in CatTxt . See Text requests to check if there are works in CatTxt which have yet to have the text added.

There are instructions/guidelines for posting translations at Help:How can I add a text or translation?.

|translations =
Scroll.gif
Text/Translations Catalog
Over 11300 texts and 2700 translations
» Click here for a list of all subcategories «

This subcategory of Translations (by language) lists all pages which have had the {{Translation|CatTxt}} template applied to them, indicating that the page in question contains a translation into CatTxt .

Click on alphabet links below to navigate this list.

There are instructions/guidelines for posting translations here. Pages which have yet to have the text added are categorised here. Translation requests are listed here. |#default = ERROR: This template was not designed for this category!