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

From blackwiki
Jump to navigation Jump to search
imported>Xboxandhalo2
imported>Renamed user mou89p43twvqcvm8ut9w3
(substitute unicode)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|{{#if:{{{pos|}}}|[[{{Fb position|{{{pos}}}}}|{{{pos}}}]]}}
 
|{{#if:{{{pos|}}}|[[{{Fb position|{{{pos}}}}}|{{{pos}}}]]}}
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
 
|{{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}<br />}}{{fb flag|{{{nb}}}}}
|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}}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<small>{{{nt}}}</small>}}<!--
 
|{{#if:{{{nt|}}}|align=left{{!}}<small>{{{nt}}}</small>}}<!--
  
 
--><noinclude>{{template doc}}</noinclude>
 
--><noinclude>{{template doc}}</noinclude>

Latest revision as of 15:26, 2 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}}} |{{{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