Template:CatTxt: Difference between revisions
Jump to navigation
Jump to search
Documentation
mNo edit summary |
(added arguments in the examples) |
||
Line 26: | Line 26: | ||
|#default = {{#ifeq: {{#sub:{{PAGENAME}}|0|8}}|Works in | |#default = {{#ifeq: {{#sub:{{PAGENAME}}|0|8}}|Works in | ||
| {{WksLangTxt|{{#explode:{{PAGENAME}}|Works in|1}} }} | | {{WksLangTxt|{{#explode:{{PAGENAME}}|Works in|1}} }} | ||
|<font color=red>ERROR: | |<font color=red>ERROR: The template {{tl|CatTxt}} was not designed for this category!</font> | ||
}} }}</includeonly><noinclude> | }} }}</includeonly><!-- | ||
{{DisplayBox|title=Documentation|text= | |||
--><noinclude>{{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 45: | Line 46: | ||
:replaces {{tl|CompCatTxt}} | :replaces {{tl|CompCatTxt}} | ||
:replaces {{tl|LyricistSettingsCat}} | :replaces {{tl|LyricistSettingsCat}} | ||
:alias for {{tl|TextsByLangCatTxt}} | :alias for {{tl|TextsByLangCatTxt|<language>}} | ||
:alias for {{tl|TranslationsCatTxt}} | :alias for {{tl|TranslationsCatTxt|<language>}} | ||
:alias for {{tl|ComposerNationality}} | :alias for {{tl|ComposerNationality|<nationality>}} | ||
:alias for {{tl|WksLangTxt}} | :alias for {{tl|WksLangTxt|<language>}} | ||
{{bottom}} | {{bottom}} | ||
Revision as of 23:43, 1 May 2013
A simple template that adds the proper text for each of the following category types:
|
|