Difference between revisions of "Template:Fb disc player 5"
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| | + | |{{#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:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}|0| | + | |{{#ifeq:{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}|0||'''{{#expr:{{{yc1}}}+{{{yc2}}}+{{{yc3}}}}}'''}} |
| − | |{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}|0| | + | |{{#ifeq:{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}|0||'''{{#expr:{{{syc1}}}+{{{syc2}}}+{{{syc3}}}}}'''}} |
| − | |{{#ifeq:{{#expr:{{{rc1}}}+{{{rc2}}}+{{{rc3}}}}}|0| | + | |{{#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 "{".
|
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
| The above documentation is transcluded from Template:Fb disc player 5/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. |