Languages Template: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>KOALA NET21
No edit summary
No edit summary
 
(33 intermediate revisions by 5 users not shown)
Line 15: Line 15:
  <nowiki>{{Arabic}}</nowiki>
  <nowiki>{{Arabic}}</nowiki>
|{{Arabic}}
|{{Arabic}}
|-
|Cantonese
|
<nowiki>{{Cantonese}}</nowiki>
|{{Cantonese}}
|-
|-
|Chinese
|Chinese
Line 50: Line 55:
  <nowiki>{{German}}</nowiki>
  <nowiki>{{German}}</nowiki>
|{{German}}
|{{German}}
|-
|Icelandic
|
<nowiki>{{Icelandic}}</nowiki>
|{{Icelandic}}
|-
|Indonesian
|
<nowiki>{{Indonesian}}</nowiki>
|{{Indonesian}}
|-
|-
|Italian
|Italian
Line 60: Line 75:
  <nowiki>{{Japanese}}</nowiki>
  <nowiki>{{Japanese}}</nowiki>
|{{Japanese}}
|{{Japanese}}
|-
|Khmer
|
<nowiki>{{Khmer}}</nowiki>
|{{Khmer}}
|-
|-
|Korean
|Korean
Line 70: Line 90:
  <nowiki>{{Latvian}}</nowiki>
  <nowiki>{{Latvian}}</nowiki>
|{{Latvian}}
|{{Latvian}}
|-
|Lithuanian
|
<nowiki>{{Lithuanian}}</nowiki>
|{{Lithuanian}}
|-
|-
|Malagasy
|Malagasy
Line 120: Line 145:
  <nowiki>{{Swedish}}</nowiki>
  <nowiki>{{Swedish}}</nowiki>
|{{Swedish}}
|{{Swedish}}
|-
|Tagalog
|
<nowiki>{{Tagalog}}</nowiki>
|{{Tagalog}}
|-
|-
|Thai
|Thai
Line 139: Line 169:
|-|
|-|
Simple Tricks=
Simple Tricks=
If the flags do not align well even when they are each on a different line in source mode (and separated by an empty line), add a bullet at the beginning of each 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]):
* If it doesn't work, just add the characters "<nowiki><br></nowiki>" at the beginning of the first line.
* You can add a bullet at the beginning of each line <small>(more aesthetic but generally doesn't solve the problem)</small>
 
* <u>Include "<nowiki><br></nowiki>" between all the language templates.</u>
* If it still doesn't work, try to include "<nowiki><br></nowiki>" but between the first and second models.  
{| class="article-table"
{| class="article-table"
!
!
Line 169: Line 198:
{{!}}-{{!}}
{{!}}-{{!}}
(2)=
(2)=
<nowiki>{{Spanish}}</nowiki>
  <nowiki><br></nowiki>
  <nowiki><br></nowiki>
<nowiki>{{Spanish}}</nowiki>
  <nowiki>{{English}}</nowiki>
  <nowiki>{{English}}</nowiki>
<nowiki><br></nowiki>
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
{{!}}-{{!}}
{{!}}-{{!}}
(3)=
(3)=
  <nowiki>{{Spanish}}</nowiki>
  <nowiki>*{{Spanish}}</nowiki>
<nowiki><br></nowiki>
<nowiki>*{{English}}</nowiki>
  <nowiki><br></nowiki>
  <nowiki><br></nowiki>
  <nowiki>{{English}}</nowiki>
  <nowiki>*{{Portuguese}}</nowiki>
<nowiki>{{Portuguese}}</nowiki>
{{!}}-{{!}}}}
{{!}}-{{!}}}}
|<br>
|<br>
Line 187: Line 219:
{{Portuguese}}
{{Portuguese}}
|-
|-
! With bullets
! With just bullets
|
|
  <nowiki>*{{Spanish}}</nowiki>
  <nowiki>*{{Spanish}}</nowiki>
Line 202: Line 234:
|}
|}
</tabber></div>
</tabber></div>
[[Category:Browse]]
[[Category:Templates]]
[[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>