Template:Player: Difference between revisions
Appearance
>Kypho |
Refresh generated page templates and styles |
||
| Line 28: | Line 28: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#default_form:Player}} | {{#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|}}}| · | <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).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | no description | String | required |
| Nickname | Nickname | no description | String | optional |
| Hometown | Hometown | no description | String | optional |
| Height (feet) | HeightFeet | no description | Number | optional |
| Height (inches) | HeightInches | no description | Number | optional |
| Active from (year) | ActiveFromYear | no description | Number | optional |
| Active to (year) | ActiveToYear | no description | Number | optional |
| Photo file | Photo | no description | File | optional |
| Social (comma-separated URLs) | Social | Comma-separated list of profile URLs | String | optional |