Template:ColorLang
Jump to navigation
Jump to search
This documentation is transcluded from Template:ColorLang/doc.
Usage[edit]
{{ColorLang
|c1=color name
...
|c7=color name
|lang1=text in lang1
|lang2=text in lang2
|lang3=text in lang3
...
}}
- Colors
- There is a maximum of seven colors to be used in
|c1=
up to|c15=
. The name of color will display a so-colored box. - Use them in alphabetical order. Example: black, blue, brown, green, orange, pink, purple, red, silver, white, yellow.
- Languages
- Use the usual abbreviation for the languages
- It will display the name of the language and your text
- Every language is considered. If any is missing, report in the talk page of this template.
Examples[edit]
Basic[edit]
Text :
{{ColorLang
|c1=black
|c2=blue
|ar=هذا مثال !
|en=This is an example !
|fr=Ceci est un exemple !
|he=זוהי הגדמה !
|nl=Dat is een voorbeeld !
}}
Result :
العربية: هذا مثال ! · English: This is an example ! · Français : Ceci est un exemple ! · עברית: זוהי הגדמה ! · Nederlands: Dat is een voorbeeld ! ·
|
Up to seven colors[edit]
{{ColorLang
|c1=black
|c2=blue
|c3=brown
|c4=green
|c5=orange
|c6=white
|c7=yellow
|ar=هذا مثال
|en=Black, blue, brown, green, orange, white, yellow
|fr=Ceci est un exemple
|he=זוהי הגדמה
|nl=Dat is een voorbeeld
}}
Result :
العربية: هذا مثال · English: Black, blue, brown, green, orange, white, yellow · Français : Ceci est un exemple · עברית: זוהי הגדמה · Nederlands: Dat is een voorbeeld ·
|
See also[edit]
- Similar to {{Translation table}} with colors added