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

From blackwiki
Jump to navigation Jump to search
(removed leading spaces, made country links smaller (not the focus of the template))
imported>Colonies Chris
(minor fixes)
 
(54 intermediate revisions by 37 users not shown)
Line 1: Line 1:
{{Navbox
+
{{Navbox with columns
 
|name = Capitals of Arab countries
 
|name = Capitals of Arab countries
|title = [[List of national capitals|Capitals]] of [[Arab World|Arab countries]]
+
|title = Capitals of [[Arab world|Arab countries]]
 +
|state    = {{{state|autocollapse}}}
 +
|listclass = plainlist
 +
|colwidth = 50%
 +
|colstyle = padding-left:0.3em;
 +
|col1header = Africa
 +
|col1 =
 +
{{div col|colwidth=18em}}
 +
* '''[[Algiers]]''', [[Algeria]]
 +
* '''[[Cairo]]''', [[Egypt]]
 +
* '''[[Djibouti (city)|Djibouti]]''', [[Djibouti]]
 +
* {{hlist|'''[[Laayoune]]''' <small>(proclaimed)</small><br>|&nbsp;'''[[Tifariti]]''' <small>(de facto)</small>, ''[[Sahrawi Arab Democratic Republic]]''{{sup|1}}}}
 +
* {{hlist|'''[[Hargeisa]]''', ''[[Somaliland]]''{{sup|1}}}}
 +
* '''[[Khartoum]]''', [[Sudan]]
 +
* '''[[Mogadishu]]''', [[Somalia]]
 +
* '''[[Moroni, Comoros|Moroni]]''', [[Comoros]]
 +
* '''[[Nouakchott]]''', [[Mauritania]]
 +
* '''[[Rabat]]''', [[Morocco]]
 +
* '''[[Tripoli]]''', [[Libya]]
 +
* '''[[Tunis]]''', [[Tunisia]]
 +
{{div col end}}
 +
|col2header = Asia
 +
|col2 =
 +
{{div col|colwidth=18em}}
 +
* '''[[Abu Dhabi]]''', [[United Arab Emirates]]
 +
* '''[[Amman]]''', [[Jordan]]
 +
* '''[[Baghdad]]''', [[Iraq]]
 +
* '''[[Beirut]]''', [[Lebanon]]
 +
* '''[[Damascus]]''', [[Syria]]
 +
* '''[[Doha]]''', [[Qatar]]
 +
* {{hlist|'''[[Jerusalem]]''' <small>(proclaimed)</small><br>|&nbsp;'''[[Ramallah]]''' <small>(de facto)</small>, [[State of Palestine|Palestine]]{{sup|1}}}}
 +
* '''[[Kuwait City]]''', [[Kuwait]]
 +
* '''[[Manama]]''', [[Bahrain]]
 +
* '''[[Muscat]]''', [[Oman]]
 +
* '''[[Riyadh]]''', [[Saudi Arabia]]
 +
* '''[[Sanaa]]''', [[Yemen]]
 +
{{div col end}}
 +
|belowclass = hlist
 +
|below =
 +
* {{sup|1}} [[List of states with limited recognition|An unrecognised or partially-recognised nation]]
 +
}}
 +
<noinclude>
  
|group1 = Africa
+
{{collapsible option}}
|list1 = <div>{{nowrap begin}}
+
[[Category:Arab world templates|Capitals]]
[[Algiers]] <small>([[Algeria]])</small>{{·w}}[[Cairo]] <small>([[Egypt]])</small>{{·w}}[[Khartoum]] <small>([[Sudan]])</small>{{·w}}[[Moroni, Comoros|Moroni]] <small>([[Comoros]])</small>{{·w}}[[Djibouti (city)|Djibouti]] <small>([[Djibouti]])</small>{{·w}}[[Nouakchott]] <small>([[Mauritania]])</small>{{·w}}[[Rabat]] <small>([[Morocco]])</small>{{·w}}[[Mogadishu]] <small>([[Somalia]])</small>{{·w}}[[Tripoli]] <small>([[Libya]])</small>{{·w}}[[Tunis]] <small>([[Tunisia]])</small>
 
{{nowrap end}}</div>
 
  
|group2 = Asia
 
|list2 = <div>{{nowrap begin}}
 
[[Abu Dhabi]] <small>([[United Arab Emirates]])</small>{{·w}}[[Amman]] <small>([[Jordan]])</small>{{·w}}[[Baghdad]] <small>([[Iraq]])</small>{{·w}}[[Beirut]] <small>([[Lebanon]])</small>{{·w}}[[Damascus]] <small>([[Syria]])</small>{{·w}}[[Doha]] <small>([[Qatar]])</small>{{·w}}[[East Jerusalem]] <small>([[Palestinian National Authority|Palestine]])</small>{{·w}}[[Kuwait City]] <small>([[Kuwait]])</small>{{·w}}[[Manama]] <small>([[Bahrain]])</small>{{·w}}[[Muscat, Oman|Muscat]] <small>([[Oman]])</small>{{·w}}[[Riyadh]] <small>([[Saudi Arabia]])</small>{{·w}}[[Sana'a]] <small>([[Yemen]])</small>
 
{{nowrap end}}</div>
 
}}<noinclude>
 
 
[[Category:Arab World templates|Capitals]]
 
 
[[ar:قالب:عواصم عربية]]
 
[[fr:Modèle:Palette Capitales des pays arabes]]
 
[[ko:틀:아랍 국가의 수도]]
 
 
</noinclude>
 
</noinclude>

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.