Difference between revisions of "Template:User infobox"

From Team Fortress Wiki
Jump to: navigation, search
(Replaced content with "{{User infobox | title = | infoboxcolour = | image = | imagewidth = | icon = | type = | pronouns = | gender = | health = | speed = | birthplace = | language = | age =...")
(Tag: Replaced)
m (Undo edit by TheDavid (Talk) (3135319) Accidental edit, I presume)
(Tag: Undo)
Line 1: Line 1:
{{User infobox
+
{| class="infobox" cellspacing="2" cellpadding="2" style="{{lang|en=float: right; clear:right;|ar=float:left; clear:left;}} {{{style|}}}"
| title =
+
|-
| infoboxcolour =  
+
! colspan="2" style="background-color:{{{infoboxcolour|silver}}};" | {{{user-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
| image =
+
|-
| imagewidth =  
+
| align="center" class="image" colspan="2" | {{#if: {{{3d|}}}
| icon =
+
  | {{3D viewer
 +
      | image-0={{{image}}}
 +
      | fallback=[[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|250px}}}|center]]
 +
    }}
 +
  | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
 +
  }}
 +
|-
 +
! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};"| {{lang
 +
  | en = Basic information
 +
  | cs = Základní informace
 +
  | da = Basis information
 +
  | de = Basisinformationen
 +
  | es = Información básica
 +
  | fi = Perustiedot
 +
  | fr = Information de base
 +
  | hu = Alap információk
 +
  | nl = Basisinformatie
 +
  | pl = Podstawowe informacje
 +
  | pt = Informação básica
 +
  | pt-br = Informações básicas
 +
  | ru = Основная информация
 +
  | zh-hans = 基本信息
 +
  | zh-hant = 基本資料
 +
  }}
 +
|-
 +
{{#if: {{{icon|}}} |
 +
{{!}} '''{{common string|icon}}:''' {{!!}} {{{icon}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{type|}}} |
 +
{{!}} '''{{common string|type}}:''' {{!!}} {{{type}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{type2|}}} |
 +
{{!}} '''{{common string|type2}}:''' {{!!}} {{{type2}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{pronouns|}}} |
 +
{{!}} '''{{lang
 +
  | en = Pronouns
 +
  | pl = Zaimki
 +
  }}:''' {{!!}} {{{pronouns}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{gender|}}} |
 +
{{!}} '''{{lang
 +
  | en = Gender
 +
  | cs = Pohlaví
 +
  | da = Køn
 +
  | de = Geschlecht
 +
  | es = Género
 +
  | fi = Sukupuoli
 +
  | fr = Genre
 +
  | hu = Nem
 +
  | nl = Geslacht
 +
  | pl = Płeć
 +
  | pt = Gênero
 +
  | pt-br = Gênero
 +
  | ru = Пол
 +
  | zh-hans = 性别
 +
  | zh-hant = 性別
 +
  }}:''' {{!!}} {{{gender}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{health|}}} |
 +
{{!}} valign="top" {{!}} '''{{common string|health}}:''' {{!!}} {{{health}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{speed|}}} |
 +
{{!}} valign="top" {{!}} '''{{Common string|speed}}:''' {{!!}} {{{speed}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{birthplace|}}} |
 +
{{!}} '''{{lang
 +
  | en = Birth place
 +
  | cs = Místo narození
 +
  | da = Fødselssted
 +
  | de = Geburtsort
 +
  | es = Lugar de nacimiento
 +
  | fi = Syntymäpaikka
 +
  | fr = Lieu de naissance
 +
  | hu = Szülőváros
 +
  | nl = Geboorteplaats
 +
  | pl = Miejsce urodzenia
 +
  | pt = Local de nascimento
 +
  | pt-br = Local de nascimento
 +
  | ru = Место рождения
 +
  | zh-hans = 出生地
 +
  | zh-hant = 出生地
 +
  }}:''' {{!!}} {{{birthplace}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{language|}}} |
 +
{{!}} '''{{lang
 +
  | en = Native language
 +
  | cs = Mateřský jazyk
 +
  | da = Modersmål
 +
  | de = Muttersprache
 +
  | es = Idioma nativo
 +
  | fi = Äidinkieli
 +
  | fr = Langue maternelle
 +
  | hu = Beszélt nyelv
 +
  | nl = Moedertaal
 +
  | pl = Język ojczysty
 +
  | pt = Língua materna
 +
  | pt-br = Língua materna
 +
  | ru = Родной язык
 +
  | zh-hans = 母语
 +
  | zh-hant = 母語
 +
  }}:''' {{!!}} {{{language}}}
 +
{{!}}-}}
 +
