Difference between revisions of "Template:Hotel"

From blackwiki
Jump to navigation Jump to search
imported>Northamerica1000
(ce)
imported>NSH002
(tidy up + rm container cat + categorise)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Hotel
+
| name = Hotel
|title = [[Hotel]]-related articles
+
| title = [[Hotel]]-related articles
|bodyclass = hlist
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
+
| bodyclass = hlist
  
|group1 =
+
| group1 = General
|list1 =
+
| list1 =
 
* [[Apartment hotel]]
 
* [[Apartment hotel]]
 
* [[Casino hotel]]
 
* [[Casino hotel]]
* [[Hotel chain]]
 
 
* [[Hotel design]]
 
* [[Hotel design]]
 
* [[Hotel detective]]
 
* [[Hotel detective]]
Line 17: Line 16:
 
* [[Hotel rating]]
 
* [[Hotel rating]]
 
* [[Room service]]
 
* [[Room service]]
* [[Suite (hotel)]]
+
* [[Suite (hotel)|Hotel suite]]
 
* [[Transit hotel]]
 
* [[Transit hotel]]
  
|group2 = List articles
+
| group2 = List articles
|list2 =
+
| list2 =
 
* [[List of hotels]]
 
* [[List of hotels]]
** [[List of casino hotels|Casino hotels]]
+
* [[List of casino hotels|Casino hotels]]
** [[List of chained-brand hotels|Chained-brand hotels]]
+
* [[List of chained-brand hotels|Chained-brand hotels]]
** [[List of defunct hotel chains|Defunct hotel chains]]
+
* [[List of defunct hotel chains|Defunct hotel chains]]
** [[List of largest hotels in the world|Largest hotels in the world]]
+
* [[List of largest hotels in the world|Largest hotels in the world]]
 
* [[List of motels]]
 
* [[List of motels]]
 
* [[Lists of hotels]]
 
* [[Lists of hotels]]
  
|group3 = Related
+
| group3 = Related
|list3 =
+
| list3 =
 
* [[Ice hotel]]
 
* [[Ice hotel]]
 
* [[Inn]]
 
* [[Inn]]
Line 39: Line 38:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Navigational boxes]]
+
[[Category:Hotel templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:29, 18 August 2014

Initial visibility: currently defaults to autocollapse

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

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