Difference between revisions of "Template:Fb fm match"

From blackwiki
Jump to navigation Jump to search
imported>Kalaha
(make HC and AC able)
(Screen potential parser function errors due to missing parameters)
Line 1: Line 1:
|-{{#ifexpr:{{#expr:({{{m}}}+1) mod 2}}|{{fb bg}}}}
+
|- {{#if:{{{m|}}}|{{#ifexpr:{{#expr:({{{m}}}+1) mod 2}}|{{fb bg}}}}}}
 
|{{{m}}}{{#if:{{{nn|}}}|<sup>{{{nn}}}</sup>}}
 
|{{{m}}}{{#if:{{{nn|}}}|<sup>{{{nn}}}</sup>}}
 
|{{{d}}}
 
|{{{d}}}
Line 7: Line 7:
 
|{{#if:{{{gf|}}}|{{#if:{{{ml|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}]|{{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />({{{pen}}} pen.)}}}}}}<!--
 
|{{#if:{{{gf|}}}|{{#if:{{{ml|}}}|[{{{ml}}} {{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br /><small>({{{pen}}} pen.)</small>}}]|{{{gf}}} - {{{ga}}} {{#if:{{{pen|}}}|<br />({{{pen}}} pen.)}}}}}}<!--
 
-->{{#ifeq:{{{sc}}}|{{non existing|sc}}| |{{!}}{{!}}align=left{{!}}<small>{{#if:{{{sc|}}}|{{{sc}}}}}</small>}}
 
-->{{#ifeq:{{{sc}}}|{{non existing|sc}}| |{{!}}{{!}}align=left{{!}}<small>{{#if:{{{sc|}}}|{{{sc}}}}}</small>}}
|{{#if:{{{gf|}}}|{{#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>
 
--><noinclude>
{{template doc}}
+
{{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 20:05, 10 September 2010

|- |{{{m}}} |{{{d}}} |— | | |||align=left| |

50px Template documentation[view] [edit] [history] [purge]

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