|-
 +
{{#if: {{{age|}}} |
 +
{{!}} '''{{lang
 +
  | en = Age
 +
  | cs = Věk
 +
  | da = Alder
 +
  | de = Alter
 +
  | es = Edad
 +
  | fi = Ikä
 +
  | fr = Âge
 +
  | hu = Kor
 +
  | nl = Leeftijd
 +
  | pl = Wiek
 +
  | pt = Idade
 +
  | pt-br = Idade
 +
  | ru = Возраст
 +
  | zh-hans = 年龄
 +
  | zh-hant = 年齡
 +
  }}:''' {{!!}} {{{age}}}
 +
{{!}}-}}
 +
|-
  
| type =
+
{{#switch:{{{tf2info|yes}}}
| pronouns =
+
| no
| gender =
+
| nope = {{ns:0}}
| health =
+
| yes
| speed =
+
| #default =
| birthplace =
+
! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};" {{!}} Team Fortress 2
| language =
+
{{!}}-
| age =
+
{{#if: {{{favclass|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favourite classes
 +
  | cs = Oblíbené třídy
 +
  | da = Favorit klasser
 +
  | de = Lieblingsklasse
 +
  | es = Clase favorita
 +
  | fi = Lempihahmoluokat
 +
  | fr = Classes préférées
 +
  | hu = Kedvenc osztály
 +
  | nl = Favoriete klassen
 +
  | pl = Ulubione klasy
 +
  | pt = Classes favoritas
 +
  | pt-br = Classes favoritas
 +
  | ru = Любимые классы
 +
  | zh-hans = 最喜欢的兵种
 +
  | zh-hant = 最喜歡的職業
 +
  }}:''' {{!!}} {{{favclass}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favclass_us|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favorite classes
 +
  | cs = Oblíbené třídy
 +
  | da = Favorit klasser
 +
  | de = Lieblingsklassen
 +
  | es = Clase favorita
 +
  | fi = Lempihahmoluokat
 +
  | fr = Classes préférées
 +
  | hu = Kedvenc osztály
 +
  | nl = Favoriete klasses
 +
  | pl = Ulubione klasy
 +
  | pt = Classes favoritas
 +
  | pt-br = Classes favoritas
 +
  | ru = Любимые классы
 +
  | zh-hans = 最喜欢的兵种
 +
  | zh-hant = 最喜歡的職業
 +
  }}:''' {{!!}} {{{favclass_us}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favmap|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favourite maps
 +
  | cs = Oblíbené mapy
 +
  | da = Favorit baner
 +
  | de = Lieblingskarte
 +
  | es = Mapas favoritos
 +
  | fi = Lempikartat
 +
  | fr = Cartes préférées
 +
  | hu = Kedvenc pálya
 +
  | nl = Favoriete maps
 +
  | pl = Ulubione mapy
 +
  | pt = Mapas favoritos
 +
  | pt-br = Mapas favoritos
 +
  | ru = Любимые карты
 +
  | zh-hans = 最喜欢的地图
 +
  | zh-hant = 最喜歡的地圖
 +
  }}:''' {{!!}} {{{favmap}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favmap_us|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favorite maps
 +
  | cs = Oblíbené mapy
 +
  | da = Favorit baner
 +
  | de = Lieblings Karten
 +
  | es = Mapas favoritos
 +
  | fi = Lempikartat
 +
  | fr = Cartes préférées
 +
  | hu = Kedvenc pálya
 +
  | nl = Favoriete maps
 +
  | pl = Ulubione mapy
 +
  | pt = Mapas favoritos
 +
  | pt-br = Mapas favoritos
 +
  | ru = Любимые карты
 +
  | zh-hans = 最喜欢的地图
 +
  | zh-hant = 最喜歡的職業
 +
  }}:''' {{!!}} {{{favmap_us}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favweap|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favourite weapons
 +
  | cs = Oblíbené zbraně
 +
  | da = Favorit våben
 +
  | de = Lieblingswaffe
 +
  | es = Armas favoritas
 +
  | fi = Lempiaseet
 +
  | fr = Armes préférées
 +
  | hu = Kedvenc fegyver
 +
  | nl = Favoriete wapens
 +
  | pl = Ulubione bronie
 +
  | pt = Armas favoritas
 +
  | pt-br = Armas favoritas
 +
  | ru = Любимое оружие
 +
  | zh-hans = 最喜欢的武器
 +
  | zh-hant = 最喜歡的武器
 +
  }}:''' {{!!}} {{{favweap}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favweap_us|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favorite weapons
 +
  | cs = Oblíbené zbraně
 +
  | da = Favorit våben
 +
  | de = Lieblingswaffen
 +
  | es = Armas favoritas
 +
  | fi = Lempiaseet
 +
  | fr = Armes préférées
 +
  | hu = Kedvenc fegyver
 +
  | nl = Favoriete wapens
 +
  | pl = Ulubione bronie
 +
  | pt = Armas favoritas
 +
  | pt-br = Armas favoritas
 +
  | ru = Любимое оружие
 +
  | zh-hans = 最喜欢的武器
 +
  | zh-hant = 最喜歡的武器
 +
  }}:''' {{!!}} {{{favweap_us}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favhat|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favourite hats
 +
  | cs = Oblíbené klobouky
 +
  | da = Favorit hatte
 +
  | de = Lieblingshut
 +
  | es = Sombreros favoritos
 +
  | fi = Lempihatut
 +
  | fr = Chapeaux préférés
 +
  | hu = Kedvenc sapka
 +
  | nl = Favoriete hoeden
 +
  | pl = Ulubione czapki
 +
  | pt = Chapéus favoritos
 +
  | pt-br = Chapéus favoritos
 +
  | ru = Любимые шляпы
 +
  | zh-hans = 最喜欢的饰品
 +
  | zh-hant = 最喜歡的裝飾品
 +
  }}:''' {{!!}} {{{favhat}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favhat_us|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favorite hats
 +
  | cs = Oblíbené klobouky
 +
  | da = Favorit hatte
 +
  | de = Lieblingshüte
 +
  | es = Sombreros favoritos
 +
  | fi = Lempihatut
 +
  | fr = Chapeaux préférés
 +
  | hu = Kedvenc sapka
 +
  | nl = Favoriete hoeden
 +
  | pl = Ulubione czapki
 +
  | pt = Chapéus favoritos
 +
  | pt-br = Chapéus favoritos
 +
  | ru = Любимые шляпы
 +
  | zh-hans = 最喜欢的饰品
 +
  | zh-hant = 最喜歡的裝飾品
 +
  }}:''' {{!!}} {{{favhat_us}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favmisc|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favourite miscellaneous items
 +
  | cs = Oblíbené postranní předměty
 +
  | da = Favorit diverse genstande
 +
  | de = Lieblings-Sonstiger Gegenstand
 +
  | es = Misceláneos favoritos
 +
  | fi = Lempisekalaisesineet
 +
  | fr = Objets cosmétiques préférés
 +
  | hu = Kedvenc kozmetikai tárgy
 +
  | nl = Favoriete overige voorwerpen
 +
  | pl = Ulubione dodatkowe przedmioty
 +
  | pt = Itens misc. favoritos
 +
  | pt-br = Itens misc. favoritos
 +
  | ru = Любимые предметы категории «Разное»
 +
  | zh-hant = 最喜歡的物品
 +
  }}:''' {{!!}} {{{favmisc}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{favmisc_us|}}} |
 +
{{!}} '''{{lang
 +
  | en = Favorite miscellaneous items
 +
  | cs = Oblíbené postranní předměty
 +
  | da = Favorit diverse genstande
 +
  | de = Lieblings-Sonstige Gegenstände
 +
  | es = Misceláneos favoritos
 +
  | fi = Lempisekalaisesineet
 +
  | fr = Objets cosmétiques préférés
 +
  | hu = Kedvenc kozmetikai tárgy
 +
  | nl = Favoriete overige voorwerpen
 +
  | pl = Ulubione dodatkowe przedmioty
 +
  | pt = Itens misc. favoritos
 +
  | pt-br = Itens misc. favoritos
 +
  | ru = Любимые предметы категории «Разное»
 +
  | zh-hant = 最喜歡的物品
 +
  }}:''' {{!!}} {{{favmisc_us}}}
 +
{{!}}-}}<!--
  
| favmap =
+
Close TF2 section
| favclass =
+
 
| favweap =
+
-->}}
| favhat =
+
{{#switch:{{{contactinfo|yes}}}
 +
| no
 +
| nope = {{ns:0}}
 +
| yes
 +
| #default =
 +
{{!}}-
 +
! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};" {{!}} {{lang
 +
  | en = Contact information
 +
  | cs = Kontaktní informace
 +
  | da = Kontakt information
 +
  | de = Kontaktinformationen
 +
  | es = Información de contacto
 +
  | fi = Yhteystiedot
 +
  | fr = Informations de contact
 +
  | hu = Kapcsolat
 +
  | nl = Contactinformatie
 +
  | pl = Kontakt
 +
  | pt = Informações de contacto
 +
  | pt-br = Informações de contato
 +
  | ru = Контактная информация
 +
  | zh-hans = 联系方式
 +
  | zh-hant = 聯絡方式
 +
  }}
 +
{{!}}-
 +
{{#if: {{{site|}}} |
 +
{{!}} '''{{lang
 +
  | en = Website
 +
  | cs = Webová stránka
 +
  | da = Hjemmeside
 +
  | de = Homepage
 +
  | es = Página web
 +
  | fi = Nettisivu
 +
  | fr = Site internet
 +
  | hu = Weboldal
 +
  | nl = Website
 +
  | pl = Strona
 +
  | pt = Website
 +
  | pt-br = Site
 +
  | ru = Веб-сайт
 +
  | zh-hans = 网站
 +
  | zh-hant = 網站
 +
  }}:''' {{!!}} {{{site}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{steampage|}}} |
 +
{{!}} '''{{lang
 +
  | en = Steam page
 +
  | cs = Steam profil
 +
  | da = Steam side
 +
  | de = Steam-Profil
 +
  | es = Perfil de Steam
 +
  | fi = Steam-sivu
 +
  | fr = Profil Steam
 +
  | hu = Steam profil
 +
  | nl = Steam pagina
 +
  | pl = Strona Steam
 +
  | pt = Perfil Steam
 +
  | pt-br = Perfil Steam
 +
  | ru = Профиль Steam
 +
  | zh-hans = Steam 个人主页
 +
  | zh-hant = Steam 個人檔案
 +
  }}:''' {{!!}} {{{steampage}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{skype|}}} |
 +
{{!}} '''Skype:''' {{!!}} {{{skype}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{msn|}}} |
 +
{{!}} '''MSN:''' {{!!}} {{{msn}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{googletalk|}}} |
 +
{{!}} '''Google Talk:''' {{!!}} {{{googletalk}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{discord|}}} |
 +
{{!}} '''Discord:''' {{!!}} {{{discord}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{irc|}}} |
 +
{{!}} '''{{lang
 +
  | en = IRC nickname
 +
  | cs = Přezdívka na IRC
 +
  | da = IRC kaldenavn
 +
  | de = IRC-Nickname
 +
  | es = Nombre de IRC
 +
  | fr = Surnom pour l'IRC
 +
  | hu = IRC felhasználónév
 +
  | nl = IRC-bijnaam
 +
  | pl = Nick IRC
 +
  | pt = Nome no IRC
 +
  | pt-br = Apelido no IRC
 +
  | ru = IRC ник
 +
  | zh-hans = IRC 昵称
 +
  | zh-hant = IRC 暱稱
 +
  }}:''' {{!!}} {{{irc}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{email|}}} |
 +
{{!}} '''{{lang
 +
  | en = E-mail
 +
  | cs = E-mail
 +
  | da = E-mail
 +
  | de = E-Mail
 +
  | es = Correo
 +
  | fi = Sähköposti
 +
  | fr = Adresse e-mail
 +
  | hu = E-Mail
 +
  | nl = E-mail
 +
  | pl = E-mail
 +
  | pt = E-mail
 +
  | pt-br = E-mail
 +
  | ru = E-mail
 +
  | zh-hans = E-mail
 +
  | zh-hant = E-mail
 +
  }}:''' {{!!}} {{{email}}}
 +
{{!}}-}}
 +
{{!}}-
 +
{{#if: {{{twitter|}}} |
 +
{{!}} '''{{lang
 +
  | en = Twitter
 +
  | pl = Twitter
 +
  }}:''' {{!!}} {{{twitter}}}
 +
{{!}}-}}<!--
 +
 
 +
Close contact information section
 +
 
 +
-->}}
 +
|}
 +
<noinclude>
 +
{{translation switching|en, cs, da, de, es, fr, hu, nl, pl, pt, pt-br, ru, zh-hans, zh-hant}}
 +
{{Template doc}}
 +
[[Category:Infobox templates|User infobox]]
 +
</noinclude>

Revision as of 16:00, 4 February 2022

User infobox
User infobox
Basic information
Team Fortress 2
Contact information

Template documentation [view] [edit] [history] [purge]

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
image
Your image link.
  • Example: |image = User Robin Profile Image.png
3d-image
A 3D image link.
  • Example: |3d-image = User Robin Profile Image 3D.jpg
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 or nope
  • Example: |tf2info = no
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 or nope
  • Example: |contactinfo = no
site
steampage
discord
Self explanatory
irc
IRC nickname
twitter
gamebanana
github
Account username or URL