Difference between revisions of "Module:Hatnote templates"

From blackwiki
Jump to navigation Jump to search
test>Uanfala
(move category hatnotes into the dedicated Template:Category hatnote templates)
m (134 revisions imported)
 
(12 intermediate revisions by 4 users not shown)
Line 11: Line 11:
 
*[[Wikipedia:Redirect]]
 
*[[Wikipedia:Redirect]]
  
| group1 = Main articles
+
| group1 = Generic
 
| list1 =
 
| list1 =
*{{tl|Main}}
 
 
| group2 = Generic
 
| list2 =
 
 
*{{tl|Hatnote}}
 
*{{tl|Hatnote}}
 
*{{tl|Selfref}} (for self-references)
 
*{{tl|Selfref}} (for self-references)
  
| group3 = Other uses
+
| group2 = For and about
| list3 =
+
| list2 =
 +
*{{tl|For}}
 +
*{{tl|For2}} (for custom text)
 
*{{tl|About}}
 
*{{tl|About}}
 
*Variations: {{tl|Other uses}}
 
*Variations: {{tl|Other uses}}
*{{tl|Other uses2}} (automatically supplies disambiguation suffix)
+
*{{tl|Other uses of}}
*{{tl|Other uses of}} (provides context for disambiguation)
 
*{{tl|Distinguish-otheruses}}
 
*{{tl|Distinguish-otheruses2}} (automatically supplies disambiguation suffix)
 
*{{tl|Distinguish-otheruses3}} (custom use text)
 
  
| group4 = For (other topic)
+
| group3 = Other topics
| list4 =
+
| list3 =
*{{tl|For}}
 
*{{tl|For2}} (for custom text)
 
 
 
| group5 = Further information
 
| list5 =
 
*{{tl|Further}}
 
*{{tl|Further2}} (for custom text)
 
*{{tl|For outline}}
 
*{{tl|Broader}}
 
 
 
| group6 = See
 
| list6 =
 
*{{tl|See also}}
 
*{{tl|See also if exists}}
 
*{{tl|See introduction}}
 
*{{tl|See Wiktionary}}
 
 
 
| group7 = Other topics
 
| 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}}
*{{tl|Other hurricanes}}
 
 
*{{tl|Other places}}
 
*{{tl|Other places}}
 
*{{tl|Other ships}}
 
*{{tl|Other ships}}
 +
*{{tl|Other hurricanes}}
  
| group8 = Redirect
+
| group4 = Redirect
| list8 =
+
| list4 =
 
*{{tl|Redirect}}
 
*{{tl|Redirect}}
 
*{{tl|Redirect2}} (for two redirects)
 
*{{tl|Redirect2}} (for two redirects)
Line 65: Line 40:
 
*{{tl|Redirect-several}} (for several redirects, without listing each)
 
*{{tl|Redirect-several}} (for several redirects, without listing each)
 
*{{tl|Redirect-synonym}}
 
*{{tl|Redirect-synonym}}
*{{tl|Redirect for}}
 
 
*{{tl|Redirect-distinguish}}
 
*{{tl|Redirect-distinguish}}
*{{tl|technical reasons}}
+
*{{tl|Technical reasons}}
  
| group9 = Distinguish
+
| group5 = Distinguish
| list9 =
+
| list5 =
 
*{{tl|Distinguish}} (supports custom text too)
 
*{{tl|Distinguish}} (supports custom text too)
 
*{{tl|Redirect-distinguish}}
 
*{{tl|Redirect-distinguish}}
Line 78: Line 52:
 
*{{tl|About-distinguish2}} (for custom text)
 
*{{tl|About-distinguish2}} (for custom text)
  
| group10 = Transclusion
+
| group6 = For use in sections
| list10 =
+
| list6 =
 +
*{{tl|Main}}
 +
*{{tl|Further}}
 +
*{{tl|Further2}} (for custom text)
 +
*{{tl|See also}}
 +
*{{tl|See also if exists}}
 +
*{{tl|For outline}}
 +
 
 +
| group7 = Special
 +
| list7 =
 +
*{{tl|Broader}}
 +
*{{tl|See introduction}}
 +
*{{tl|See Wiktionary}}
 
*{{tl|Transcluding article}}
 
*{{tl|Transcluding article}}
 
*{{tl|Transcluded section}}
 
*{{tl|Transcluded section}}
  
| group11 = Subject specific
+
| group8 = Subject specific
| list11 =  
+
| list8 =  
 
* {{tl|Year dab}}
 
* {{tl|Year dab}}
 
* {{tl|Highway detail hatnote}}
 
* {{tl|Highway detail hatnote}}
* {{tl|Pope Stephen ToP Dab}}
 
 
* {{tl|For LMST}}
 
* {{tl|For LMST}}
 
* {{tl|WikiIPA}}
 
* {{tl|WikiIPA}}
 
* {{tl|Other MeSH codes}}
 
* {{tl|Other MeSH codes}}
* {{tl|Other Pennsylvania townships}}
 
* {{tl|Not WMF}}
 
  
 
| below =
 
| below =
 
*{{Icon|cat}} [[:Category:Hatnote templates]]
 
*{{Icon|cat}} [[:Category:Hatnote templates]]
 
**[[:Category:Hatnote modules|modules]]
 
**[[:Category:Hatnote modules|modules]]
**[[:Category:Hatnote templates for category pages|for category pages]]
 
 
**[[:Category:Hatnote templates for names|for [family] names]]
 
**[[:Category:Hatnote templates for names|for [family] names]]
 
**[[:Category:Hatnote templates for lists|for lists]]
 
**[[:Category:Hatnote templates for lists|for lists]]
 
+
*[[Template:Category hatnote templates|hatnote templates for category pages]]
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:10, 6 September 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