Difference between revisions of "Template:FIFA World Cup champions"

From blackwiki
Jump to navigation Jump to search
imported>Brojam
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name=FIFA World Cup winners
+
|name=FIFA World Cup champions
|title=[[FIFA World Cup]] [[List of FIFA World Cup finals|winners]]
+
|title=[[FIFA World Cup]] winning nations
 
|state={{{state|autocollapse}}}
 
|state={{{state|autocollapse}}}
 
|titlestyle=background:gold;
 
|titlestyle=background:gold;
Line 27: Line 27:
 
*'''[[2010 FIFA World Cup|2010]]:''' {{fb|size=20px|ESP}}
 
*'''[[2010 FIFA World Cup|2010]]:''' {{fb|size=20px|ESP}}
 
*'''[[2014 FIFA World Cup|2014]]:''' {{fb|size=20px|GER}}
 
*'''[[2014 FIFA World Cup|2014]]:''' {{fb|size=20px|GER}}
*'''[[2018 FIFA World Cup|2018]]:''' TBD
+
*'''[[2018 FIFA World Cup|2018]]:''' {{fb|size=20px|FRA}}
 
{{div col end}}
 
{{div col end}}
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 19:28, 1 August 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{FIFA World Cup champions|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{FIFA World Cup champions|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{FIFA World Cup champions|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.