Jump to content

Template:Player: Difference between revisions

From Spike Wiki
>Kypho
Undo revision 494 by Kypho (talk)
Refresh generated page templates and styles
Line 28: Line 28:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#default_form:Player}} <!-- remove this line if you don't want PF form auto -->
{{#default_form:Player}}
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Player/styles.css" />
<templatestyles src="Template:Player/styles.css" />
Line 46: Line 46:
}}
}}


<table class="infobox">
<table class="infobox infobox-player">
   <tr><th class="infobox-title" colspan="2">{{{Name|{{PAGENAME}}}}}{{#if:{{{Nickname|}}}| · {{{Nickname}}}}}</th></tr>
   <tr><th class="infobox-title" colspan="2">{{{Name|{{PAGENAME}}}}}{{#if:{{{Nickname|}}}| · "{{{Nickname}}}"}}</th></tr>


   {{#if:{{{Photo|}}}|
   {{#if:{{{Photo|}}}|
Line 59: Line 59:
   {{#if:{{{HeightFeet|}}}{{{HeightInches|}}}|
   {{#if:{{{HeightFeet|}}}{{{HeightInches|}}}|
     <tr><th>Height</th>
     <tr><th>Height</th>
       <td>{{{HeightFeet}}}′{{#if:{{{HeightInches|}}}|{{{HeightInches}}}″|}} </td>
       <td>{{{HeightFeet}}}′{{#if:{{{HeightInches|}}}|{{{HeightInches}}}″|}}</td>
     </tr>
     </tr>
   }}
   }}
Line 81: Line 81:
</tr>
</tr>
}}
}}


   {{#if:{{{PlayerID|}}}|<tr><th>ID</th><td>{{{PlayerID}}}</td></tr>}}
   {{#if:{{{PlayerID|}}}|<tr><th>ID</th><td>{{{PlayerID}}}</td></tr>}}

Revision as of 20:30, 16 April 2026

This template defines the table "Players". View table.

Player infobox (stores to Cargo).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NameName

no description

Stringrequired
NicknameNickname

no description

Stringoptional
HometownHometown

no description

Stringoptional
Height (feet)HeightFeet

no description

Numberoptional
Height (inches)HeightInches

no description

Numberoptional
Active from (year)ActiveFromYear

no description

Numberoptional
Active to (year)ActiveToYear

no description

Numberoptional
Photo filePhoto

no description

Fileoptional
Social (comma-separated URLs)Social

Comma-separated list of profile URLs

Stringoptional