Difference between revisions of "Template:Fb lo match"
Jump to navigation
Jump to search
imported>Renamed user mou89p43twvqcvm8ut9w3 (remove unicode) |
imported>Frietjes (simplify; add alternative syntax) |
||
| Line 1: | Line 1: | ||
<!-- This template is supposed to be used in conjunction with the lo header and lo footer template. It should be used to create a table, concerned only with league matches, in contrast to the cm-templates, which are useful for a table, concerned with all of club's matches in a season. This is still work in progress | <!-- This template is supposed to be used in conjunction with the lo header and lo footer template. It should be used to create a table, concerned only with league matches, in contrast to the cm-templates, which are useful for a table, concerned with all of club's matches in a season. This is still work in progress | ||
| − | -->|-{{#ifexpr: ({{{gf}}}>{{{ga}}})| | + | -->|- style="background:#{{#ifexpr: ({{{gf<noinclude>|1</noinclude>}}}>{{{ga|<noinclude>0</noinclude>}}})|DDFFDD|{{#ifeq: {{{gf}}}|{{{ga}}}|FFFFDD|FFDDDD}}}} |
| − | <!-- | + | <!-- Round -->| {{{rn}}} |
| − | + | <!-- Date -->| {{{d}}} | |
| − | Round -->|{{{rn}}}<!-- | + | <!-- Ground -->| {{#switch:{{{g}}} |
| − | + | |H={{#if:{{{t|}}}|{{fb team ground {{{t}}}|g={{{g}}}|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|H}}}} | |
| − | Date --> | + | |A={{#if:{{{o|}}}|{{fb team ground {{{o}}}|g={{{g}}}|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|A}}}} |
| − | + | |N={{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g={{{g}}}|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|N}}}} | |
| − | Ground --> | + | |HC={{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=HR|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|H}}}} |
| − | + | |AC={{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=AR|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|A}}}} | |
| − | Opponent --> | + | |HA={{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=H|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|H}}}} |
| − | + | |AA={{#if:{{{gn|}}}|{{fb ground {{{gn}}}|g=A|tc={{{tc}}}}}|{{#if:{{{ground|}}}|{{{ground}}}|A}}}} | |
| − | Score --> | + | |#default = {{{ground|}}} |
| − | + | }} | |
| − | Position | + | <!--Opponent -->| {{#if:{{{o|}}}|{{fb team {{{o}}}|oc={{{tc}}}}}|{{{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>}}}}}} |
| − | + | <!--Position-->| {{{pos}}} | |
| − | Points | + | <!--Points-->| {{{pts}}} |
| − | --> | + | <!--Goal difference-->| {{{gd}}} |
| − | + | <!--Report-->| {{{rep}}} | |
| − | Goal difference | + | <!-- Goal difference |
| − | --> | + | | {{#if:{{{gf|}}}|{{#ifeq:{{#expr:{{{gf}}}>={{{ga}}}}}|1|{{#expr:{{{gf}}}-{{{ga}}}}}|-{{#expr:{{{ga}}}-{{{gf}}}}}}}}} |
| − | |||
| − | Report | ||
| − | --> | ||
| − | |||
| − | Goal difference | ||
| − | |{{#if:{{{gf|}}}|{{#ifeq:{{#expr:{{{gf}}}>={{{ga}}}}}|1|{{#expr:{{{gf}}}-{{{ga}}}}}|-{{#expr:{{{ga}}}-{{{gf}}}}}}}}} | ||
| − | |||
| − | |||
--><noinclude>[[Category:Fb templates]]</noinclude> | --><noinclude>[[Category:Fb templates]]</noinclude> | ||
Revision as of 22:18, 2 May 2018
|- style="background:#DDFFDD | {{{rn}}} | {{{d}}} | | | | {{{pos}}} | {{{pts}}} | {{{gd}}} | {{{rep}}}