Languages Template: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>KOALA NET21
No edit summary
No edit summary
 
(99 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  Language templates.
<div class=""><tabber>
  Language templates=
{| class="article-table"
{| class="article-table"
!Language
!Language
Line 9: Line 10:
  <nowiki>{{Afrikaans}}</nowiki>
  <nowiki>{{Afrikaans}}</nowiki>
|{{Afrikaans}}
|{{Afrikaans}}
|-
|Arabic
|
<nowiki>{{Arabic}}</nowiki>
|{{Arabic}}
|-
|Cantonese
|
<nowiki>{{Cantonese}}</nowiki>
|{{Cantonese}}
|-
|-
|Chinese
|Chinese
Line 44: Line 55:
  <nowiki>{{German}}</nowiki>
  <nowiki>{{German}}</nowiki>
|{{German}}
|{{German}}
|-
|Icelandic
|
<nowiki>{{Icelandic}}</nowiki>
|{{Icelandic}}
|-
|Indonesian
|
<nowiki>{{Indonesian}}</nowiki>
|{{Indonesian}}
|-
|-
|Italian
|Italian
Line 54: Line 75:
  <nowiki>{{Japanese}}</nowiki>
  <nowiki>{{Japanese}}</nowiki>
|{{Japanese}}
|{{Japanese}}
|-
|Khmer
|
<nowiki>{{Khmer}}</nowiki>
|{{Khmer}}
|-
|Korean
|
<nowiki>{{Korean}}</nowiki>
|{{Korean}}
|-
|Latvian
|
<nowiki>{{Latvian}}</nowiki>
|{{Latvian}}
|-
|Lithuanian
|
<nowiki>{{Lithuanian}}</nowiki>
|{{Lithuanian}}
|-
|Malagasy
|
<nowiki>{{Malagasy}}</nowiki>
|{{Malagasy}}
|-
|-
|Nepali
|Nepali
Line 74: Line 120:
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
|{{Portuguese}}
|{{Portuguese}}
|-
|Romanian
|
<nowiki>{{Romanian}}</nowiki>
|{{Romanian}}
|-
|-
|Russian
|Russian
Line 79: Line 130:
  <nowiki>{{Russian}}</nowiki>
  <nowiki>{{Russian}}</nowiki>
|{{Russian}}
|{{Russian}}
|-
|Serbo-Croatian
|
<nowiki>{{Serbo-Croatian}}</nowiki>
|{{Serbo-Croatian}}
|-
|-
|Spanish
|Spanish
Line 89: Line 145:
  <nowiki>{{Swedish}}</nowiki>
  <nowiki>{{Swedish}}</nowiki>
|{{Swedish}}
|{{Swedish}}
|-
|Tagalog
|
<nowiki>{{Tagalog}}</nowiki>
|{{Tagalog}}
|-
|Thai
|
<nowiki>{{Thai}}</nowiki>
|{{Thai}}
|-
|-
|Turkish
|Turkish
Line 94: Line 160:
  <nowiki>{{Turkish}}</nowiki>
  <nowiki>{{Turkish}}</nowiki>
|{{Turkish}}
|{{Turkish}}
|-
|Vietnamese
|
<nowiki>{{Vietnamese}}</nowiki>
|{{Vietnamese}}
|}
|}


== Trick ==
|-|
If the flags do not align well even when they are each on a different line in source mode, add a bullet at the beginning of each line.
Simple Tricks=
* If it doesn't work, just add the characters "<nowiki><br></nowiki>" at the beginning of the first line.
If the '''flags do not align correctly''' even when they are each on a different line in source mode (and separated by one or two empty line[s]):
 
* You can add a bullet at the beginning of each line <small>(more aesthetic but generally doesn't solve the problem)</small>
* If it still doesn't work, try to include "<nowiki><br></nowiki>" between the first and second models.  
* <u>Include "<nowiki><br></nowiki>" between all the language templates.</u>
{| class="article-table"
{| class="article-table"
!
!
Line 118: Line 189:
!Solved
!Solved
|
|
<tabber>
{{#tag:tabber|
(1)=
<nowiki>{{Spanish}}</nowiki>


OR(1)=
<nowiki><br></nowiki>
  <nowiki>{{English}}</nowiki>
  <nowiki>{{English}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
{{!}}-{{!}}
(2)=
  <nowiki>{{Spanish}}</nowiki>
  <nowiki>{{Spanish}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki><br></nowiki>
 
|-|
OR(2)=
  <nowiki>{{English}}</nowiki>
  <nowiki>{{English}}</nowiki>
  <nowiki><br></nowiki>
  <nowiki><br></nowiki>
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Spanish}}</nowiki>
{{!}}-{{!}}
  <nowiki>{{Portuguese}}</nowiki>
(3)=
</tabber>
  <nowiki>*{{Spanish}}</nowiki>
|{{English}}<br>{{Spanish}}
  <nowiki><br></nowiki>
<nowiki>*{{English}}</nowiki>
<nowiki><br></nowiki>
<nowiki>*{{Portuguese}}</nowiki>
{{!}}-{{!}}}}
|<br>
{{Spanish}}
{{English}}
{{Portuguese}}
{{Portuguese}}
|-
! With just bullets
|
<nowiki>*{{Spanish}}</nowiki>
<nowiki>*{{English}}</nowiki>
<nowiki>*{{Portuguese}}</nowiki>
|
*{{Spanish}}
*{{English}}
*{{Portuguese}}
|}
|}
[[Category:Browse]]
</tabber></div>
[[Category:Templates]]

Latest revision as of 15:05, 7 July 2023

<tabber>
Language templates=
Language Template Result
Afrikaans
{{Afrikaans}}
Flag of South Africa.png Afrikaans
Arabic
{{Arabic}}
Flag of Arabic.jpg Arabic
Cantonese
{{Cantonese}}
Cantonese flag.png Cantonese
Chinese
{{Chinese}}
CN.gif Chinese
Danish
{{Danish}}
Danemark drapeau.png Danish
Dutch
{{Dutch}}
Dutch.png Dutch
English
{{English}}
Englishflag.jpg English
Finnish
{{Finnish}}
FI.gif Finnish
French
{{French}}
French.png French
German
{{German}}
Drapeau germanophonie.jpg German
Icelandic
{{Icelandic}}
IcelandFla.png Icelandic
Indonesian
{{Indonesian}}
Flag of Indonesia irl.png Indonesian
Italian
{{Italian}}
Flag of the Italian language.png Italian
Japanese
{{Japanese}}
Drapeau du japon avec bords.png Japanese
Khmer
{{Khmer}}
2880px-Flag of Cambodia.svg.png Khmer
Korean
{{Korean}}
Flag of South Korea.png Korean
Latvian
{{Latvian}}
214zoqoO05L. AC .jpg Latvian
Lithuanian
{{Lithuanian}}
Lithuanianflag.png Lithuanian
Malagasy
{{Malagasy}}
Madagascar drapeau.png Malagasy
Nepali
{{Nepali}}
Népal drapeau.png Nepali
Norwegian
{{Norwegian}}
Norvège drapeau.png Norwegian
Polish
{{Polish}}
Polish flag.png Polish
Portuguese
{{Portuguese}}
Portugueselanguage.png Portuguese
Romanian
{{Romanian}}
Flag of Romania.png Romanian
Russian
{{Russian}}
Flag of Russia.png Russian
Serbo-Croatian
{{Serbo-Croatian}}
Flag of Serbo-Croatian.png Serbo-Croatian
Spanish
{{Spanish}}
Flagspain.png Spanish
Swedish
{{Swedish}}
Drapeau suède.png Swedish
Tagalog
{{Tagalog}}
Flag of the Tagalog people.svg.png Tagalog
Thai
{{Thai}}
Thailand-flag-small.png Thai
Turkish
{{Turkish}}
Flag of turkey.pngTurkish
Vietnamese
{{Vietnamese}}
Flag of Vietnam.png Vietnamese

|-| Simple Tricks= If the flags do not align correctly even when they are each on a different line in source mode (and separated by one or two empty line[s]):

  • You can add a bullet at the beginning of each line (more aesthetic but generally doesn't solve the problem)
  • Include "<br>" between all the language templates.
(2)= {{Spanish}} <br> {{English}} <br> {{Portuguese}} (3)= *{{Spanish}} <br> *{{English}} <br> *{{Portuguese}}
Source mode Result
Alignment

problem

{{Spanish}}
{{English}}
{{Portuguese}}
Flagspain.png Spanish

Englishflag.jpg English Portugueselanguage.png Portuguese

Solved

<tabber> (1)=

{{Spanish}}
{{English}}
{{Portuguese}}

Flagspain.png Spanish

Englishflag.jpg English

Portugueselanguage.png Portuguese

With just bullets
*{{Spanish}}
*{{English}}
*{{Portuguese}}
  • Flagspain.png Spanish
  • Englishflag.jpg English
  • Portugueselanguage.png Portuguese
</tabber>