Template:Hatnote templates: Difference between revisions

From Guild of Archivists
No edit summary
m (Replaced navbox with navboxdl)
Line 1: Line 1:
{{Navbox
{{Navboxdl
| name = Hatnote templates
| state = {{{state|<includeonly>autocollapse</includeonly>}}}
| state = {{{state|<includeonly>autocollapse</includeonly>}}}
| bodyclass = hlist
| title = Hatnote templates
| belowclass = hlist
| title = Hatnote templates


| above =  
| list1 = {{hlist| [[Wikipedia:Hatnote]] | [[Wikipedia:Disambiguation]] | [[Wikipedia:Redirect]] }}
* [[Wikipedia:Hatnote]]
* [[Wikipedia:Disambiguation]]
* [[Wikipedia:Redirect]]
 
| group1 = Main articles
| list1 =


| group2 = Generic
| group2 = Generic
| list2 =
| list2 = {{hlist| {{tlx|hatnote|TEXT}} }}
* {{tlx|hatnote|TEXT}}


| group3 = Other uses
| group3 = Other uses
| list3 =
| list3 = {{hlist | {{tlx|about|USE1}} | Variations: {{tlx|other uses}} | {{tlx|other uses2|PAGE}} | {{tlx|distinguish-otheruses}} | {{tlx|distinguish-otheruses2}} }}
* {{tlx|about|USE1}}
* Variations: {{tlx|other uses}}
* {{tlx|other uses2|PAGE}}
* {{tlx|distinguish-otheruses}}
* {{tlx|distinguish-otheruses2}}


| group4 = For (other topic)
| group4 = For (other topic)
| list4 =
| list4 = {{hlist | {{tlx|for|OTHER TOPIC}} | {{tlx|for2|OTHER TOPIC|CUSTOM TEXT}} | {{tlx|about|{{!}}USE}} }}
* {{tlx|for|OTHER TOPIC}}
* {{tlx|for2|OTHER TOPIC|CUSTOM TEXT}}
* {{tlx|about|{{!}}USE}}


| group5 = Further information
| group5 = Further information
| list5 =
| list5 = {{hlist | {{tlx|further|OTHER PAGE}} | {{tlx|further2|CUSTOM TEXT}} | {{tlx|outline|OUTLINE PAGE}} }}
* {{tlx|further|OTHER PAGE}}
* {{tlx|further2|CUSTOM TEXT}}
* {{tlx|outline|OUTLINE PAGE}}


| group6 = See also
| group6 = See also
| list6 =
| list6 = {{hlist | {{tlx|see also|OTHER TOPIC}} }}
* {{tlx|see also|OTHER TOPIC}}


| group7 = Other people
| group7 = Other people
| list7 =
| list7 = {{hlist | {{tlx|other people}} | {{tlx|other people2|PAGE}} | {{tlx|other people3|USE1|USE2}} }}
* {{tlx|other people}}
* {{tlx|other people2|PAGE}}
* {{tlx|other people3|USE1|USE2}}


| group8 = Other places
| group8 = Other places
| list8 =
| list8 = {{hlist | {{tlx|other places}} | {{tlx|other places3}} }}
* {{tlx|other places}}
* {{tlx|other places3}}


| group9 = Other topics
<!--| group9 = Other topics
| list9 =
| list9 =-->


| group10 = Other uses of (topic)
| group10 = Other uses of (topic)
| list10 =
| list10 = {{hlist | {{tlx|other uses of|TOPIC|PAGE}} }}
* {{tlx|other uses of|TOPIC|PAGE}}


| group11 = Redirect
| group11 = Redirect
| list11 =
| list11 = {{hlist | {{tlx|redirect|REDIRECT}} | {{tlx|redirect|REDIRECT|{{!}}PAGE}} | {{tlx|redirect|REDIRECT|USE|PAGE}} | {{tlx|redirect2|REDIRECT1|REDIRECT2}} | {{tlx|redirect2|REDIRECT1|REDIRECT2|USE|PAGE}} | {{tlx|redirect3|REDIRECT|TEXT}} | {{tlx|redirect-multi|3|REDIRECT1|REDIRECT2|REDIRECT3}} | {{tlx|redirect-several|REDIRECT1|REDIRECT2|…}} }}
* {{tlx|redirect|REDIRECT}}
* {{tlx|redirect|REDIRECT|{{!}}PAGE}}
* {{tlx|redirect|REDIRECT|USE|PAGE}}
* {{tlx|redirect2|REDIRECT1|REDIRECT2}}
* {{tlx|redirect2|REDIRECT1|REDIRECT2|USE|PAGE}}
* {{tlx|redirect3|REDIRECT|TEXT}}
* {{tlx|redirect-multi|3|REDIRECT1|REDIRECT2|REDIRECT3}}
* {{tlx|redirect-several|REDIRECT1|REDIRECT2|...}}


| group12 = "Not to be confused with..."
| group12 = "Not to be confused with..."
| list12 =
| list12 = {{hlist | {{tlx|distinguish|PAGE}} | {{tlx|distinguish2|TEXT}} | {{tlx|redirect-distinguish|TEXT}} | {{tlx|redirect-distinguish2|TEXT1|TEXT2}} }}
* {{tlx|distinguish|PAGE}}
* {{tlx|distinguish2|TEXT}}
* {{tlx|redirect-distinguish|TEXT}}
* {{tlx|redirect-distinguish2|TEXT1|TEXT2}}


| group13 = Hatnote categories
| group13 = Hatnote categories
| list13 =
| list13 = {{hlist | [[:Category:Hatnote templates|Hatnote templates]] | [[:Category:Hatnote templates for category pages|for category pages]] | [[:Category:Hatnote templates for names|for names]] | [[:Category:Hatnote templates for lists|for lists]] }}
* [[:Category:Hatnote templates|Hatnote templates]]
* [[:Category:Hatnote templates for category pages|for category pages]]
* [[:Category:Hatnote templates for names|for names]]
* [[:Category:Hatnote templates for lists|for lists]]


| below =
| list14 = {{hlist | [[Wikipedia:Hatnote#Hatnote templates|Hatnote templates documentation]] | {{DD:Files}} [[:Category:Hatnote templates]] }}
* [[Wikipedia:Hatnote#Hatnote templates|Hatnote templates documentation]]
}}<includeonly>[[Category:Hatnote templates]]</includeonly><noinclude>{{Documentation}}</noinclude>
* {{icon|cat}} [[:Category:Hatnote templates]]
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 21:43, 20 January 2018

Template documentation[view] [edit] [history] [purge]

How to manage this template's initial visibility
To manage this template's visibility when it first appears, add the parameter:

|state=collapsed to show the template in its collapsed state, i.e. hidden apart from its titlebar – e.g. {{Hatnote templates |state=collapsed}}
|state=expanded to show the template in its expanded state, i.e. fully visible – e.g. {{Hatnote templates |state=expanded}}
|state=autocollapse to show the template in its collapsed state but only if there is another template of the same type on the page – e.g. {{Hatnote templates |state=autocollapse}}

Unless set otherwise (see the |state= parameter in the template's code), the template's default state is autocollapse.

See also