Template:Language: Difference between revisions
mNo edit summary |
Tag: Rollback |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{switch | <!-- don't delete this comment, it's necessary as a line break --> | ||
| | <includeonly>{{#switch:{{{1}}} | ||
| | |2='''Languages:''' {{lcat|{{{2}}}}}, <!-- | ||
| | -->{{lcat|{{{3}}}}}{{{4|}}} | ||
| | |3='''Languages:''' {{lcat|{{{2}}}}}, <!-- | ||
| | -->{{lcat|{{{3}}}}}, <!-- | ||
| | -->{{lcat|{{{4}}}}}{{{5|}}} | ||
|4='''Languages:''' {{lcat|{{{2}}}}}, <!-- | |||
-->{{lcat|{{{3}}}}}, <!-- | |||
-->{{lcat|{{{4}}}}}, <!-- | |||
-->{{lcat|{{{5}}}}}{{{6|}}} | |||
|5='''Languages:''' {{lcat|{{{2}}}}}, <!-- | |||
-->{{lcat|{{{3}}}}}, <!-- | |||
-->{{lcat|{{{4}}}}}, <!-- | |||
-->{{lcat|{{{5}}}}}, <!-- | |||
-->{{lcat|{{{6}}}}}{{{7|}}} | |||
|6='''Languages:''' {{lcat|{{{2}}}}}, <!-- | |||
-->{{lcat|{{{3}}}}}, <!-- | |||
-->{{lcat|{{{4}}}}}, <!-- | |||
-->{{lcat|{{{5}}}}}, <!-- | |||
-->{{lcat|{{{6}}}}}, <!-- | |||
-->{{lcat|{{{7}}}}}{{{8|}}} | |||
|7='''Languages:''' {{lcat|{{{2}}}}}, <!-- | |||
-->{{lcat|{{{3}}}}}, <!-- | |||
-->{{lcat|{{{4}}}}}, <!-- | |||
-->{{lcat|{{{5}}}}}, <!-- | |||
-->{{lcat|{{{6}}}}}, <!-- | |||
-->{{lcat|{{{7}}}}}, <!-- | |||
-->{{lcat|{{{8}}}}}{{{9|}}} | |||
|8='''Languages:''' {{lcat|{{{2}}}}}, <!-- | |||
-->{{lcat|{{{3}}}}}, <!-- | |||
-->{{lcat|{{{4}}}}}, <!-- | |||
-->{{lcat|{{{5}}}}}, <!-- | |||
-->{{lcat|{{{6}}}}}, <!-- | |||
-->{{lcat|{{{7}}}}}, <!-- | |||
-->{{lcat|{{{8}}}}}, <!-- | |||
-->{{lcat|{{{9}}}}}{{{10|}}} | |||
|None|none ='''Language:''' {{cat|Wordless works|None}}{{{2|}}} | |||
|#default ='''Language:''' {{lcat|{{{1}}}}}{{{2|}}} | |||
}}<br></includeonly><noinclude> | }}<br></includeonly><noinclude> | ||
This template is meant to format the entry for a single or multiple languages. If a work has | {{DisplayBox|title=Documentation|text= | ||
* | |||
This template is meant to format the entry for a single or multiple languages (up to 8). | |||
* | |||
If a work has only one language, use: | |||
*{{tl|Language|Latin}} | |||
If a work contains macaronic text, or has text underlay in more than one language, use: | |||
*{{tl|Language|2|French|Italian}} | |||
For each language used, the work will be categorized in the proper language category. | |||
;Special cases | |||
For works that are sung only with ''Ah''´s, ''Oh''´s or ''bocca chiusa'', use: | |||
*{{tl|Language|None}} | |||
For works that are sung with an onomatopoeic or made-up language, use: | |||
*{{tl|Language|Invented}} | |||
For works whose language couldn't be identified properly, use: | |||
*{{tl|Language|Unknown}} | |||
For works that are not supposed to have an underlay text (like Hymn tunes or Anglican chants), use: | |||
*{{tl|Language|Unspecified}} | |||
The work will be categorized respectively in one of these categories: {{CiteCat|Wordless works}}, {{CiteCat|Works in invented language}}, {{CiteCat|Works in unknown language}} or {{CiteCat|Works in unspecified language}}. | |||
With the exception of "None", all other special cases can be mixed with a regular language: | |||
*{{tl|Language|2|English|Invented}} | |||
;Other features | |||
The template now accepts language names mistakenly typed with lowercase initial. The same applies for the special cases cited above: | |||
*{{tl|Language|2|english|invented}} | |||
The links will be displayed normally with uppercase initial and the work will be correctly categorized in {{CiteCat|Works in English}}, {{CiteCat|Works in invented language}}. | |||
A text can be added after the language or list of languages when necessary: | |||
*{{tl|Language|English|«text»}} | |||
*{{tl|Language|2|Latin|English|«text»}} | |||
The «text» will be displayed on the same line. | |||
}}<br><br> | |||
{{prot-temp}} | {{prot-temp}} | ||
[[Category:Templates | [[Category:Templates]]</noinclude> |
Latest revision as of 17:41, 19 January 2020
This template is meant to format the entry for a single or multiple languages (up to 8).
If a work has only one language, use:
- {{Language|Latin}}
If a work contains macaronic text, or has text underlay in more than one language, use:
- {{Language|2|French|Italian}}
For each language used, the work will be categorized in the proper language category.
- Special cases
For works that are sung only with Ah´s, Oh´s or bocca chiusa, use:
- {{Language|None}}
For works that are sung with an onomatopoeic or made-up language, use:
- {{Language|Invented}}
For works whose language couldn't be identified properly, use:
- {{Language|Unknown}}
For works that are not supposed to have an underlay text (like Hymn tunes or Anglican chants), use:
- {{Language|Unspecified}}
The work will be categorized respectively in one of these categories: Wordless works, Works in invented language, Works in unknown language or Works in unspecified language.
With the exception of "None", all other special cases can be mixed with a regular language:
- {{Language|2|English|Invented}}
- Other features
The template now accepts language names mistakenly typed with lowercase initial. The same applies for the special cases cited above:
- {{Language|2|english|invented}}
The links will be displayed normally with uppercase initial and the work will be correctly categorized in Works in English, Works in invented language.
A text can be added after the language or list of languages when necessary:
The «text» will be displayed on the same line.
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |