Difference between revisions of "Template:Fb disc player 3"
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 | + | | style="text-align:left;" |{{{p}}} |
| − | |{{#ifeq:{{{yc1}}}|0| | + | |{{#ifeq:{{{yc1}}}|0| |{{{yc1}}}}} |
| − | |{{#ifeq:{{{syc1}}}|0| | + | |{{#ifeq:{{{syc1}}}|0| |{{{syc1}}}}} |
| − | |{{#ifeq:{{{rc1}}}|0| | + | |{{#ifeq:{{{rc1}}}|0| |{{{rc1}}}}} |
| − | |{{#ifeq:{{{yc2}}}|0| | + | |{{#ifeq:{{{yc2}}}|0| |{{{yc2}}}}} |
| − | |{{#ifeq:{{{syc2}}}|0| | + | |{{#ifeq:{{{syc2}}}|0| |{{{syc2}}}}} |
| − | |{{#ifeq:{{{rc2}}}|0| | + | |{{#ifeq:{{{rc2}}}|0| |{{{rc2}}}}} |
| − | |{{#ifeq:{{{yc3}}}|0| | + | |{{#ifeq:{{{yc3}}}|0| |{{{yc3}}}}} |
| − | |{{#ifeq:{{{syc3}}}|0| | + | |{{#ifeq:{{{syc3}}}|0| |{{{syc3}}}}} |
| − | |{{#ifeq:{{{rc3}}}|0| | + | |{{#ifeq:{{{rc3}}}|0| |{{{rc3}}}}} |
| − | |{{#ifeq:{{{yc4}}}|0| | + | |{{#ifeq:{{{yc4}}}|0| |{{{yc4}}}}} |
| − | |{{#ifeq:{{{syc4}}}|0| | + | |{{#ifeq:{{{syc4}}}|0| |{{{syc4}}}}} |
| − | |{{#ifeq:{{{rc4}}}|0| | + | |{{#ifeq:{{{rc4}}}|0| |{{{rc4}}}}} |
| − | |{{#ifeq:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}+{{{yc4}}}}}|0| | + | |{{#ifeq:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}+{{{yc4}}}}}|0| |'''{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}+{{{yc4}}}}}'''}} |
| − | |{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}+{{{syc4}}}}}|0| | + | |{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}+{{{syc4}}}}}|0| |'''{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}+{{{syc4}}}}}'''}} |
| − | |{{#ifeq:{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}+{{{rc4}}}}}|0| | + | |{{#ifeq:{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}+{{{rc4}}}}}|0| |'''{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}+{{{rc4}}}}}'''}} |
|{{#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 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 "{".
|
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
| The above documentation is transcluded from Template:Fb disc player 3/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |