Difference between revisions of "Template:User infobox"
m (Added translation switching (currently only has English and Dutch).) |
m (And the section-titles also translated.) |
||
Line 11: | Line 11: | ||
}} | }} | ||
|- | |- | ||
− | ! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};"| Basic | + | ! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};"| {{lang |
+ | | en = Basic information | ||
+ | | nl = Basisinformatie | ||
+ | }} | ||
|- | |- | ||
{{#if: {{{icon|}}} | | {{#if: {{{icon|}}} | | ||
Line 240: | Line 243: | ||
| #default = | | #default = | ||
{{!}}- | {{!}}- | ||
− | ! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};" {{!}} Contact information | + | ! colspan="2" style="background-color:{{{infoboxcolour|#d7d7d7}}};" {{!}} {{lang |
+ | | en = Contact information | ||
+ | | nl = Contactinformatie | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
{{#if: {{{site|}}} | | {{#if: {{{site|}}} | |
Revision as of 20:36, 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