Languages Template: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>KOALA NET21
No edit summary
No edit summary
 
(116 intermediate revisions by 6 users not shown)
Line 1: Line 1:
  Languages template.
<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
|
<nowiki>{{Nepali}}</nowiki>
|{{Nepali}}
|-
|-
|Norwegian
|Norwegian
Line 69: Line 120:
  <nowiki>{{Portuguese}}</nowiki>
  <nowiki>{{Portuguese}}</nowiki>
|{{Portuguese}}
|{{Portuguese}}
|-
|Romanian
|
<nowiki>{{Romanian}}</nowiki>
|{{Romanian}}
|-
|-
|Russian
|Russian
Line 74: Line 130:
  <nowiki>{{Russian}}</nowiki>
  <nowiki>{{Russian}}</nowiki>
|{{Russian}}
|{{Russian}}
|-
|Serbo-Croatian
|
<nowiki>{{Serbo-Croatian}}</nowiki>
|{{Serbo-Croatian}}
|-
|-
|Spanish
|Spanish
Line 84: Line 145:
  <nowiki>{{Swedish}}</nowiki>
  <nowiki>{{Swedish}}</nowiki>
|{{Swedish}}
|{{Swedish}}
|}[[Category:Browse]]
|-
|Tagalog
|
<nowiki>{{Tagalog}}</nowiki>
|{{Tagalog}}
|-
|Thai
|
<nowiki>{{Thai}}</nowiki>
|{{Thai}}
|-
|Turkish
|
<nowiki>{{Turkish}}</nowiki>
|{{Turkish}}
|-
|Vietnamese
|
<nowiki>{{Vietnamese}}</nowiki>
|{{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 <small>(more aesthetic but generally doesn't solve the problem)</small>
* <u>Include "<nowiki><br></nowiki>" between all the language templates.</u>
{| class="article-table"
!
!Source mode
!Result
|-
!Alignment
problem
|
<nowiki>{{Spanish}}</nowiki>
<nowiki>{{English}}</nowiki>
<nowiki>{{Portuguese}}</nowiki>
|{{Spanish}}
{{English}}
{{Portuguese}}
|-
!Solved
|
{{#tag:tabber|
(1)=
<nowiki>{{Spanish}}</nowiki>
 
<nowiki>{{English}}</nowiki>
 
<nowiki>{{Portuguese}}</nowiki>
{{!}}-{{!}}
(2)=
 
<nowiki>{{Spanish}}</nowiki>
<nowiki><br></nowiki>
<nowiki>{{English}}</nowiki>
<nowiki><br></nowiki>
<nowiki>{{Portuguese}}</nowiki>
{{!}}-{{!}}
(3)=
<nowiki>*{{Spanish}}</nowiki>
<nowiki><br></nowiki>
<nowiki>*{{English}}</nowiki>
<nowiki><br></nowiki>
<nowiki>*{{Portuguese}}</nowiki>
{{!}}-{{!}}}}
|<br>
{{Spanish}}
{{English}}
{{Portuguese}}
|-
! With just bullets
|
<nowiki>*{{Spanish}}</nowiki>
 
<nowiki>*{{English}}</nowiki>
 
<nowiki>*{{Portuguese}}</nowiki>
|
*{{Spanish}}
 
*{{English}}
 
*{{Portuguese}}
|}
</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>