Difference between revisions of "Template:Countries bordering the Persian Gulf"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>CsDix
m (collapsible option parameter)
Line 1: Line 1:
 
{{Navbox with columns
 
{{Navbox with columns
 
|name = Countries bordering the Persian Gulf
 
|name = Countries bordering the Persian Gulf
 +
|state = {{{state|{{{1|autocollapse}}}}}}
 
|bodyclass = plainlist
 
|bodyclass = plainlist
 
|title = Countries bordering the [[Persian Gulf]]
 
|title = Countries bordering the [[Persian Gulf]]
|state    = {{{state|autocollapse}}}|
 
  
 
|col1 =
 
|col1 =
Line 19: Line 19:
  
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
 
 +
 
 +
{{collapsible option |statename=optional}}
  
 
[[Category:Middle East country templates]]
 
[[Category:Middle East country templates]]

Revision as of 05:59, 16 February 2013


Initial visibility: currently defaults to autocollapse

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

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

ar:قالب:الدول المحيطة بالخليج العربي tr:Şablon:Basra Körfezi'ne kıyısı olan ülkeler ur:سانچہ:خلیج فارس کے کنارے واقع ممالک