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

From blackwiki
Jump to navigation Jump to search
imported>Xboxandhalo2
(Created page with '|-{{#if:{{{bg|}}}|{{fb bg}}}} |{{{n}}} |{{#if:{{{pos|}}}|[[{{Fb position|{{{pos}}}}}|{{{pos}}}]]}} |{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}...')
 
imported>Xboxandhalo2
Line 4: Line 4:
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
 
|align=left|{{{p}}}
 
|align=left|{{{p}}}
|{{{yc1}}}
+
|{{#ifeq:{{{yc1}}}|0|{{Unicode| }}|{{{yc1}}}}}
|{{{syc1}}}
+
|{{#ifeq:{{{syc1}}}|0|{{Unicode| }}|{{{syc1}}}}}
|{{{rc1}}}
+
|{{#ifeq:{{{rc1}}}|0|{{Unicode| }}|{{{rc1}}}}}
|{{{yc2}}}
+
|{{#ifeq:{{{yc2}}}|0|{{Unicode| }}|{{{yc2}}}}}
|{{{syc2}}}
+
|{{#ifeq:{{{syc2}}}|0|{{Unicode| }}|{{{syc2}}}}}
|{{{rc2}}}
+
|{{#ifeq:{{{rc2}}}|0|{{Unicode| }}|{{{rc2}}}}}
|{{{yc3}}}
+
|{{#ifeq:{{{yc3}}}|0|{{Unicode| }}|{{{yc3}}}}}
|{{{syc3}}}
+
|{{#ifeq:{{{syc3}}}|0|{{Unicode| }}|{{{syc3}}}}}
|{{{rc3}}}
+
|{{#ifeq:{{{rc3}}}|0|{{Unicode| }}|{{{rc3}}}}}
|{{{yc4}}}
+
|{{#ifeq:{{{yc4}}}|0|{{Unicode| }}|{{{yc4}}}}}
|{{{syc4}}}
+
|{{#ifeq:{{{syc4}}}|0|{{Unicode| }}|{{{syc4}}}}}
|{{{rc4}}}
+
|{{#ifeq:{{{rc4}}}|0|{{Unicode| }}|{{{rc4}}}}}
 
|{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}+{{{yc4}}}}}
 
|{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}+{{{yc4}}}}}
 
|{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}+{{{syc4}}}}}
 
|{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}+{{{syc4}}}}}

Revision as of 04:01, 15 August 2011

|- |{{{n}}} | |{{country data {{{nb}}}|flagicon/core|variant=|size=}}Template:Namespace detect showall |align=left|{{{p}}} |{{{yc1}}} |{{{syc1}}} |{{{rc1}}} |{{{yc2}}} |{{{syc2}}} |{{{rc2}}} |{{{yc3}}} |{{{syc3}}} |{{{rc3}}} |{{{yc4}}} |{{{syc4}}} |{{{rc4}}} |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, yc4 - number of yellow cards accrued player in competition n
  • syc1, syc2, syc3, syc4 - number of matches in competition n in which player was sent off via two yellow cards
  • rc1, rc2, rc3, rc4 - 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