Template:Player: Difference between revisions
>Kypho No edit summary |
>Kypho No edit summary |
||
| Line 26: | Line 26: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly> | </noinclude> | ||
{{#default_form:Player}} | <includeonly> | ||
{{#default_form:Player}} <!-- remove this line if you don't want PF form auto --> | |||
<templatestyles src="Template:Infobox/styles.css" /> | <templatestyles src="Template:Infobox/styles.css" /> | ||
<templatestyles src="Template:Player/styles.css" /> | |||
{{#cargo_store:_table=Players | {{#cargo_store:_table=Players | ||
| Line 39: | Line 41: | ||
|ActiveToYear={{{ActiveToYear|}}} | |ActiveToYear={{{ActiveToYear|}}} | ||
|Photo={{{Photo|}}} | |Photo={{{Photo|}}} | ||
|Team={{{Team|}}} | |||
|PlayerID={{{PlayerID|}}} | |||
|Social={{{Social|}}} | |Social={{{Social|}}} | ||
}} | }} | ||
< | <table class="infobox"> | ||
< | <tr><th class="infobox-title" colspan="2"> | ||
{{{Name|{{PAGENAME}}}}}{{#if:{{{Nickname|}}}| · “{{{Nickname}}}”}} | |||
{{#if:{{{Hometown|}}}|< | </th></tr> | ||
{{#if:{{{HeightFeet|}}}{{{HeightInches|}}}|< | |||
{{#if:{{{ActiveFromYear|}}}|< | {{#if:{{{Photo|}}}| | ||
<tr><td class="infobox-image" colspan="2">[[File:{{{Photo}}}|frameless|upright=1.15]]</td></tr> | |||
</ | }} | ||
{{#if:{{{Hometown|}}}|<tr><th>Hometown</th><td>{{{Hometown}}}</td></tr>}} | |||
{{#if:{{{Team|}}}|<tr><th>Team</th><td>[[{{{Team}}}]]</td></tr>}} | |||
{{#if:{{{HeightFeet|}}}{{{HeightInches|}}}| | |||
<tr><th>Height</th> | |||
<td>{{{HeightFeet}}}′{{#if:{{{HeightInches|}}}|{{{HeightInches}}}″|}} </td> | |||
</tr> | |||
}} | |||
{{#if:{{{ActiveFromYear|}}}| | |||
<tr><th>Active</th> | |||
<td> | |||
{{{ActiveFromYear}}}{{#if:{{{ActiveToYear|}}}|–{{{ActiveToYear}}}|–present}} | |||
</td> | |||
</tr> | |||
}} | |||
{{#if:{{{Social|}}}| | |||
<tr><th>Social</th><td>{{{Social}}}</td></tr> | |||
}} | |||
{{#if:{{{PlayerID|}}}|<tr><th>ID</th><td>{{{PlayerID}}}</td></tr>}} | |||
</table> | |||
[[Category:Players]] | [[Category:Players]] | ||
</includeonly> | </includeonly> | ||