Difference between revisions of "Template:Fb cl3 header navbar"
Jump to navigation
Jump to search
imported>Davykamanzi (Including optional group column) |
imported>Davykamanzi m |
||
| Line 14: | Line 14: | ||
{{#if:{{{p|}}}|!width=28{{!}}{{Tooltip|Pos.|Ranking in tournament}}<br />}} | {{#if:{{{p|}}}|!width=28{{!}}{{Tooltip|Pos.|Ranking in tournament}}<br />}} | ||
!width={{#if:{{{team-width|}}}|{{{team-width}}}|190}}{{!}}{{#ifeq:{{{template|}}}|yes|{{tnavbar-header|{{#if:{{{region|}}}|{{{region}}}|Team}}|Template:<includeonly>{{{name|}}}</includeonly>}}|{{#if:{{{region|}}}|{{{region}}}|Team}}}} | !width={{#if:{{{team-width|}}}|{{{team-width}}}|190}}{{!}}{{#ifeq:{{{template|}}}|yes|{{tnavbar-header|{{#if:{{{region|}}}|{{{region}}}|Team}}|Template:<includeonly>{{{name|}}}</includeonly>}}|{{#if:{{{region|}}}|{{{region}}}|Team}}}} | ||
| − | {{#ifeq:{{Yesno|{{{group|no}}}}}|yes| | + | {{#ifeq:{{Yesno|{{{group|no}}}}}|yes|!width=28{{!}}{{Tooltip|G|Group}}<br />|}} |
!width=28{{!}}{{Tooltip|Pld|Total games played}}<br /> | !width=28{{!}}{{Tooltip|Pld|Total games played}}<br /> | ||
!width=28{{!}}{{Tooltip|W|Total games won}}<br /> | !width=28{{!}}{{Tooltip|W|Total games won}}<br /> | ||
| Line 27: | Line 27: | ||
!width=28{{!}}{{Tooltip|GD|Goal difference (GF−GA)}} | !width=28{{!}}{{Tooltip|GD|Goal difference (GF−GA)}} | ||
!width=28{{!}}{{Tooltip|AGD|Average goal difference (GD/Pld)}} | !width=28{{!}}{{Tooltip|AGD|Average goal difference (GD/Pld)}} | ||
| − | {{#ifeq:{{{no-extras|}}}|yes||!width=28{{!}}{{Tooltip|CS|clean sheets}} | + | {{#ifeq:{{Yesno|{{{no-extras|no}}}}}|yes||!width=28{{!}}{{Tooltip|CS|clean sheets}} |
!width=28{{!}}{{Tooltip|ACS|Average clean sheets}} | !width=28{{!}}{{Tooltip|ACS|Average clean sheets}} | ||
!width=28{{!}}{{Tooltip|YC|Yellow cards}} | !width=28{{!}}{{Tooltip|YC|Yellow cards}} | ||
Revision as of 15:29, 10 July 2014
Template:Fb cl header (Football - classification - header)
This template is best for use with the Fb cl3 team and Fb cl3 footer templates on statistics pages, e.g. 2010 FIFA World Cup statistics.
Parameters:
| Parameter | Possible values | Notes |
|---|---|---|
| width | number | Renders the table in the width given in ems, pixels or a percentage |
| sortable | yes | Makes the table sortable |
| collapsible | yes | Makes the table collapsible |
| collapsed | yes | Collapses the table |
| regional | yes | Displays the regional (continent, sub-region, etc.) version of the header; for use on articles about intercontinental (e.g. FIFA Confederations Cup), international (e.g. FIFA World Cup) or inter-regional tournaments only |
| region | anything | Gives the first column of the header a title, e.g. "Continent" |
| fs | number | Renders the font size in the size given |
| team-width | number | Renders the "Team" column (the "Region" column for the regional header) in the size given |
| region-width | ||
| confed | yes | Adds a "Confed." column for team confederations |
| group | yes | Adds a "G" column for team groups |
| no-extras | yes | Removes the "APts", "AGF", "AGA", "AGD", "CS", "ACS", "YC", "AYC", "RC" and "ARC" columns |
| title | anything | Displays a title above the header if desired |
| templates | yes | Uses navbar for use on a template for multiple pages |
| The above documentation is transcluded from Template:Fb cl3 header navbar/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |