Template:WFC

From Sim Football Wiki
Revision as of 12:41, 17 May 2022 by 37thchamber (talk | contribs) (Created page with "{{Navbox | name = World Football Championship | title = World Football Championship | state = {{{state|autocollapse}}} |listclass = hlist | group1 = Tournaments | list1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.