Difference between revisions of "Template:User infobox"
(rv) |
m (Added translation switching (currently only has English and Dutch).) |
||
Line 14: | Line 14: | ||
|- | |- | ||
{{#if: {{{icon|}}} | | {{#if: {{{icon|}}} | | ||
− | {{!}} '''Icon:''' {{!!}} {{{icon}}} | + | {{!}} '''{{lang |
+ | | ar = رمز: | ||
+ | | cs = Ikona: | ||
+ | | da = Ikon: | ||
+ | | de = Symbol: | ||
+ | | en = Icon: | ||
+ | | es = Icono: | ||
+ | | fi = Ikoni: | ||
+ | | fr = Icône: | ||
+ | | hu = Ikon: | ||
+ | | it = Icona: | ||
+ | | ko = 문양: | ||
+ | | lt = Piktograma: | ||
+ | | nl = Symbool: | ||
+ | | no = Symbol: | ||
+ | | pl = Ikona: | ||
+ | | pt = Ícone: | ||
+ | | pt-br = Ícone: | ||
+ | | ro = Pictogramă: | ||
+ | | ru = Значок: | ||
+ | | sv = Ikon: | ||
+ | | tr = Sembol: | ||
+ | | zh-hans = 图示: | ||
+ | | zh-hant = 圖示: | ||
+ | }}''' {{!!}} {{{icon}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{type|}}} | | {{#if: {{{type|}}} | | ||
− | {{!}} '''Type:''' {{!!}} {{{type}}} | + | {{!}} '''{{lang |
+ | | ar = النوع: | ||
+ | | cs = Typ: | ||
+ | | da = Type: | ||
+ | | de = Typ: | ||
+ | | en = Type: | ||
+ | | es = Tipo: | ||
+ | | fi = Tyyppi: | ||
+ | | fr = Type: | ||
+ | | hu = Típus: | ||
+ | | it = Tipo: | ||
+ | | ko = 병과 유형: | ||
+ | | lt = Tipas: | ||
+ | | nl = Type: | ||
+ | | no = Type: | ||
+ | | pl = Typ: | ||
+ | | pt = Tipo: | ||
+ | | pt-br = Tipo: | ||
+ | | ro = Tip: | ||
+ | | ru = Тип: | ||
+ | | sv = Typ: | ||
+ | | tr = Tür: | ||
+ | | zh-hans = 类型: | ||
+ | | zh-hant = 類型: | ||
+ | }}''' {{!!}} {{{type}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{gender|}}} | | {{#if: {{{gender|}}} | | ||
− | {{!}} '''Gender:''' {{!!}} {{{gender}}} | + | {{!}} '''{{lang |
+ | | en = Gender: | ||
+ | | nl = Geslacht: | ||
+ | }}''' {{!!}} {{{gender}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{health|}}} | | {{#if: {{{health|}}} | | ||
− | {{!}} valign="top" {{!}} '''Health:''' {{!!}} {{{health}}} | + | {{!}} valign="top" {{!}} '''{{lang |
+ | | ar = هيلث: | ||
+ | | cs = Zdraví: | ||
+ | | da = Helbred: | ||
+ | | de = Gesundheit: | ||
+ | | en = Health: | ||
+ | | es = Salud: | ||
+ | | fi = Terveys: | ||
+ | | fr = Points de vie: | ||
+ | | hu = Életerő: | ||
+ | | it = Salute: | ||
+ | | ko = 체력: | ||
+ | | lt = Sveikata: | ||
+ | | nl = Gezondheid: | ||
+ | | no = Helse: | ||
+ | | pl = Zdrowie: | ||
+ | | pt = Energia: | ||
+ | | pt-br = Vida: | ||
+ | | ro = Viaţă: | ||
+ | | ru = Здоровье: | ||
+ | | sv = Hälsa: | ||
+ | | tr = Sağlık: | ||
+ | | zh-hans = 生命值: | ||
+ | | zh-hant = 生命值: | ||
+ | }}''' {{!!}} {{{health}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{speed|}}} | | {{#if: {{{speed|}}} | | ||
− | {{!}} valign="top" {{!}} '''Speed:''' {{!!}} {{{speed}}} | + | {{!}} valign="top" {{!}} '''{{lang |
+ | | ar = السرعة: | ||
+ | | cs = Rychlost: | ||
+ | | da = Hastighed: | ||
+ | | de = Geschwindigkeit: | ||
+ | | en = Speed: | ||
+ | | es = Velocidad: | ||
+ | | fi = Nopeus: | ||
+ | | fr = Vitesse: | ||
+ | | hu = Sebesség: | ||
+ | | it = Velocità: | ||
+ | | ko = 속력: | ||
+ | | lt = Greitis: | ||
+ | | nl = Snelheid: | ||
+ | | no = Fart: | ||
+ | | pl = Prędkość: | ||
+ | | pt = Velocidade: | ||
+ | | pt-br = Velocidade: | ||
+ | | ro = Viteză: | ||
+ | | ru = Скорость: | ||
+ | | sv = Fart: | ||
+ | | tr = Hız: | ||
+ | | zh-hans = 移动速度: | ||
+ | | zh-hant = 移動速度: | ||
+ | }}''' {{!!}} {{{speed}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{birthplace|}}} | | {{#if: {{{birthplace|}}} | | ||
− | {{!}} '''Birth place:''' {{!!}} {{{birthplace}}} | + | {{!}} '''{{lang |
+ | | en = Birth place: | ||
+ | | nl = Geboorteplaatst: | ||
+ | }}''' {{!!}} {{{birthplace}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{language|}}} | | {{#if: {{{language|}}} | | ||
− | {{!}} '''Native language:''' {{!!}} {{{language}}} | + | {{!}} '''{{lang |
+ | | en = Native language: | ||
+ | | nl = Moedertaal: | ||
+ | }}''' {{!!}} {{{language}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{age|}}} | | {{#if: {{{age|}}} | | ||
− | {{!}} '''Age:''' {{!!}} {{{age}}} | + | {{!}} '''{{lang |
+ | | en = Age: | ||
+ | | nl = Leeftijd: | ||
+ | }}''' {{!!}} {{{age}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
Line 54: | Line 162: | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favclass|}}} | | {{#if: {{{favclass|}}} | | ||
− | {{!}} '''Favourite classes:''' {{!!}} {{{favclass}}} | + | {{!}} '''{{lang |
+ | | en = Favourite classes: | ||
+ | | nl = Favoriete klassen: | ||
+ | }}:''' {{!!}} {{{favclass}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favclass_us|}}} | | {{#if: {{{favclass_us|}}} | | ||
− | {{!}} '''Favorite classes:''' {{!!}} {{{favclass_us}}} | + | {{!}} '''{{lang |
+ | | en = Favorite classes: | ||
+ | | nl = Favoriete klasses: | ||
+ | }}:''' {{!!}} {{{favclass_us}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favmap|}}} | | {{#if: {{{favmap|}}} | | ||
− | {{!}} '''Favourite maps:''' {{!!}} {{{favmap}}} | + | {{!}} '''{{lang |
+ | | en = Favourite maps: | ||
+ | | nl = Favoriete maps: | ||
+ | }}:''' {{!!}} {{{favmap}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favmap_us|}}} | | {{#if: {{{favmap_us|}}} | | ||
− | {{!}} '''Favorite maps:''' {{!!}} {{{favmap_us}}} | + | {{!}} '''{{lang |
+ | | en = Favorite maps: | ||
+ | | nl = Favoriete maps: | ||
+ | }}:''' {{!!}} {{{favmap_us}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favweap|}}} | | {{#if: {{{favweap|}}} | | ||
− | {{!}} '''Favourite weapons:''' {{!!}} {{{favweap}}} | + | {{!}} '''{{lang |
+ | | en = Favourite weapons: | ||
+ | | nl = Favoriete wapens: | ||
+ | }}:''' {{!!}} {{{favweap}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favweap_us|}}} | | {{#if: {{{favweap_us|}}} | | ||
− | {{!}} '''Favorite weapons:''' {{!!}} {{{favweap_us}}} | + | {{!}} '''{{lang |
+ | | en = Favorite weapons: | ||
+ | | nl = Favoriete wapens: | ||
+ | }}:''' {{!!}} {{{favweap_us}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favhat|}}} | | {{#if: {{{favhat|}}} | | ||
− | {{!}} '''Favourite | + | {{!}} '''{{lang |
+ | | en = Favourite hats: | ||
+ | | nl = Favoriete hoeden: | ||
+ | }}:''' {{!!}} {{{favhat}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favhat_us|}}} | | {{#if: {{{favhat_us|}}} | | ||
− | {{!}} '''Favorite | + | {{!}} '''{{lang |
+ | | en = Favorite hats: | ||
+ | | nl = Favoriete hoeden: | ||
+ | }}:''' {{!!}} {{{favhat_us}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favmisc|}}} | | {{#if: {{{favmisc|}}} | | ||
− | {{!}} '''Favourite | + | {{!}} '''{{lang |
+ | | en = Favourite miscellaneous items: | ||
+ | | nl = Favoriete overige voorwerpen: | ||
+ | }}:''' {{!!}} {{{favmisc}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{favmisc_us|}}} | | {{#if: {{{favmisc_us|}}} | | ||
− | {{!}} '''Favorite | + | {{!}} '''{{lang |
+ | | en = Favorite miscellaneous items: | ||
+ | | nl = Favoriete overige voorwerpen: | ||
+ | }}:''' {{!!}} {{{favmisc_us}}} | ||
{{!}}-}}<!-- | {{!}}-}}<!-- | ||
Line 105: | Line 243: | ||
{{!}}- | {{!}}- | ||
{{#if: {{{site|}}} | | {{#if: {{{site|}}} | | ||
− | {{!}} ''' | + | {{!}} '''{{lang |
+ | | en = Website: | ||
+ | | nl = Website: | ||
+ | }}:''' {{!!}} {{{site}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{steampage|}}} | | {{#if: {{{steampage|}}} | | ||
− | {{!}} '''Steam | + | {{!}} '''{{lang |
+ | | en = Steam page: | ||
+ | | nl = Steam pagina: | ||
+ | }}:''' {{!!}} {{{steampage}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | {{!}}- | ||
Line 125: | Line 269: | ||
{{!}}- | {{!}}- | ||
{{#if: {{{email|}}} | | {{#if: {{{email|}}} | | ||
− | {{!}} '''E-mail:''' {{!!}} {{{email}}} | + | {{!}} '''{{lang |
+ | | en = E-mail: | ||
+ | | nl = E-mail: | ||
+ | }}:''' {{!!}} {{{email}}} | ||
{{!}}-}}<!-- | {{!}}-}}<!-- | ||
Line 134: | Line 281: | ||
|} | |} | ||
+ | {{translation switching|en, nl}} | ||
<noinclude> | <noinclude> | ||
{{Template doc}} | {{Template doc}} | ||
[[Category:Infobox templates|User infobox]] | [[Category:Infobox templates|User infobox]] | ||
</noinclude> | </noinclude> |
Revision as of 20:33, 24 July 2012
User infobox | |
---|---|
Basic Information | |
Team Fortress 2 | |
Contact information |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:User infobox/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, nl (add) |
Usage
Please remove the parameters that are left blank. See Parameters section below for documentation of all parameters.
{{User infobox | title = | infoboxcolour = | image = | imagewidth = | imagelink = | icon = | type = | pronouns = | gender = | health = | speed = | birthplace = | language = | age = | favmap = | favclass = | favweap = | favhat = | site = | steampage = | discord = | irc = | twitter = | gamebanana = | github = }}
Parameters
Main
- title
- Assign if you want to override and manually set the infobox title. It will by default use your userpage name.
- infoboxcolour
- Manually set the infobox colour. Default is silver.
- Example:
|infoboxcolour = #000000
or|infoboxcolour = red
- Example:
- image
- Your image link.
- Example:
|image = User Robin Profile Image.png
- Example:
- 3d-image
- A 3D image link.
- Example:
|3d-image = User Robin Profile Image 3D.jpg
- Example:
- icon
- type
- pronouns
- gender
- health
- speed
- birthplace
- language
- age
- Self explanatory.
Team Fortress 2 info
- tf2info
- This section appears by default unless you set this attribute to
no
ornope
- Example:
|tf2info = no
- Example:
- favmap
- favclass
- favweap
- favhat
- favmisc
- Self explanatory.
- US English can be substituted instead by adding a "_us" suffix to the above, as follows:
- favmap_us
- favclass_us
- favweap_us
- favhat_us
- favmisc_us
- This simply changes the entry line from "Favourite" to "Favorite."
Contact info
- contactinfo
- This section appears by default unless you set this attribute to
no
ornope
- Example:
|contactinfo = no
- Example:
- site
- steampage
- discord
- Self explanatory
- irc
- IRC nickname
- gamebanana
- github
- Account username or URL