Difference between revisions of "Template:List of African capitals"

From blackwiki
Jump to navigation Jump to search
imported>Joeykai
imported>Paine Ellsworth
(convert to /doc page)
 
(23 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{navbox with columns
+
{{navbox
 
|name  = List of African capitals
 
|name  = List of African capitals
|title= [[Capital city|Capital]]s of Africa
+
|title= [[Capital city|Capital]]s of African states
 
|listclass = plainlist
 
|listclass = plainlist
 
|state= {{{state<includeonly>|collapsed</includeonly>}}}
 
|state= {{{state<includeonly>|collapsed</includeonly>}}}
 
|above = [[Dependent territory|Dependent territories]] and [[List of states with limited recognition|states with limited recognition]] are in ''italics''
 
|above = [[Dependent territory|Dependent territories]] and [[List of states with limited recognition|states with limited recognition]] are in ''italics''
|colwidth = 25%
+
|liststyle = text-align:left
|col1 =
+
|list1 = {{Div col|colwidth=27em}}
 
* '''[[Abuja]]''', [[Nigeria]]
 
* '''[[Abuja]]''', [[Nigeria]]
 
* '''[[Accra]]''', [[Ghana]]
 
* '''[[Accra]]''', [[Ghana]]
Line 15: Line 15:
 
* '''[[Bamako]]''', [[Mali]]
 
* '''[[Bamako]]''', [[Mali]]
 
* '''[[Bangui]]''', [[Central African Republic]]
 
* '''[[Bangui]]''', [[Central African Republic]]
* '''[[Banjul]]''', [[Gambia]]
+
* '''[[Banjul]]''', [[The Gambia|Gambia]]
 
* '''[[Bissau]]''', [[Guinea-Bissau]]
 
* '''[[Bissau]]''', [[Guinea-Bissau]]
 
* '''[[Brazzaville]]''', [[Republic of the Congo|Rep. of the Congo]]
 
* '''[[Brazzaville]]''', [[Republic of the Congo|Rep. of the Congo]]
* '''[[Bujumbura]]''', [[Burundi]]
 
 
* '''[[Cairo]]''', [[Egypt]]
 
* '''[[Cairo]]''', [[Egypt]]
 
* '''[[Conakry]]''', [[Guinea]]
 
* '''[[Conakry]]''', [[Guinea]]
 
* '''[[Dakar]]''', [[Senegal]]
 
* '''[[Dakar]]''', [[Senegal]]
 
* '''[[Djibouti (city)|Djibouti]]''', [[Djibouti]]
 
* '''[[Djibouti (city)|Djibouti]]''', [[Djibouti]]
 
|col2 =
 
 
* '''[[Dodoma]]''', [[Tanzania]]
 
* '''[[Dodoma]]''', [[Tanzania]]
* '''''[[El Aaiún]]''', [[Sahrawi Arab Democratic Republic]]''{{sup|1}}
+
* '''''[[Laayoune|El Aaiún]]''' (claimed)/'''[[Tifariti]]''' (factual), [[Sahrawi Arab Democratic Republic]]''{{sup|1}}
 
* '''[[Freetown]]''', [[Sierra Leone]]
 
* '''[[Freetown]]''', [[Sierra Leone]]
 
* '''''[[Funchal]]''', [[Madeira]]''{{sup|4}}
 
* '''''[[Funchal]]''', [[Madeira]]''{{sup|4}}
 
* '''[[Gaborone]]''', [[Botswana]]
 
* '''[[Gaborone]]''', [[Botswana]]
 +
* '''[[Gitega]]''', [[Burundi]]
 
* '''[[Harare]]''', [[Zimbabwe]]
 
* '''[[Harare]]''', [[Zimbabwe]]
 
* '''''[[Hargeisa]]''', [[Somaliland]]''{{sup|1}}
 
* '''''[[Hargeisa]]''', [[Somaliland]]''{{sup|1}}
* '''''[[Jamestown, Saint Helena|Jamestown]]''', [[Saint Helena, Ascension and Tristan da Cunha|St Helena, Ascension &amp; Tristan da Cunha]]''{{sup|2}}  
+
* '''''[[Jamestown, Saint Helena|Jamestown]]''', [[Saint Helena, Ascension and Tristan da Cunha]]''{{sup|2}}  
 
* '''[[Juba]]''', [[South Sudan]]
 
* '''[[Juba]]''', [[South Sudan]]
 
* '''[[Kampala]]''', [[Uganda]]
 
* '''[[Kampala]]''', [[Uganda]]
Line 41: Line 39:
 
* '''[[Lilongwe]]''', [[Malawi]]
 
* '''[[Lilongwe]]''', [[Malawi]]
 
* '''[[Lomé]]''', [[Togo]]
 
* '''[[Lomé]]''', [[Togo]]
 
|col3 =
 
 
* '''[[Luanda]]''', [[Angola]]
 
* '''[[Luanda]]''', [[Angola]]
 
* '''[[Lusaka]]''', [[Zambia]]
 
* '''[[Lusaka]]''', [[Zambia]]
Line 49: Line 45:
 
* '''[[Maputo]]''', [[Mozambique]]
 
* '''[[Maputo]]''', [[Mozambique]]
 
* '''[[Maseru]]''', [[Lesotho]]
 
* '''[[Maseru]]''', [[Lesotho]]
* '''[[Mbabane]]''' <small>([[Ngwenyama|executive]])</small>{{*}}'''[[Lobamba]]''' <small>([[Parliament of Swaziland|legislative]])</small>, [[Swaziland]]
+
* {{hlist|'''[[Mbabane]]''' ([[Ngwenyama|executive]])<br>&nbsp;| '''[[Lobamba]]''' ([[Parliament of Eswatini|legislative]]), [[Eswatini]]}}
 
* '''[[Mogadishu]]''', [[Somalia]]
 
* '''[[Mogadishu]]''', [[Somalia]]
 
* '''[[Monrovia]]''', [[Liberia]]
 
* '''[[Monrovia]]''', [[Liberia]]
Line 58: Line 54:
 
* '''[[Nouakchott]]''', [[Mauritania]]
 
* '''[[Nouakchott]]''', [[Mauritania]]
 
* '''[[Ouagadougou]]''', [[Burkina Faso]]
 
* '''[[Ouagadougou]]''', [[Burkina Faso]]
 
|col4 =
 
 
* '''[[Port Louis]]''', [[Mauritius]]
 
* '''[[Port Louis]]''', [[Mauritius]]
 
* '''[[Porto-Novo]]''', [[Benin]]
 
* '''[[Porto-Novo]]''', [[Benin]]
 
* '''[[Praia]]''', [[Cape Verde]]
 
* '''[[Praia]]''', [[Cape Verde]]
* '''[[Pretoria]]''' <small>([[President of South Africa|executive]])</small>{{*}}'''[[Cape Town]]''' <small>([[Parliament of South Africa|legislative]])</small>{{*}}'''[[Bloemfontein]]''' <small>([[Supreme Court of Appeal of South Africa|judicial]])</small>, [[South Africa]]
+
* {{hlist|'''[[Pretoria]]''' ([[President of South Africa|executive]])<br>&nbsp;|'''[[Cape Town]]''' ([[Parliament of South Africa|legislative]])<br>&nbsp;|'''[[Bloemfontein]]''' ([[Supreme Court of Appeal (South Africa)|judicial]]), [[South Africa]]}}
 
* '''[[Rabat]]''', [[Morocco]]
 
* '''[[Rabat]]''', [[Morocco]]
 
* '''''[[Saint-Denis, Réunion|Saint-Denis]]''', [[Réunion]]''{{sup|3}}
 
* '''''[[Saint-Denis, Réunion|Saint-Denis]]''', [[Réunion]]''{{sup|3}}
Line 72: Line 66:
 
* '''[[Victoria, Seychelles|Victoria]]''', [[Seychelles]]
 
* '''[[Victoria, Seychelles|Victoria]]''', [[Seychelles]]
 
* '''[[Windhoek]]''', [[Namibia]]
 
* '''[[Windhoek]]''', [[Namibia]]
* '''[[Yamoussoukro]]''', [[Côte d'Ivoire]]
+
* {{hlist|'''[[Yamoussoukro]]''' (political)<br>&nbsp;|'''[[Abidjan]]''' (economic), [[Ivory Coast]]}}
 
* '''[[Yaoundé]]''', [[Cameroon]]
 
* '''[[Yaoundé]]''', [[Cameroon]]
 
+
{{Div col end}}
 
|belowclass = hlist
 
|belowclass = hlist
 
|below =  
 
|below =  
 
* {{sup|1}} [[List of states with limited recognition|An unrecognised or partially-recognised nation]]
 
* {{sup|1}} [[List of states with limited recognition|An unrecognised or partially-recognised nation]]
* {{sup|2}} [[British Overseas Territory]]
+
* {{sup|2}} [[British Overseas Territories|British Overseas Territory]]
* {{sup|3}} [[Overseas region]] of [[France]]
+
* {{sup|3}} [[Overseas department and region|Overseas region]] of [[France]]
* {{sup|4}} [[Autonomous regions of Portugal|Autonomous region of Portugal]]
+
* {{sup|4}} [[Autonomous Regions of Portugal|Autonomous region of Portugal]]
 
* {{sup|5}} [[Autonomous communities of Spain|Autonomous community of Spain]]
 
* {{sup|5}} [[Autonomous communities of Spain|Autonomous community of Spain]]
 
}}<noinclude>
 
}}<noinclude>
== See also ==
+
{{Documentation}}
{{Continent-based templates}}
 
[[Category:Africa templates|Capitals]]
 
[[Category:Capital city templates]]
 
[[Category:Capitals in Africa|τ]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 06:41, 31 October 2020

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to collapsed

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

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

See also