Difference between revisions of "Template:Fb cm3 match"
Jump to navigation
Jump to search
(Screen potential parser function errors due to missing parameters) |
imported>Gno-simple-edits |
||
| Line 12: | Line 12: | ||
Ground -->||{{#ifeq:{{{g}}}|H|{{fb team ground {{{t}}}|g={{{g}}}|tc={{{tc}}}}}|{{#ifeq:{{{g}}}|A|{{fb team ground {{{o}}}|g={{{g}}}|tc={{{tc}}}}}|{{#ifeq:{{{g}}}|N|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g={{{g}}}|tc={{{tc}}}}}|N}}}}}}}}{{#ifeq:{{{g}}}|HC|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=HR|tc={{{tc}}}}}|H}}}}{{#ifeq:{{{g}}}|AC|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=AR|tc={{{tc}}}}}|A}}}}<!-- | Ground -->||{{#ifeq:{{{g}}}|H|{{fb team ground {{{t}}}|g={{{g}}}|tc={{{tc}}}}}|{{#ifeq:{{{g}}}|A|{{fb team ground {{{o}}}|g={{{g}}}|tc={{{tc}}}}}|{{#ifeq:{{{g}}}|N|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g={{{g}}}|tc={{{tc}}}}}|N}}}}}}}}{{#ifeq:{{{g}}}|HC|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=HR|tc={{{tc}}}}}|H}}}}{{#ifeq:{{{g}}}|AC|{{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=AR|tc={{{tc}}}}}|A}}}}<!-- | ||
| − | Opponent -->||align=center|{{#if:{{{o|}}}|{{fb team {{{o}}}|oc={{{tc}}}}}}}<!-- | + | Opponent -->||align=center|{{#if:{{{ol|}}}|{{{ol|}}}|{{#if:{{{o|}}}|{{fb team {{{o}}}|oc={{{tc}}}}}}}}}<!-- |
Score -->||{{#if:{{{gf|}}}|{{#if:{{{mx|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}]|{{{gf}}} – {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}}}}}<!-- | Score -->||{{#if:{{{gf|}}}|{{#if:{{{mx|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}]|{{{gf}}} – {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}}}}}<!-- | ||
| Line 31: | Line 31: | ||
|{{#if:{{both|{{{gf|}}}|{{{ga|}}}}}|{{#ifeq:{{#expr:{{{gf}}}>={{{ga}}}}}|1|{{#expr:{{{gf}}}-{{{ga}}}}}|{{Unicode|-}}{{#expr:{{{ga}}}-{{{gf}}}}}}}}} | |{{#if:{{both|{{{gf|}}}|{{{ga|}}}}}|{{#ifeq:{{#expr:{{{gf}}}>={{{ga}}}}}|1|{{#expr:{{{gf}}}-{{{ga}}}}}|{{Unicode|-}}{{#expr:{{{ga}}}-{{{gf}}}}}}}}} | ||
| − | --><noinclude>{{documentation}}</noinclude> | + | --> |
| + | <noinclude>{{documentation}}</noinclude> | ||
Revision as of 23:24, 31 October 2013
|- |{{{m}}}||align=center|{{{d}}}||align=center|{{Fb competition {{{s}}} {{{c}}} }}||||||align=center|||||{{{rep}}}
Template:fb cm match (Football - competitive match - match)
| Parameter | Description |
|---|---|
tc
|
country of the team |
m
|
match sequence number |
d
|
match's date |
cn
|
competition (use when there is NOT article to be linked) |
rn
|
competition's round (use when there is no link) |
ground
|
ground (H=home or A=away or N=neutral or HC=home replacement or AC=away replacement) with link |
ol
|
opponent team wikilink |
gf
|
goals for |
ga
|
goals against |
tv
|
(optional) |
pen
|
penalty shoot-out score (if match decided this way) |
sc
|
scorers (use when enabled in Template:Fb cm header; when using, if there is no scorers leave empty "sc=") |
ml
|
match link (if exist) |
ko
|
kick-off time |
att
|
attendance |
ref
|
referee |
motm
|
team's man of the match |
rep
|
report (use any Fb_report template) |
Tracking category
See also
- {{fb cm header}}
- {{fb cm footer}}
- {{fb cm match}}
- {{fb cm1 match}}
- {{fb lo match}}
| The above documentation is transcluded from Template:Fb cm3 match/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |