Template:Player: Difference between revisions
>Kypho No edit summary |
>Kypho No edit summary |
||
| Line 6: | Line 6: | ||
|HeightFeet=Integer | |HeightFeet=Integer | ||
|HeightInches=Integer | |HeightInches=Integer | ||
| | |ActiveFromYear=Integer | ||
| | |ActiveToYear=Integer | ||
|Photo=File | |Photo=File | ||
|Social=List (,) of URL | |Social=List (,) of URL | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#default_form:Player}} | {{#default_form:Player}} | ||
<templatestyles src="Template:Infobox/styles.css" /> | <templatestyles src="Template:Infobox/styles.css" /> | ||
{{#cargo_store:_table=Players | {{#cargo_store:_table=Players | ||
|Name={{{Name|{{PAGENAME}}}}} | |Name={{{Name|{{PAGENAME}}}}} | ||
| Line 22: | Line 21: | ||
|HeightFeet={{{HeightFeet|}}} | |HeightFeet={{{HeightFeet|}}} | ||
|HeightInches={{{HeightInches|}}} | |HeightInches={{{HeightInches|}}} | ||
| | |ActiveFromYear={{{ActiveFromYear|}}} | ||
| | |ActiveToYear={{{ActiveToYear|}}} | ||
|Photo={{{Photo|}}} | |Photo={{{Photo|}}} | ||
|Social={{{Social|}}} | |Social={{{Social|}}} | ||
}} | }} | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="ib-title">{{{Name|{{PAGENAME}}}}}{{#if:{{{Nickname|}}}| · “{{{Nickname}}}”}}</div> | <div class="ib-title">{{{Name|{{PAGENAME}}}}}{{#if:{{{Nickname|}}}| · “{{{Nickname}}}”}}</div> | ||
| Line 34: | Line 32: | ||
{{#if:{{{Hometown|}}}|<div class="ib-row"><span class="ib-label">Hometown</span><span>{{{Hometown}}}</span></div>}} | {{#if:{{{Hometown|}}}|<div class="ib-row"><span class="ib-label">Hometown</span><span>{{{Hometown}}}</span></div>}} | ||
{{#if:{{{HeightFeet|}}}{{{HeightInches|}}}|<div class="ib-row"><span class="ib-label">Height</span><span>{{{HeightFeet}}}′{{{HeightInches|0}}}″</span></div>}} | {{#if:{{{HeightFeet|}}}{{{HeightInches|}}}|<div class="ib-row"><span class="ib-label">Height</span><span>{{{HeightFeet}}}′{{{HeightInches|0}}}″</span></div>}} | ||
{{#if:{{{ | {{#if:{{{ActiveFromYear|}}}|<div class="ib-row"><span class="ib-label">Active</span> | ||
<span>{{{ActiveFromYear}}}{{#if:{{{ActiveToYear|}}}|–{{{ActiveToYear}}}|–present}}</span></div>}} | |||
</div> | </div> | ||
[[Category:Players]] | [[Category:Players]] | ||
</includeonly> | </includeonly> | ||