Difference between revisions of "Template:List navbox"

From blackwiki
Jump to navigation Jump to search
imported>Ianblair23
(link)
imported>Funandtrvl
(remove 1 dupe, add 1 style)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = List navbox
 
  | name = List navbox
  | state = {{{state|{{{1|autocollapse}}}}}}
+
  | state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
  | title = [[Wikipedia:Manual of Style/Lists|Lists in Wikipedia]]
 
  | title = [[Wikipedia:Manual of Style/Lists|Lists in Wikipedia]]
 
  | listclass = hlist
 
  | listclass = hlist
Line 10: Line 10:
 
* [[Wikipedia:Manual of Style/Lists of works|Lists of works]]
 
* [[Wikipedia:Manual of Style/Lists of works|Lists of works]]
 
* [[Wikipedia:Stand-alone lists#Style|Stand-alone lists]]
 
* [[Wikipedia:Stand-alone lists#Style|Stand-alone lists]]
 +
* [[Wikipedia:Set index articles|Set index articles]]
 +
* [[Wikipedia:Naming conventions (long lists)|Naming conventions (long lists)]]
 +
* [[Wikipedia:Manual of Style/Accessibility#Lists|Accessibility/Lists]]
 
* [[Wikipedia:Pro and con lists|Pro and con lists]]
 
* [[Wikipedia:Pro and con lists|Pro and con lists]]
* [[Wikipedia:Naming conventions (long lists)|Naming conventions (long lists)]]
 
 
* [[Wikipedia:List dos and don'ts|List dos and don'ts]] (information page)
 
* [[Wikipedia:List dos and don'ts|List dos and don'ts]] (information page)
* [[Wikipedia:Set index articles|Set index articles]]
+
 
 
  | group2 = Content
 
  | group2 = Content
 
  | list2 =
 
  | list2 =
 +
* [[Wikipedia:Contents/Lists]]
 
* [[Wikipedia:Featured list criteria|Featured list criteria]]
 
* [[Wikipedia:Featured list criteria|Featured list criteria]]
 
* [[Wikipedia:WikiProject Lists|WikiProject Lists]]
 
* [[Wikipedia:WikiProject Lists|WikiProject Lists]]
* [[Wikipedia:Contents/Lists]]
 
  
 
  | group3 = Rationale
 
  | group3 = Rationale
Line 25: Line 27:
 
* [[Wikipedia:Categories versus lists|Categories vs. lists]]
 
* [[Wikipedia:Categories versus lists|Categories vs. lists]]
 
* [[Wikipedia:Lists in Wikipedia|Lists in Wikipedia]]
 
* [[Wikipedia:Lists in Wikipedia|Lists in Wikipedia]]
 +
* [[Wikipedia:Lists within articles|Lists within articles]]
 
* [[Wikipedia:Listcruft|Listcruft]]
 
* [[Wikipedia:Listcruft|Listcruft]]
* [[Wikipedia:Lists within articles|Lists within articles]]
 
 
* [[Wikipedia:Write the article first|Write the article first]]
 
* [[Wikipedia:Write the article first|Write the article first]]
* [[Wikipedia:Set index articles|Set index articles]]
 
  
 
  | group4 = Existing lists
 
  | group4 = Existing lists
Line 34: Line 35:
 
* [[Wikipedia:Featured lists|Featured lists]]
 
* [[Wikipedia:Featured lists|Featured lists]]
 
* [[Special:Allpages/List of|List of lists]]
 
* [[Special:Allpages/List of|List of lists]]
* [[Special:Allpages/Lists of|List of lists of...]]
+
* [[Special:Allpages/Lists of|Lists of lists]]
  
 
  | group5 = Templates
 
  | group5 = Templates
 
  | list5 =
 
  | list5 =
* [[Wikipedia:Template messages/Lists|Template messages/Lists]]
+
* [[Wikipedia:Template index/Lists|Template index/Lists]]
 
* [[:Category:List templates]]
 
* [[:Category:List templates]]
  
Line 49: Line 50:
 
{{Collapsible option |statename=optional}}
 
{{Collapsible option |statename=optional}}
 
{{Wikipedia editor navigation templates|state=expanded}}
 
{{Wikipedia editor navigation templates|state=expanded}}
}}
 
  
[[Category:Wikipedia style templates]]
 
 
[[Category:Wikipedia help templates]]
 
[[Category:Wikipedia help templates]]
 
[[Category:Wikipedia-internal navigational templates]]
 
[[Category:Wikipedia-internal navigational templates]]
 +
[[Category:Wikipedia style templates]]
 
[[Category:Wikipedia help navigation]]
 
[[Category:Wikipedia help navigation]]
 
[[Category:Wikipedia lists|τ]]
 
[[Category:Wikipedia lists|τ]]
</noinclude>
+
}}</noinclude>

Revision as of 05:06, 22 September 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{List navbox|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{List navbox|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{List navbox|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 in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse. Template:Wikipedia editor navigation templates