Difference between revisions of "Template:User infobox"
m (temp) |
m (Fix 3D thingy) |
||
Line 3: | Line 3: | ||
! colspan="2" style="background-color:{{{infoboxcolour|silver}}};" | {{{user-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}} | ! colspan="2" style="background-color:{{{infoboxcolour|silver}}};" | {{{user-name-override|{{{NAME|{{{name|{{{title|{{BASEPAGENAME}}}}}}}}}}}}}} | ||
|- | |- | ||
− | | align="center" class="image" colspan="2" | {{#if: {{{3d|}}} | + | | align="center" class="image" colspan="2" | {{#if: {{{3d|{{{3d-image|}}}}}} |
| {{3D viewer | | {{3D viewer | ||
− | | image-0={{{image}}} | + | | image-0 = {{{3d-image|{{{image}}}}}} |
− | | fallback=[[File:{{{image| | + | | fallback = [[File:{{{image|Unknownweapon.png}}}|{{{imagewidth|250px}}}|center|link={{{imagelink|}}}]] |
}} | }} | ||
+ | {{2D viewer|{{{image|Unknownweapon.png}}}|{{{imagewidth|250px}}}}} | ||
| [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}|link={{{imagelink|}}}]] | | [[File:{{{image|Screenshot needed.png}}}|{{{imagewidth|300px}}}|alt={{BASEPAGENAME}}|link={{{imagelink|}}}]] | ||
}} | }} |
Revision as of 16:53, 17 March 2024
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, cs, da, de, es, fr, hu, ko, nl, pl, pt, pt-br, ru, zh-hans, zh-hant, tr (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 = }}
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
- Twitter username or URL
- gamebanana
- GameBanana username or URL