Difference between revisions of "Template:Fb a team"
Jump to navigation
Jump to search
n/a
(Undid revision 678535196 by 98.230.192.179 (talk)) |
|||
| Line 5: | Line 5: | ||
|{{#if:{{{h|}}}|{{formatnum:{{{h}}}}}}} | |{{#if:{{{h|}}}|{{formatnum:{{{h}}}}}}} | ||
|{{#if:{{{l|}}}|{{formatnum:{{{l}}}}}}} | |{{#if:{{{l|}}}|{{formatnum:{{{l}}}}}}} | ||
| − | |{{#if:{{{a|}}}|'''{{formatnum:{{{a}}}}}'''}}||{{# | + | |{{#if:{{{a|}}}|'''{{formatnum:{{{a}}}}}'''}}||{{#if:{{{pr|}}}|{{#ifexpr:({{{a}}}/{{{pr}}})>1|<span style="display:none">{{#expr:{{{a}}}/{{{pr}}}-1}}</span>+{{#expr:trunc(({{{a}}}/{{{pr}}}-1)*100)}}.{{#expr:(trunc(({{{a}}}/{{{pr}}}-1)*1000)-(trunc(({{{a}}}/{{{pr}}}-1)*100))*10)}}%|{{#ifexpr:{{{a}}}/{{{pr}}}=1|<span style="display:none">0</span>–|<span style="display:none">-{{#expr:--{{{a}}}/{{{pr}}}}}</span>−{{#expr:trunc((1-{{{a}}}/{{{pr}}})*100)}}.{{#expr:(trunc((1-{{{a}}}/{{{pr}}})*1000)-(trunc((1-{{{a}}}/{{{pr}}})*100))*10)}}%}}}}|<center> n/a}}{{#if:{{{nt|}}}|<sup>{{{nt}}}</sup>|<span style="visibility:hidden;color: transparent"><sup>†</sup></span>}}<noinclude></center> |
{{template doc}} | {{template doc}} | ||
<noinclude/> | <noinclude/> | ||
Revision as of 00:27, 30 August 2015
|- | style="text-align:center;" |{{{p}}} | style="text-align:left;" |{{{t}}} | | |
|||
{{Fb a team}} (Football - attendance - team)
Usage
| Parameter | Description |
|---|---|
| p | position if sorted by average attendance |
| t | Link to team |
| s | total season attendance |
| h | highest season attendance |
| l | lowest season attendance |
| a | average season attendance |
| pr | previous season average attendance, to calculate increment |
| nt | increment note |
| tc | (optional) tournament's country. If the team's country is different from tc, the team's country's flag will be displayed beside the team's name. |
| The above documentation is transcluded from Template:Fb a team/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. |