Difference between revisions of "Template:Fb disc player 5"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
imported>Izkala
(rm Template:Unicode transclusions)
 
Line 4: Line 4:
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
 
| style="text-align:left;" |{{{p}}}
 
| style="text-align:left;" |{{{p}}}
|{{#ifeq:{{{yc1}}}|0|{{Unicode| }}|{{{yc1}}}}}
+
|{{#ifeq:{{{yc1}}}|0||{{{yc1}}}}}
|{{#ifeq:{{{syc1}}}|0|{{Unicode| }}|{{{syc1}}}}}
+
|{{#ifeq:{{{syc1}}}|0||{{{syc1}}}}}
|{{#ifeq:{{{rc1}}}|0|{{Unicode| }}|{{{rc1}}}}}
+
|{{#ifeq:{{{rc1}}}|0||{{{rc1}}}}}
|{{#ifeq:{{{yc2}}}|0|{{Unicode| }}|{{{yc2}}}}}
+
|{{#ifeq:{{{yc2}}}|0||{{{yc2}}}}}
|{{#ifeq:{{{syc2}}}|0|{{Unicode| }}|{{{syc2}}}}}
+
|{{#ifeq:{{{syc2}}}|0||{{{syc2}}}}}
|{{#ifeq:{{{rc2}}}|0|{{Unicode| }}|{{{rc2}}}}}
+
|{{#ifeq:{{{rc2}}}|0||{{{rc2}}}}}
|{{#ifeq:{{{yc3}}}|0|{{Unicode| }}|{{{yc3}}}}}
+
|{{#ifeq:{{{yc3}}}|0||{{{yc3}}}}}
|{{#ifeq:{{{syc3}}}|0|{{Unicode| }}|{{{syc3}}}}}
+
|{{#ifeq:{{{syc3}}}|0||{{{syc3}}}}}
|{{#ifeq:{{{rc3}}}|0|{{Unicode| }}|{{{rc3}}}}}
+
|{{#ifeq:{{{rc3}}}|0||{{{rc3}}}}}
|{{#ifeq:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}|0|{{Unicode| }}|'''{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}'''}}
+
|{{#ifeq:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}|0||'''{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}'''}}
|{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}|0|{{Unicode| }}|'''{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}'''}}
+
|{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}|0||'''{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}'''}}
|{{#ifeq:{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}}}|0|{{Unicode| }}|'''{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}}}'''}}
+
|{{#ifeq:{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}}}|0||'''{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}}}'''}}
 
|{{#if:{{{nt|}}}|align=left{{!}}<small>{{{nt}}}</small>}}<!--
 
|{{#if:{{{nt|}}}|align=left{{!}}<small>{{{nt}}}</small>}}<!--
  
 
--><noinclude>{{template doc}}</noinclude>
 
--><noinclude>{{template doc}}</noinclude>

Latest revision as of 12:37, 8 May 2016

|- |{{{n}}} | |{{country data {{{nb}}}|flagicon/core|variant=|size=}}Template:Namespace detect showall | style="text-align:left;" |{{{p}}} |{{{yc1}}} |{{{syc1}}} |{{{rc1}}} |{{{yc2}}} |{{{syc2}}} |{{{rc2}}} |{{{yc3}}} |{{{syc3}}} |{{{rc3}}} |Expression error: Unrecognized punctuation character "{". |Expression error: Unrecognized punctuation character "{". |Expression error: Unrecognized punctuation character "{".

|

Template documentation[view] [edit] [history] [purge]

Usage

Required parameters:

  • n - squad number
  • pos - position
  • ni - player's FIFA nationality
  • p - player name
  • yc1, yc2, yc3 - number of yellow cards accrued player in competition n
  • syc1, syc2, syc3 - number of matches in competition n in which player was sent off via two yellow cards
  • rc1, rc2, rc3 - number of red cards accrued by player in competition n

Optional parameters:

  • bg - bg=y for a gray background fill; leave blank for no background color
  • nb - player's nation of birth; can be used instead of ni

See also