Difference between revisions of "Template:PlayerInfoTableRow"

From Sim Football Wiki
Jump to navigation Jump to search
(Created page with "|- {{#switch: {{{draftClass}}} | S01 | S18 = bgcolor="#F00"{{!}} | S19 | S02 = bgcolor="#F50"{{!}} | S20 | S03 = bgcolor="#FB0"{{!}} | S21 | S04 = bgcolor="#FF...")
 
m (auto remove the "S" from draft class; allows it to be linked directly to the player's NSFL draft using Template:Nsfly)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
|- {{#switch: {{{draftClass}}}
+
|-
   | S01
+
{{!}} {{#switch: {{{draftClass}}}
   | S18 = bgcolor="#F00"{{!}}
+
   | S01  
   | S19
+
   | S09 = bgcolor="#F00"{{!}}
   | S02 = bgcolor="#F50"{{!}}
+
   | S02
   | S20
+
   | S10 = bgcolor="#FC0"{{!}}
   | S03 = bgcolor="#FB0"{{!}}
+
   | S03
   | S21
+
   | S11 = bgcolor="#7F0"{{!}}
   | S04 = bgcolor="#FF0"{{!}}
+
   | S04
   | S05 = bgcolor="#9F0"{{!}}
+
   | S12 = bgcolor="#0F5"{{!}}
   | S06 = bgcolor="#4F0"{{!}}
+
   | S05
  | S07 = bgcolor="#0F1"{{!}}
+
   | S13 = bgcolor="#0EF"{{!}}
  | S08 = bgcolor="#0F6"{{!}}
+
   | S06
  | S09 = bgcolor="#0FC"{{!}}
+
   | S14 = bgcolor="#02F"{{!}}
  | S10 = bgcolor="#0EF"{{!}}
+
   | S07
   | S11 = bgcolor="#08F"{{!}}
+
   | S15 = bgcolor="#90F"{{!}}
   | S12 = bgcolor="#03F"{{!}}
+
   | S08
   | S13 = bgcolor="#10F"{{!}}
+
   | S16 = bgcolor="#F0A"{{!}}
   | S14 = bgcolor="#60F"{{!}}
 
   | S15 = bgcolor="#B0F"{{!}}
 
   | S16 = bgcolor="#F0F"{{!}}
 
  | S17 = 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}}}}}}}| }}
| {{#if:{{{teamName|}}}|{{{teamName}}}}}<noinclude>
+
| {{#if:{{{teamName|}}}|{{#switch: {{{teamName}}}
 +
| ARIZONA_OUTLAWS = {{tf|ARI}}
 +
| AUSTIN_COPPERHEADS = {{tf|AUS}}
 +
| BALTIMORE_HAWKS = {{tf|BAL}}
 +
| COLORADO_YETI = {{tf|COL}}
 +
| PHILADELPHIA_LIBERTY = {{tf|PHI}}
 +
| SAN_JOSE_SABERCATS = {{tf|SJS}}
 +
| NEW_ORLEANS_SECOND_LINE = {{tf|NOLA}}
 +
| YELLOWKNIFE_WRAITHS = {{tf|YKW}}
 +
| ORANGE_COUNTY_OTTERS = {{tf|OCO}}
 +
| CHICAGO_BUTCHERS = {{tf|CHI}}
 +
| #default = {{tf|NSFL}}
 +
}}
 +
}}
 +
| {{#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}}}]] |   | |