Difference between revisions of "Template:WFC"

From Sim Football Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
| list1 =  
 
| list1 =  
 
* [[2046 ISFL World Football Championship|Iceland 2046]]
 
* [[2046 ISFL World Football Championship|Iceland 2046]]
* <s>[[2047 ISFL World Football Championship|Mexico 2047]]</s>
+
* <s>[[2048 ISFL World Football Championship|Mexico 2048]]</s>
 
* [[2051 ISFL World Football Championship|Brazil 2051]]
 
* [[2051 ISFL World Football Championship|Brazil 2051]]
 
* [[2053 ISFL World Football Championship|United States 2053]]
 
* [[2053 ISFL World Football Championship|United States 2053]]

Revision as of 18:09, 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.