Difference between revisions of "Module:Hatnote templates"

From blackwiki
Jump to navigation Jump to search
test>Uanfala
(no extraneous links, please)
test>Uanfala
("other people" is a subtopic of "other topics")
Line 55: Line 55:
 
*{{tl|See Wiktionary}}
 
*{{tl|See Wiktionary}}
  
| group7 = Other people
+
| group7 = Other topics
 
| list7 =
 
| list7 =
 
*{{tl|Other people}}
 
*{{tl|Other people}}
 
*{{tl|About other people}} (adds "about" description)
 
*{{tl|About other people}} (adds "about" description)
 
*{{tl|Similar names}}
 
*{{tl|Similar names}}
 
| group8 = Other topics
 
| list8 =
 
 
*{{tl|Other hurricanes}}
 
*{{tl|Other hurricanes}}
 
*{{tl|Other places}}
 
*{{tl|Other places}}
 
*{{tl|Other ships}}
 
*{{tl|Other ships}}
  
| group9 = Redirect
+
| group8 = Redirect
| list9 =
+
| list8 =
 
*{{tl|Redirect}}
 
*{{tl|Redirect}}
 
*{{tl|Redirect2}} (for two redirects)
 
*{{tl|Redirect2}} (for two redirects)
Line 78: Line 75:
 
*{{tl|technical reasons}}
 
*{{tl|technical reasons}}
  
| group10 = Distinguish
+
| group9 = Distinguish
| list10 =
+
| list9 =
 
*{{tl|Distinguish}} (supports custom text too)
 
*{{tl|Distinguish}} (supports custom text too)
 
*{{tl|Redirect-distinguish}}
 
*{{tl|Redirect-distinguish}}
Line 88: Line 85:
 
*{{tl|Category distinguish}}
 
*{{tl|Category distinguish}}
  
| group11 = Transclusion
+
| group10 = Transclusion
| list11 =
+
| list10 =
 
*{{tl|Transcluding article}}
 
*{{tl|Transcluding article}}
 
*{{tl|Transcluded section}}
 
*{{tl|Transcluded section}}
  
| group12 = Subject specific
+
| group11 = Subject specific
| list12 =  
+
| list11 =  
 
* {{tl|Year dab}}
 
* {{tl|Year dab}}
 
* {{tl|Highway detail hatnote}}
 
* {{tl|Highway detail hatnote}}
Line 104: Line 101:
 
* {{tl|Not WMF}}
 
* {{tl|Not WMF}}
  
| group13 = Hatnote categories
+
| group12 = Hatnote categories
| list13 =
+
| list12 =
 
*[[:Category:Hatnote templates|Hatnote templates]]
 
*[[:Category:Hatnote templates|Hatnote templates]]
 
*[[:Category:Hatnote modules|Hatnote modules]]
 
*[[:Category:Hatnote modules|Hatnote modules]]

Revision as of 00:52, 10 April 2020

50px Module documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

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

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

TemplateData for VisualEditor

No description.

Template parameters

ParameterDescriptionTypeStatus
Statestate

no description

Unknownoptional

See also