Difference between revisions of "Template:Capitals of Arab countries"

From blackwiki
Jump to navigation Jump to search
imported>Jack Carlin
(unrecognized state)
imported>Colonies Chris
(minor fixes)
 
Line 8: Line 8:
 
|col1header = Africa
 
|col1header = Africa
 
|col1 =
 
|col1 =
{{colbegin|colwidth=18em}}
+
{{div col|colwidth=18em}}
 
* '''[[Algiers]]''', [[Algeria]]
 
* '''[[Algiers]]''', [[Algeria]]
 
* '''[[Cairo]]''', [[Egypt]]
 
* '''[[Cairo]]''', [[Egypt]]
* '''[[Djibouti City|Djibouti]]''', [[Djibouti]]
+
* '''[[Djibouti (city)|Djibouti]]''', [[Djibouti]]
* {{hlist|'''[[El Aaiun]]''' <small>(proclaimed)</small><br>|&nbsp;'''[[Tifariti]]''' <small>(de facto)</small>, ''[[Sahrawi Arab Democratic Republic]]''{{sup|1}}}}
+
* {{hlist|'''[[Laayoune]]''' <small>(proclaimed)</small><br>|&nbsp;'''[[Tifariti]]''' <small>(de facto)</small>, ''[[Sahrawi Arab Democratic Republic]]''{{sup|1}}}}
 
* {{hlist|'''[[Hargeisa]]''', ''[[Somaliland]]''{{sup|1}}}}
 
* {{hlist|'''[[Hargeisa]]''', ''[[Somaliland]]''{{sup|1}}}}
 
* '''[[Khartoum]]''', [[Sudan]]
 
* '''[[Khartoum]]''', [[Sudan]]
Line 21: Line 21:
 
* '''[[Tripoli]]''', [[Libya]]
 
* '''[[Tripoli]]''', [[Libya]]
 
* '''[[Tunis]]''', [[Tunisia]]
 
* '''[[Tunis]]''', [[Tunisia]]
{{colend}}
+
{{div col end}}
 
|col2header = Asia
 
|col2header = Asia
 
|col2 =  
 
|col2 =  
{{colbegin|colwidth=18em}}
+
{{div col|colwidth=18em}}
 
* '''[[Abu Dhabi]]''', [[United Arab Emirates]]
 
* '''[[Abu Dhabi]]''', [[United Arab Emirates]]
 
* '''[[Amman]]''', [[Jordan]]
 
* '''[[Amman]]''', [[Jordan]]
Line 36: Line 36:
 
* '''[[Muscat]]''', [[Oman]]
 
* '''[[Muscat]]''', [[Oman]]
 
* '''[[Riyadh]]''', [[Saudi Arabia]]
 
* '''[[Riyadh]]''', [[Saudi Arabia]]
* '''[[Sana'a]]''', [[Yemen]]
+
* '''[[Sanaa]]''', [[Yemen]]
{{colend}}
+
{{div col end}}
 
|belowclass = hlist
 
|belowclass = hlist
 
|below =  
 
|below =  

Latest revision as of 18:52, 23 August 2020


Initial visibility: currently defaults to autocollapse

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

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