Difference between revisions of "Template:NSFL Drafts"

From Sim Football Wiki
Jump to navigation Jump to search
(Created page with "{{Navbox | name = NSFL Drafts | title = NSFL Drafts | listclass = hlist | state = {{{state|autocollapse}}} | group1 = Early era ({{nsfly|...")
 
m (amended links to be year only)
Line 7: Line 7:
 
| group1 = Early era ({{nsfly|1|nolink}}-present)
 
| group1 = Early era ({{nsfly|1|nolink}}-present)
 
| list1  =
 
| list1  =
* {{nsfly|1|draft}}
+
* {{nsfly|1|d}}
* {{nsfly|2|draft}}
+
* {{nsfly|2|d}}
* {{nsfly|3|draft}}
+
* {{nsfly|3|d}}
* {{nsfly|4|draft}}
+
* {{nsfly|4|d}}
* {{nsfly|5|draft}}
+
* {{nsfly|5|d}}
* {{nsfly|6|draft}}
+
* {{nsfly|6|d}}
* {{nsfly|7|draft}}
+
* {{nsfly|7|d}}
* {{nsfly|8|draft}}
+
* {{nsfly|8|d}}
* {{nsfly|9|draft}}
+
* {{nsfly|9|d}}
* {{nsfly|10|draft}}
+
* {{nsfly|10|d}}
* {{nsfly|11|draft}}
+
* {{nsfly|11|d}}
  
 
| group2 = [[wp:Expansion draft|Expansion draft]]s
 
| group2 = [[wp:Expansion draft|Expansion draft]]s

Revision as of 11:16, 15 October 2018

Initial visibility

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

  • |state=collapsed: {{NSFL Drafts|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{NSFL Drafts|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{NSFL Drafts|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.