Difference between revisions of "Template:Fb lo match"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | + | |- style="background:#{{#ifexpr: ({{{gf<noinclude>|1</noinclude>}}}>{{{ga|<noinclude>0</noinclude>}}})|DDFFDD|{{#ifeq: {{{gf}}}|{{{ga}}}|FFFFDD|FFDDDD}}}} | |
| − | |||
<!-- Round -->| {{{rn}}} | <!-- Round -->| {{{rn}}} | ||
<!-- Date -->| {{{d}}} | <!-- Date -->| {{{d}}} | ||
<!-- Ground -->| {{#switch:{{{g}}} | <!-- Ground -->| {{#switch:{{{g}}} | ||
| − | |H= | + | |H={{#if:{{{ground|}}}|{{{ground}}}|H}} |
| − | |A= | + | |A={{#if:{{{ground|}}}|{{{ground}}}|A}} |
| − | |N= | + | |N={{#if:{{{ground|}}}|{{{ground}}}|N}} |
| − | |HC= | + | |HC={{#if:{{{ground|}}}|{{{ground}}}|H}} |
| − | |AC= | + | |AC={{#if:{{{ground|}}}|{{{ground}}}|A}} |
| − | |HA= | + | |HA={{#if:{{{ground|}}}|{{{ground}}}|H}} |
| − | |AA={{#if:{{{ | + | |AA={{#if:{{{ground|}}}|{{{ground}}}|A}} |
| − | + | |#default = {{{ground|{{{g|}}}}}} | |
}} | }} | ||
| − | <!--Opponent -->| {{#if:{{{o|}}}| | + | <!--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>}}}}}} | <!--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}}} | <!--Position-->| {{{pos}}} | ||
<!--Points-->| {{{pts}}} | <!--Points-->| {{{pts}}} | ||
<!--Goal difference-->| {{{gd}}} | <!--Goal difference-->| {{{gd}}} | ||
| − | <!--Report-->| {{{rep}}} | + | <!--Report-->| {{{rep}}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using fb lo match with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Fb lo match]] with unknown parameter "_VALUE_"|ignoreblank=y| tc | rn | d | ground | ol | mx | ml | gf | ga | pen | pos | pts | gd | rep }}<noinclude> |
| − | + | {{documentation|content= | |
| − | + | This template is may be used in conjunction with the {{tl|fb lo header}} and {{tl|fb lo footer}} templates. 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. | |
| − | + | == Usage == | |
| + | {{aligned table|class=wikitable|row1header=y|col1header=y|col1style=font-weight:normal | ||
| + | | Parameter | Description | ||
| + | | rn | round name | ||
| + | | d | date | ||
| + | | ground | ground (H {{=}} home, A {{=}} away, N {{=}} neutral) wikilinked | ||
| + | | ol | opponent wikilinked | ||
| + | | mx | link score to match report | ||
| + | | ml | url for match report | ||
| + | | gf | goals for | ||
| + | | ga | goals against | ||
| + | | pen | penalty kicks | ||
| + | | pos | position | ||
| + | | pts | points | ||
| + | | gd | goal differential | ||
| + | | rep | match report using any of the fb match templates | ||
| + | }} | ||
| + | == Tracking category == | ||
| + | * {{clc|Pages using fb lo match with unknown parameters}} | ||
| + | == See also == | ||
| + | * {{tl|fb lo header}} | ||
| + | * {{tl|fb lo footer}} | ||
| + | * {{tl|fb cm match}} | ||
| + | * {{tl|fb cm1 match}} | ||
| + | * {{tl|fb cm3 match}} | ||
| + | |||
| + | [[Category:Fb templates|Lo match]] | ||
| + | }}</noinclude> | ||
Latest revision as of 15:58, 25 May 2018
|- style="background:#DDFFDD | {{{rn}}} | {{{d}}} | | | | {{{pos}}} | {{{pts}}} | {{{gd}}} | {{{rep}}}
File:Test Template Info-Icon - Version (2).svg Template documentation
This template is may be used in conjunction with the {{fb lo header}} and {{fb lo footer}} templates. 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.
Usage
Script error: No such module "aligned table".
Tracking category
See also
- {{fb lo header}}
- {{fb lo footer}}
- {{fb cm match}}
- {{fb cm1 match}}
- {{fb cm3 match}}
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |