Difference between revisions of "Template:Fb fm match"
Jump to navigation
Jump to search
imported>Frietjes m |
imported>Gno-simple-edits (Adding option to use direct wikilink) |
||
| Line 4: | Line 4: | ||
|{{#if:{{{c|}}}|{{{c}}}|—}} | |{{#if:{{{c|}}}|{{{c}}}|—}} | ||
|{{#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}}}} | |{{#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}}}} | ||
| − | |{{#if:{{{o|}}}|{{fb team {{{o}}}|oc={{{tc}}}}}}} | + | |{{#if:{{{ol|}}}|{{{ol}}}|{{#if:{{{o|}}}|{{fb team {{{o}}}|oc={{{tc}}}}}}}}} |
|{{#if:{{{gf|}}}|{{#if:{{{ml|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />{{small|1=({{{pen}}} pen.)}}}}]|{{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />({{{pen}}} pen.)}}}} | |{{#if:{{{gf|}}}|{{#if:{{{ml|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />{{small|1=({{{pen}}} pen.)}}}}]|{{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />({{{pen}}} pen.)}}}} | ||
}}{{#ifeq:{{{sc|Ø}}}|Ø| |{{!!}}align=left{{!}}{{#if:{{{sc|}}}|{{small|1={{{sc}}}}}}}}} | }}{{#ifeq:{{{sc|Ø}}}|Ø| |{{!!}}align=left{{!}}{{#if:{{{sc|}}}|{{small|1={{{sc}}}}}}}}} | ||
Revision as of 13:10, 2 November 2013
|- |{{{m}}} |{{{d}}} |— | | | |
Template:Fb fm match (Football - friendly match - match)
Parameters:
t : team that the table is about
m : match sequence number
ma : match article (if exist)
d : match's date c = match's competition
c : competition / tour
g : ground; H = home; A = away; N = neutral
gn : ground name (if g=N)
away_link : wikilink to away venue, use if g==A and ol is being used
ol : direct wikilink to opponent team; use this or the "o" parameter
o : opponent team
gf : goals for
ga : goals against
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=")
nn : note number
| The above documentation is transcluded from Template:Fb fm 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. |