Template:Userbox location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added categories for some countries which were missing them + added Vietnam and Spain + added Finnish translation for some ALSO I did this edit at 4 AM so feel free to correct any mistakes) |
||
Line 1: | Line 1: | ||
{{Todo|Add more locales | {{Todo|Add more locales}} {{Doc}} | ||
<includeonly><onlyinclude>{{#switch:{{{type}}} | <includeonly><onlyinclude>{{#switch:{{{type}}} | ||
| au | Australia = {{userbox | | au | Australia = {{userbox | ||
Line 14: | Line 14: | ||
| info-s = background-color:rgb(59, 86, 154,.16) | | info-s = background-color:rgb(59, 86, 154,.16) | ||
| id = {{Flag|en-GB}} | | id = {{Flag|en-GB}} | ||
| info = {{Autolang|This user hails from the United Kingdom.}} | | info = {{Autolang|This user hails from the United Kingdom.|fi=Tämä käyttäjä on kotoisin Yhdistyneestä Kuningaskunnasta.}} | ||
}} | |||
| es | Spain = {{userbox | |||
| border-c = rgb(255,179,25,.4) | |||
| id-s = background-color:rgb(255,179,25,.16) | |||
| info-s = background-color:rgb(255,179,25,.16) | |||
| id = {{flag|es}} | |||
| info = {{Autolang|This user hails from Spain.|fi=Tämä käyttäjä on kotoisin Espanjasta.}} | |||
}} | }} | ||
Line 83: | Line 91: | ||
}} | }} | ||
| ba | Bosnia | bih = <!-- | | ba | Bosnia and Herzegovina | bih = <!-- | ||
-->{{userbox<!-- | -->{{userbox<!-- | ||
-->| border-c = rgba(0, 47, 108, .4)<!-- | -->| border-c = rgba(0, 47, 108, .4)<!-- | ||
Line 92: | Line 100: | ||
}} | }} | ||
| vn <!-- vn and not vi since vi is for the language while vn is for the country -->| Vietnam= {{userbox<!-- | |||
-->| border-c = rgb(238,28,37,.4)<!-- | |||
-->| id-s = background-color:rgb(238,28,37,.16)<!-- | |||
-->| info-s = background-color:rgb(238,28,37,.16)<!-- | |||
-->| id = {{flag|zh}}<!-- | |||
-->| info = {{Autolang|This user hails from Vietnam.|fi=Tämä käyttäjä on kotoisin Vietnamista.}} | |||
}} | |||
| #default = {{userbox | | #default = {{userbox | ||
Line 104: | Line 119: | ||
| {{#switch:{{{type}}} | | {{#switch:{{{type}}} | ||
| au | Australia = [[Category:Australian Users]] | | au | Australia = [[Category:Australian Users]] | ||
| ba | Bosnia and Herzegovina = [[Category:BiH Users]] | |||
| br | Brazil = [[Category:Brazilian Users]] | | br | Brazil = [[Category:Brazilian Users]] | ||
| | | hr | Croatia = [[Category:Croatia Users]] | ||
| de | Germany = [[Category:German Users]] | |||
| es | Spain = [[Category:Spanish Users]] | |||
| gb | United Kingdom = [[Category:British Users]] | |||
| cn | China = [[Category:Chinese Users]] | | cn | China = [[Category:Chinese Users]] | ||
| fr | | | fr | France = [[Category:French Users]] | ||
| ru | Russia = [[Category:Russian Users]] | | ru | Russia = [[Category:Russian Users]] | ||
| uk | Ukraine = [[Category:Ukrainian Users]] | | uk | Ukraine = [[Category:Ukrainian Users]] | ||
| us | | | us | United States = [[Category:US Users]] | ||
| vn | Vietnam = [[Category:Vietnamese Users]] | |||
}} | }} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> |
Revision as of 18:59, 27 February 2024
Todo: Add more locales
The above documentation is transcluded from Template:Userbox location/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.