Template:Fb multicomp

From Chalo Chatu, Zambia online encyclopedia

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation

This template may be used to format a double or triple competition result in an fb table.

Test 1

This template isn't needed, but we can still generate something.

{{Fb multicomp
  |bc1 = red1 | result1 = Relegated | efn1 = {{efn|Team was relegated}}
 }}

Lua error: bad argument #1 to 'formatNum' (NaN).

Test 2

Typical case

{{Fb multicomp
  |bc1 = red1 | result1 = Relegated | efn1 = {{efn|Team was relegated}}
  |bc2 = blue1 | result2 = Promoted | efn2 = {{efn|Team was promoted}}
 }}

Lua error: bad argument #1 to 'formatNum' (NaN).

Test 3

Atypical

{{Fb multicomp
  |bc1 = red1 | result1 = Relegated | efn1 = {{efn|Team was relegated}}
  |bc2 = green1 | result2 = Promoted | efn2 = {{efn|Team was promoted}}
  |bc3 = lightgrey | result3 = Dissolved | efn3 = {{efn|Team was dissolved}}
 }}

Lua error: bad argument #1 to 'formatNum' (NaN).


Cite error: <ref> tags exist for a group named "lower-alpha", but no corresponding <references group="lower-alpha"/> tag was found