Difference between revisions of "Template:User infobox"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with '{| class="infobox" cellspacing="2" cellpadding="2" style="float: right; clear: right; {{{style|}}}" |- ! colspan="2" style="background-color:#F3A957;" | {{{class-name-override|{…')
 
Line 1: Line 1:
 
{| class="infobox" cellspacing="2" cellpadding="2" style="float: right; clear: right; {{{style|}}}"  
 
{| class="infobox" cellspacing="2" cellpadding="2" style="float: right; clear: right; {{{style|}}}"  
 
|-
 
|-
! colspan="2" style="background-color:#F3A957;" | {{{class-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
+
! colspan="2" style="background-color:silver;" | {{{user-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}}
 
|-
 
|-
 
| align="center" class="image" colspan="2" | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
 
| align="center" class="image" colspan="2" | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}]]
 
|-
 
|-
! colspan="2" | {{lang
+
! colspan="2" style="background-color:silver;"| {{lang
 
   | en = Basic Information
 
   | en = Basic Information
  | ru = Основная информация
 
 
   }}
 
   }}
 
|-
 
|-
Line 13: Line 12:
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Type:
 
   | en = Type:
  | ru = Тип:
 
 
   }}''' {{!!}} {{{type}}}
 
   }}''' {{!!}} {{{type}}}
 
{{!}}-}}
 
{{!}}-}}
Line 19: Line 17:
 
{{!}} valign="top" {{!}} '''{{lang
 
{{!}} valign="top" {{!}} '''{{lang
 
   | en = Health:
 
   | en = Health:
  | ru = Здоровье:
 
 
   }}''' {{!!}} {{{health}}}
 
   }}''' {{!!}} {{{health}}}
 
{{!}}-}}
 
{{!}}-}}
{{#if: {{{armor|}}} |
+
{{#if: {{{birthplace|}}} |
 +
{{!}} '''{{lang
 +
  | en = Birth place:
 +
  }}''' {{!!}} {{{birthplace}}}
 +
{{!}}-}}
 +
{{#if: {{{age|}}} |
 +
{{!}} '''{{lang
 +
  | en = Age:
 +
  }}''' {{!!}} {{{age}}}
 +
{{!}}-}}
 +
! colspan="2" style="background-color:silver;"| {{lang
 +
  | en = Team Fortress 2
 +
  }}
 +
{{#if: {{{favclass|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Favourite class:
 
   | en = Favourite class:
  | ru = Любимый класс:
+
   }}''' {{!!}} {{{favclass}}}
   }}''' {{!!}} {{{armor}}}
 
 
{{!}}-}}
 
{{!}}-}}
{{#if: {{{armor-type|}}} |
+
{{#if: {{{favmap|}}} |
 
{{!}} '''{{lang
 
{{!}} '''{{lang
 
   | en = Favourite map:
 
   | en = Favourite map:
   | ru = Любимая карта:
+
   }}''' {{!!}} {{{favmap}}}
   }}''' {{!!}} {{{armor-type}}}
+
{{!}}-}}
 +
! colspan="2" style="background-color:silver;"| {{lang
 +
  | en = Contact information
 +
  }}
 +
{{#if: {{{steampage|}}} |
 +
{{!}} '''{{lang
 +
  | en = Steam Page:
 +
   }}''' {{!!}} {{{steampage}}}
 
{{!}}-}}
 
{{!}}-}}
{{#if: {{{speed|}}} |
+
{{#if: {{{skype|}}} |
{{!}} valign="top" {{!}} '''{{lang
+
{{!}} '''{{lang
   | en = Speed:
+
  | en = Skype:
   | ru = Скорость:
+
  }}''' {{!!}} {{{skype}}}
   }}''' {{!!}} {{{speed}}}
+
{{!}}-}}
 +
{{#if: {{{googletalk|}}} |
 +
{{!}} '''{{lang
 +
   | en = Google Talk:
 +
   }}''' {{!!}} {{{googletalk}}}
 +
{{!}}-}}
 +
{{#if: {{{email|}}} |
 +
{{!}} '''{{lang
 +
  | en = E-mail:
 +
   }}''' {{!!}} {{{email}}}
 
{{!}}-}}
 
{{!}}-}}
 +
|}
  
{{translation switching|ru, en}}
+
<noinclude>
 
 
 
{{Template doc}}
 
{{Template doc}}
 
[[Category:Infobox templates|Class infobox]]
 
[[Category:Infobox templates|Class infobox]]
 
</noinclude>
 
</noinclude>

Revision as of 15:52, 25 January 2011

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