Difference between revisions of "Template:WFC"

From Sim Football Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name  = ISFL World Football Championship
+
| name  = WFC
 
| title = [[ISFL World Football Championship]]
 
| title = [[ISFL World Football Championship]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
Line 13: Line 13:
 
* [[2055 ISFL World Football Championship|TBD 2055]]
 
* [[2055 ISFL World Football Championship|TBD 2055]]
  
| group2 = Championships
+
| group2 = World Championships
 
| list2 =
 
| list2 =
 
* [[2046 World Championship|2046]]
 
* [[2046 World Championship|2046]]
Line 19: Line 19:
 
* [[2053 World Championship|2053]]
 
* [[2053 World Championship|2053]]
  
| group3 = Teams
+
| group4 = Current teams
| list3 =  
+
| list4 =  
* <s>[[Atlantic-Midwest United States]]</s>
 
 
* [[Asia-Pacific]]
 
* [[Asia-Pacific]]
* <s>[[Canada]]</s>
 
* <s>[[Europe]]</s>
 
 
* [[Europe-Canada]]
 
* [[Europe-Canada]]
* [[Midwest United States]]
+
* [[Midwest US]]
* [[Northeast United States]]
+
* [[Northeast US]]
* [[Southeast United States]]
+
* [[Southeast US]]
* [[Western 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>

Revision as of 18:08, 25 October 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.