Difference between revisions of "Template:WFC"

From Sim Football Wiki
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name  = ISFL World Football Championship
+
| name  = World Football Championship
| title = [[ISFL World Football Championship]]
+
| title = [[World Football Championship]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 7: Line 7:
 
| group1 = Tournaments
 
| group1 = Tournaments
 
| list1 =  
 
| list1 =  
* {{isfly|30|s=no|wfc|Iceland 2045}}
+
* {{isfly|30|wfc|Reykjavík 2045}}
* <s>{{isfly|32|s=no|wfc|Mexico 2047}}</s>
+
* {{isfly|35|wfc|Rio de Janeiro 2050}}
* {{isfly|35|s=no|wfc|Brazil 2050}}
+
* {{isfly|38|wfc|Point Pleasant 2053}}
* {{isfly|37|s=no|wfc|United States 2052}}
 
  
| group2 = Teams
+
| group2 = Champions
 
| list2 =  
 
| list2 =  
 +
* {{isfly|30|nolink|s=yes}}&nbsp;{{wfc|SEUS}}
 +
* {{isfly|35|nolink|s=yes}}&nbsp;{{wfc|World}}
 +
* {{isfly|38|nolink|s=yes}}&nbsp;{{wfc|Midwest US}}
 +
 +
| group4 = Current teams
 +
| list4 =
 
* [[Asia-Pacific]]
 
* [[Asia-Pacific]]
 
* [[Europe-Canada]]
 
* [[Europe-Canada]]
* [[Midwest United States]]
+
* [[Midwest US]]
* [[Northeast United States]]
+
* [[Northeast US]]
* [[Southeast United States]]
+
* [[Southeast US]]
* [[West United States]]
+
* [[Western US]]
 
* [[World]]
 
* [[World]]
  
 +
| group5 = Defunct teams
 +
| list5 =
 +
* [[Atlantic-Midwest US]]
 +
* [[Canada]]
 +
* [[Europe]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:World Football Championship|~]]
 
[[Category:World Football Championship|~]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:00, 2 November 2022

Initial visibility

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

  • |state=collapsed: {{WFC|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{WFC|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{WFC|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 is not set, the template's initial visibility is taken from the |default= parameter in the template. For this template, that currently evaluates to autocollapse.Lua error in package.lua at line 80: module 'strict' not found.