Difference between revisions of "Template:Fb ss player"
imported>Frietjes (don't track eu (harmless)) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
|-{{#if:{{{bg|}}}|{{fb bg}}}} | |-{{#if:{{{bg|}}}|{{fb bg}}}} | ||
|{{{n}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using fb ss player with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Fb ss player]] with unknown parameter "_VALUE_"|ignoreblank=y| bg | c1a | c1g | c2a | c2g | c3a | c3g | c4a | c4g | c5a | c5g | gs | n | nb | ni | p | pos | eu }}{{#ifeq:{{{n|a}}}|{{{n|b}}}||<includeonly>[[Category:Pages using fb ss player with unknown parameters|Ν]]</includeonly>}} | |{{{n}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using fb ss player with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Fb ss player]] with unknown parameter "_VALUE_"|ignoreblank=y| bg | c1a | c1g | c2a | c2g | c3a | c3g | c4a | c4g | c5a | c5g | gs | n | nb | ni | p | pos | eu }}{{#ifeq:{{{n|a}}}|{{{n|b}}}||<includeonly>[[Category:Pages using fb ss player with unknown parameters|Ν]]</includeonly>}} | ||
| − | |{{#if:{{{pos|}}}|[[{{Fb position|{{{pos}}}}}|{{{pos}}}]]}} | + | |{{#if:{{{pos|}}}|[[{{Fb position|{{{pos}}}}}|{{{pos}}}]] |
| − | + | }}{{#if:{{{nb|}}}{{{ni|}}}|{{!!}}{{br separated entries | |
| + | |1={{#if:{{{ni|}}}|{{fb flag|{{{ni}}}}}}} | ||
| + | |2={{#if:{{{nb|}}}|{{fb flag|{{{nb}}}}}}} | ||
| + | }} }} | ||
| style="text-align:left;" |{{{p}}} | | style="text-align:left;" |{{{p}}} | ||
|{{#ifeq:{{{gs}}}|0| |{{{gs}}}}} | |{{#ifeq:{{{gs}}}|0| |{{{gs}}}}} | ||
|{{#ifeq:{{#expr:{{{c1a}}}+{{{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}}}} ||{{#ifeq:{{{c1g}}}|0| |{{{c1g}}}}} | ||
| − | |{{#ifeq:{{{c2a}}}|0| |{{{c2a}}}}} ||{{#ifeq:{{{c2g}}}|0| |{{{c2g}}}}} | + | |{{#ifeq:{{{c2a}}}|0| |{{{c2a}}}}} ||{{#ifeq:{{{c2g}}}|0| |{{{c2g}}} |
| − | + | }} {{#if:{{{c3a|}}}|{{!!}}{{!}}{{#ifeq:{{{c3a}}}|0| |{{{c3a}}}}} {{!!}}{{#ifeq:{{{c3g}}}|0| |{{{c3g}}}}} | |
| − | + | }} {{#if:{{{c4a|}}}|{{!!}}{{!}}{{#ifeq:{{{c4a}}}|0| |{{{c4a}}}}} {{!!}}{{#ifeq:{{{c4g}}}|0| |{{{c4g}}}}} | |
| − | + | }} {{#if:{{{c5a|}}}|{{!!}}{{!}}{{#ifeq:{{{c5a}}}|0| |{{{c5a}}}}} {{!!}}{{#ifeq:{{{c5g}}}|0| |{{{c5g}}}}} | |
| − | + | }} {{#ifeq:{{{nt|a}}}|{{{nt|b}}}|{{!!}} {{{nt}}} | |
| − | + | }} <noinclude> | |
| − | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 16:11, 31 August 2018
|- |{{{n}}} | | style="text-align:left;" |{{{p}}} |{{{gs}}} |Expression error: Unrecognized punctuation character "{". ||Expression error: Unrecognized punctuation character "{". |{{{c1a}}} ||{{{c1g}}} |{{{c2a}}} ||{{{c2g}}}
Template:Fb ss player (Football - squad stats - player)
Parameters
bg : background color. y = yes; blank = no
nb : nationality of birth (following codes from ISO_3166-1_alpha-3 article)
n : number on jersey
pos : position (using codes from "Football (soccer) positions" article)
p : player's name on jersey and link to his article
gs : games started
min : minutes played
c1a : competition 1 appearances
c1g : competition 1 goals
c2a : competition 2 appearances
c2g : competition 2 goals
c3a : competition 3 appearances
c3g : competition 3 goals
c4a : competition 4 appearances
c4g : competition 4 goals
c5a : competition 4 appearances
c5g : competition 4 goals
nt : notes
ni : nationality as international player (if different from nb) (following codes from ISO_3166-1_alpha-3 article)
Tracking category
| The above documentation is transcluded from Template:Fb ss player/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. |