Difference between revisions of "Template:Player sub matches table/row"

From comp.tf
Jump to navigation Jump to search
m (Undo revision 50401 by Garlic (talk))
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{!}}-
+
|-
{{!}} {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
+
| {{#ifexpr: {{#len:{{{2|}}}}}>10 | {{#sub:{{{2|}}}|0|-9}} | {{{2|}}}}}
{{!}} {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}}  [[{{{7}}}|{{{8}}}]]
+
| {{#if: {{{10}}} | [[File:{{{10}}}|25px|link={{{7}}}]] ||}}  [[{{{7}}}|{{{8}}}]]
{{!}} {{#switch: {{{11|}}}
+
| style="text-align:right" {{!}} [[{{{3|}}}]] {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|[[File:{{#explode:{{#explode:{{Team/{{lc:{{{3|}}}}}}}|{{!}}link=|0}}|File:|1}}|link={{{3|}}}]]|[[File:TF_icon.png|link={{{3|}}}]]}}
 +
| {{#switch: {{{11|}}}
 
   | 1 = Default
 
   | 1 = Default
 
   | 2 = Default
 
   | 2 = Default
   | #default = {{{6}}}:{{{5}}}
+
   | #default = {{{5}}} &minus; {{{6}}}
 
   }}
 
   }}
{{!}} style="text-align:left" {{!}} {{#ifexist:Template:Team/{{lc:{{{3|}}}}} | {{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{4|}}}}}|{{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}}
+
| style="text-align:left" {{!}} {{#ifexist:Template:Team/{{lc:{{{4|}}}}} | {{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}}</includeonly>
{{!}} style="text-align:left" {{!}} {{#ifexist:Template:Team/{{lc:{{{4|}}}}} | {{Team/{{lc:{{{4|}}}}}}} | [[File:TF_icon.png|link={{{4|}}}]] [[{{{4|}}}]]}} | {{#ifexist:Template:Team/{{lc:{{{3|}}}}}|{{Team/{{lc:{{{3|}}}}}}} | [[File:TF_icon.png|link={{{3|}}}]] [[{{{3|}}}]]}}
 
}}
 
</includeonly>
 

Latest revision as of 20:59, 14 March 2017