Template:Infobox user: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
TR4SHQU33N (talk | contribs)
I'm testing this on a page, something is broken and I'm not entirely sure what, anyone else is free to figure it out!
VivaRomania (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly> {| class="infobox" width=320px
{| class="infobox" width=320px
|-
|+
! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}}
! class="infobox-title" colspan="2" | {{{title|{{PAGENAME}}}}}
{{#if: {{{image|}}} |
{{!}}-
{{!}}-
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{user-image|}}}|320px]] | }}
{{!}} class="infobox-image" colspan="2" {{!}} [[File:{{{image|}}}|320px]] | }}
|+
|-
! colspan="2" | Basic Information
! colspan="2" | Basic Information
{{#if: {{{type|}}} |
{{#if: {{{type|}}} |
Line 17: Line 17:
{{#if: {{{gender|}}} |
{{#if: {{{gender|}}} |
{{!}}-
{{!}}-
{{!}} Gender: {{!!}} {{{Gender|}}}
{{!}} Gender: {{!!}} {{{gender|}}}
}}
}}
{{#if: {{{health|}}} |
{{#if: {{{health|}}} |
Line 28: Line 28:
}}
}}
|+
|+
! colspan="2" |Team Fortress 2 Classic
! colspan="2" | Team Fortress 2 Classic
{{#if: {{{favclass|}}} |
{{#if: {{{favclass|}}} |
{{!}}-
{{!}}-
Line 37: Line 37:
{{!}} Favorite map(s) {{!!}} {{{favmap|}}}
{{!}} Favorite map(s) {{!!}} {{{favmap|}}}
}}
}}
|}
|} </includeonly>
}} </includeonly>
<noinclude> <templatedata>
<noinclude> <templatedata>
{
{
Line 89: Line 88:
}
}
</templatedata>
</templatedata>
[[Category:Infobox]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 18:02, 9 May 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