Difference between revisions of "Template:Lahore Fort Complex"

From blackwiki
Jump to navigation Jump to search
imported>Mar4d
imported>Redrose64
(fix v-t-e links)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Lahore Fort Complex
 
|name = Lahore Fort Complex
|title = [[Lahore Fort]] Complex
+
|title = Landmarks of the [[Lahore Fort]]  
 
|state    = {{{state|autocollapse}}}
 
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|image = [[Image:Alamgiri Gate2.jpg|80px]]
+
|image = [[Image:Lahore_Fort_view_from_Baradari.jpg|80px]]
  
 
|list1 =  
 
|list1 =  
Line 13: Line 13:
 
* [[Roshnai Gate]]
 
* [[Roshnai Gate]]
 
* [[Divan|Diwan-i-Am]]
 
* [[Divan|Diwan-i-Am]]
* [[Diwan-i-Khas]]
+
* [[Diwan-i-Khas (Lahore Fort)|Diwan-i-Khas]]
 
* [[Masti Gate]]
 
* [[Masti Gate]]
 
* [[Sheesh Mahal Lahore|Sheesh Mahal]]
 
* [[Sheesh Mahal Lahore|Sheesh Mahal]]
Line 19: Line 19:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Lahore Fort]][[Category:Architecture of Lahore]]
+
 
 +
[[Category:Lahore Fort]]
 +
[[Category:Architecture of Lahore]]
 
[[Category:Mughal architecture]]
 
[[Category:Mughal architecture]]
 
[[Category:Lahore templates]]
 
[[Category:Lahore templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:36, 1 May 2017

Initial visibility: currently defaults to autocollapse

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

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