Difference between revisions of "Template:FCEH"
Jump to navigation
Jump to search
imported>Bungle m (remove redundant text) |
imported>Bungle (added 5 additional footnote templates to include within the table columns) |
||
| Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
! scope="row" {{#ifeq:{{{club|}}}|italic|style="font-style: italic;"}} | [[{{{1}}}|{{Remove last word|{{{1}}}}}]]{{#if:{{{fn|}}}|{{efn|name={{{fn}}}}}}} | ! scope="row" {{#ifeq:{{{club|}}}|italic|style="font-style: italic;"}} | [[{{{1}}}|{{Remove last word|{{{1}}}}}]]{{#if:{{{fn|}}}|{{efn|name={{{fn}}}}}}} | ||
| − | |{{#ifeq:{{{b1|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{2}}}=0|—|{{{2}}}}} | + | |{{#ifeq:{{{b1|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{2}}}=0|—|{{{2}}}}}{{#if:{{{fn2|}}}|{{efn|name={{{fn2}}}}}}} |
| − | |{{#ifeq:{{{b2|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{3}}}=0|—|{{{3}}}}} | + | |{{#ifeq:{{{b2|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{3}}}=0|—|{{{3}}}}}{{#if:{{{fn3|}}}|{{efn|name={{{fn3}}}}}}} |
|{{#ifeq:{{{b3|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{2}}}+{{{3}}}=0|—|{{#expr:{{{2}}}+{{{3}}}}}}} | |{{#ifeq:{{{b3|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{2}}}+{{{3}}}=0|—|{{#expr:{{{2}}}+{{{3}}}}}}} | ||
| − | |{{#ifeq:{{{b4|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}=0|—|{{{4}}}}} | + | |{{#ifeq:{{{b4|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}=0|—|{{{4}}}}}{{#if:{{{fn4|}}}|{{efn|name={{{fn4}}}}}}} |
| − | |{{#ifeq:{{{b5|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{5}}}=0|—|{{{5}}}}} | + | |{{#ifeq:{{{b5|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{5}}}=0|—|{{{5}}}}}{{#if:{{{fn5|}}}|{{efn|name={{{fn5}}}}}}} |
| − | |{{#ifeq:{{{b6|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{6}}}=0|—|{{{6}}}}} | + | |{{#ifeq:{{{b6|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{6}}}=0|—|{{{6}}}}}{{#if:{{{fn6|}}}|{{efn|name={{{fn6}}}}}}} |
|{{#ifeq:{{{b7|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}+{{{5}}}+{{{6}}}=0|—|{{#expr:{{{4}}}+{{{5}}}+{{{6}}}}}}} | |{{#ifeq:{{{b7|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}+{{{5}}}+{{{6}}}=0|—|{{#expr:{{{4}}}+{{{5}}}+{{{6}}}}}}} | ||
|{{#ifeq:{{{b8|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}=0|—|{{{4}}}}} | |{{#ifeq:{{{b8|raw}}}|1|style="font-weight: bold;"}} {{!}} {{#ifexpr:{{{4}}}=0|—|{{{4}}}}} | ||
Latest revision as of 17:47, 2 March 2020
Contents
Usage
{{FCEH|Club name|Cups (FIFA/UEFA)|Super Cups (FIFA/UEFA)|League (Domestic)|Cups (Domestic)|Shields (Domestic)|Parameters (optional)}}
This template is used for managing table items on the article List of football clubs in England by competitive honours won. It will automatically calculate the totals from the values provided and format the rows as per any parameters specified.
Parameters
|club=italic, optional, styles the club name in italics|fn=NAME, optional, references a footnote (to be specified on the article page)|fn#=NAME, optional, references a footnote positioned within the respective column (e.g. fn3 places the reference in the third data column, excluding totals)|b1-b11=1, optional, styles the respective cell text bold (i.e b4=1 makes cell 4 text bold). Must be called individually (i.e. b1=1,b2=1,b3=1 etc)
| The above documentation is transcluded from Template:FCEH/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |