Difference between revisions of "Template:Fb cm match"
Jump to navigation
Jump to search
(Screen potential parser function errors due to missing parameters) |
imported>Frietjes |
||
| (17 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
|- {{#if:{{{m|}}}|{{#ifexpr:{{#expr:({{{m}}}+1) mod 2}}|{{fb bg}}}}}} | |- {{#if:{{{m|}}}|{{#ifexpr:{{#expr:({{{m}}}+1) mod 2}}|{{fb bg}}}}}} | ||
| − | <!-- | + | <!--Match -->| {{{m}}} |
| − | + | <!--Date -->| {{{d}}} | |
| − | Match -->|{{{m}}}<!-- | + | <!--Competition -->| {{#if:{{{cn<includeonly>|</includeonly>}}}|{{{cn}}}|[[{{{s}}} {{{c}}}|{{{c}}}]]}} |
| − | + | <!--Round -->| {{#if:{{{rn|}}}|{{#ifeq:{{{rn}}}|no|—|{{{rn}}}}}|{{#if:{{{r|}}}|[[{{{s}}} {{{c}}}#{{{r}}}|{{{r}}}]]}}}} | |
| − | Date --> | + | <!--Ground -->| {{#switch:{{{g}}} |
| − | + | |H={{#if:{{{ground|}}}|{{{ground}}}|H}} | |
| − | Competition -->||{{ | + | |A={{#if:{{{a_flag|{{away_venue|}}}}}}|{{{a_flag|{{away_venue}}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|A}}}} |
| − | + | |N={{#if:{{{ground|}}}|{{{ground}}}|N}} | |
| − | Round --> | + | |#default ={{{ground|{{{g|}}}}}} |
| − | + | }} | |
| − | Ground --> | + | <!--Opponent -->| {{#if:{{{o|}}}|{{{o}}}| {{{ol|}}} }} |
| − | + | <!--Score -->| {{#if:{{{gf|}}}|{{#if:{{{mx|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}]|{{{gf}}} – {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}}}}} | |
| − | Opponent --> | + | <!--Report -->| {{#if:{{{rep|}}}{{{ko|}}}{{{att|}}}{{{ref|}}}{{{motm|}}}{{{f1|}}}{{{f2|}}}{{{f3|}}}{{{f4|}}}{{{f5|}}}{{{f6|}}}{{{f7|}}}{{{f8|}}}{{{f9|}}}{{{f10|}}} |
| − | + | |{{hidden begin|title=}} | |
| − | Score --> | + | {{#if:{{{ma|}}}|{{#ifeq:{{{ma}}}|{{non existing|ma}}||[[{{{ma}}}|Report]]<br />}}}}<!-- |
| − | + | -->{{#if:{{{rep|}}}|[{{{rep}}} Report]<br />|{{{rep_s|}}}}}<!-- | |
| − | Report | ||
| − | -->||{{#if:{{{ | ||
| − | < | ||
| − | |||
| − | {{#if:{{{rep|}}}|[{{{rep}}} Report]<br />}}<!-- | ||
-->{{#if:{{{ko|}}}|Kick off: {{{ko}}}<br />}}<!-- | -->{{#if:{{{ko|}}}|Kick off: {{{ko}}}<br />}}<!-- | ||
-->{{#if:{{{att|}}}|Attendance: {{{att}}}<br />}}<!-- | -->{{#if:{{{att|}}}|Attendance: {{{att}}}<br />}}<!-- | ||
| Line 34: | Line 29: | ||
-->{{#if:{{{f8|}}}|{{{f8}}}<br />}}<!-- | -->{{#if:{{{f8|}}}|{{{f8}}}<br />}}<!-- | ||
-->{{#if:{{{f9|}}}|{{{f9}}}<br />}}<!-- | -->{{#if:{{{f9|}}}|{{{f9}}}<br />}}<!-- | ||
| − | -->{{#if:{{{f10|}}}|{{{f10}}} | + | -->{{#if:{{{f10|}}}|{{{f10}}} |
| − | + | }}{{hidden end}} | |
| − | + | | {{#if:{{{ma|}}}|[[{{{ma}}}|<small>(Report)</small>]]}} | |
| − | + | }}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using fb cm match with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Fb cm match]] with unknown parameter "_VALUE_"|ignoreblank=y| tc | m | d | cn | rn | ground | a_flag | ol | gf | ga | mx | ml | pen | rep | ko | att | ref | motm | f1 | f2 | f3 | f4 | f5 | f6 | f7 | f8 | f9 | f10 | ma | rep_s }}<noinclude>{{documentation}}</noinclude> | |
| − | |||
| − | |||
| − | |||
Latest revision as of 15:57, 25 May 2018
|- | {{{m}}} | {{{d}}} | {{{cn}}} | | | |
|
Template:fb cm match (Football - competitive match - match)
| Parameter | Description |
|---|---|
tc
|
country of the team |
m
|
match sequence number |
d
|
match's date |
cn
|
match's competition |
rn
|
competition's round (linked if appropriate) |
ground
|
ground (H=home or A=away or N=neutral) with link |
ol
|
opponent team wikilink |
gf
|
goals for |
ga
|
goals against |
pen
|
penalty shoot-out score (if match decided this way) |
sc
|
scorers (use when enabled in {{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 |
f1..f10
|
fact 1 to 10 |
Tracking category
See also
- {{fb cm header}}
- {{fb cm footer}}
- {{fb cm1 match}}
- {{fb cm3 match}}
- {{fb lo match}}
| The above documentation is transcluded from Template:Fb cm 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. |