Template:Infobox user: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
VivaRomania (talk | contribs)
m Fixed a few things, made a few things a bit nicer.
VivaRomania (talk | contribs)
m Gonna revert a couple of my changes that broke stuff while I investigate what is happening with the thickness of the basic information bar
Line 1: Line 1:
<includeonly> {| class="infobox" width=320px
<includeonly> {| class="infobox" width=320px
|+
|-
! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}}
! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}}
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
{{!}}-
{{!}}-
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image|}}}|320px]] | }}
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image|}}}|320px]] | }}
|+
|-
{{#if: {{{type|}}}{{{pronouns|}}}{{{gender|}}}{{{health|}}}{{{speed|}}} |
! colspan="2" | Basic Information
! colspan="2" | Basic Information
{{#if: {{{type|}}} |
{{#if: {{{type|}}} |
Line 27: Line 26:
{{!}}-
{{!}}-
{{!}} Speed: {{!!}} {{{speed}}}%
{{!}} Speed: {{!!}} {{{speed}}}%
}} | }}
}}
|+
|+
{{#if: {{{favclass|}}}{{{favmap|}}} |
! colspan="2" | Team Fortress 2 Classic
! colspan="2" | Team Fortress 2 Classic
{{#if: {{{favclass|}}} |
{{#if: {{{favclass|}}} |
Line 38: Line 36:
{{!}}-
{{!}}-
{{!}} Favorite map(s) {{!!}} {{{favmap|}}}
{{!}} Favorite map(s) {{!!}} {{{favmap|}}}
}} | }}
}}
|} </includeonly>
|} </includeonly>
<noinclude> <templatedata>
<noinclude> <templatedata>
Line 91: Line 89:
</templatedata>
</templatedata>
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
<noinclude>
This is for my show preview edit testing - VR
{{Infobox user
|image=butt
|favclass = butt
|health = 200
}}
</noinclude>
</noinclude>

Revision as of 03:01, 22 April 2025

Infobox for user pages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

Name of the user. (only use when it doesn't match page name)

Stringoptional
imageimage

Prefix for the images of the user.

Fileoptional
typetype

Type of user.

Stringsuggested
pronounspronouns

Pronouns of the user.

Stringsuggested
gendergender

Gender of the user.

Stringsuggested
healthhealth

Health of the user.

Numbersuggested
speedspeed

Speed of the user.

Numbersuggested
favclassfavclass

Favorite classes of the user.

Stringsuggested
favmapfavmap

Favorite maps of the user.

Stringsuggested


This is for my show preview edit testing - VR

Infobox user
File:Butt
Basic Information


Health: 200
Team Fortress 2 Classic
Favorite classes: butt