Difference between revisions of "Template:PlayerInfoTableRow"
Jump to navigation
Jump to search
37thchamber (talk | contribs) m |
37thchamber (talk | contribs) m (auto remove the "S" from draft class; allows it to be linked directly to the player's NSFL draft using Template:Nsfly) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
| S16 = bgcolor="#F0A"{{!}} | | S16 = bgcolor="#F0A"{{!}} | ||
| #default = bgcolor="#ffffff"{{!}} | | #default = bgcolor="#ffffff"{{!}} | ||
− | }} | + | }} |
− | | {{#if:{{{draftClass|}}}|{{{draftClass}}}}} | + | | {{#if:{{{draftClass|}}}|{{nsfly|{{#replace:{{lc:{{{draftClass}}}}}|s|}}|d}}}} |
| {{PlayerPage|player_name={{{playerName}}}|player_id={{{playerId}}}}} | | {{PlayerPage|player_name={{{playerName}}}|player_id={{{playerId}}}}} | ||
| {{#if:{{{position|}}}|{{Template:AmFootball positions|{{{position}}}}}{{#if:{{{position2|}}}|/{{Template:AmFootball positions|{{{position2}}}}}}}| }} | | {{#if:{{{position|}}}|{{Template:AmFootball positions|{{{position}}}}}{{#if:{{{position2|}}}|/{{Template:AmFootball positions|{{{position2}}}}}}}| }} | ||
Line 32: | Line 32: | ||
| YELLOWKNIFE_WRAITHS = {{tf|YKW}} | | YELLOWKNIFE_WRAITHS = {{tf|YKW}} | ||
| ORANGE_COUNTY_OTTERS = {{tf|OCO}} | | ORANGE_COUNTY_OTTERS = {{tf|OCO}} | ||
+ | | CHICAGO_BUTCHERS = {{tf|CHI}} | ||
| #default = {{tf|NSFL}} | | #default = {{tf|NSFL}} | ||
}} | }} | ||
− | }}<noinclude> | + | }} |
+ | | {{#if:{{{currentTPE|}}}|{{{currentTPE}}} }}<noinclude> | ||
<br/> | <br/> | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 11:54, 14 November 2019
|-
| bgcolor="#ffffff"|
|
| [[{{{playerName}}}]]
|
|
|
Created especially for parsing external data
Example
{{PlayerInfoTableHeader}} {{PlayerInfoTableRow|draftClass=S11|playerName=Lennox Garnett|position=S|teamName=PHILADELPHIA_LIBERTY|currentTPE=969}} {{PlayerInfoTableFooter}}
Will display:
Draft Class | Player Name | Position | Team | TPE | |
---|---|---|---|---|---|
2026 | Lennox Garnett | S | Philadelphia Liberty | 969 |