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

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(wl)
imported>Paine Ellsworth
(convert to /doc page)
 
(29 intermediate revisions by 18 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>}}}
|colwidth = 25%
+
|above = [[Dependent territory|Dependent territories]] and [[List of states with limited recognition|states with limited recognition]] are in ''italics''
|col1 =
+
|liststyle = text-align:left
* [[Abuja]], ''Nigeria''
+
|list1 = {{Div col|colwidth=27em}}
* [[Accra]], ''Ghana''
+
* '''[[Abuja]]''', [[Nigeria]]
* [[Addis Ababa]], ''Ethiopia''
+
* '''[[Accra]]''', [[Ghana]]
* [[Algiers]], ''Algeria''
+
* '''[[Addis Ababa]]''', [[Ethiopia]]
* [[Antananarivo]], ''Madagascar''
+
* '''[[Algiers]]''', [[Algeria]]
* [[Asmara]], ''Eritrea''
+
* '''[[Antananarivo]]''', [[Madagascar]]
* [[Bamako]], ''Mali''
+
* '''[[Asmara]]''', [[Eritrea]]
* [[Bangui]], ''Central African Republic''
+
* '''[[Bamako]]''', [[Mali]]
* [[Banjul]], ''Gambia''
+
* '''[[Bangui]]''', [[Central African Republic]]
* [[Bissau]], ''Guinea-Bissau''
+
* '''[[Banjul]]''', [[The Gambia|Gambia]]
* [[Bloemfontein]], ''South Africa''{{sup|1}}
+
* '''[[Bissau]]''', [[Guinea-Bissau]]
* [[Brazzaville]], ''Rep. of the Congo''
+
* '''[[Brazzaville]]''', [[Republic of the Congo|Rep. of the Congo]]
* [[Bujumbura]], ''Burundi''
+
* '''[[Cairo]]''', [[Egypt]]
* [[Cairo]], ''Egypt''
+
* '''[[Conakry]]''', [[Guinea]]
* [[Cape Town]], ''South Africa''{{sup|2}}
+
* '''[[Dakar]]''', [[Senegal]]
* [[Conakry]], ''Guinea''
+
* '''[[Djibouti (city)|Djibouti]]''', [[Djibouti]]
 
+
* '''[[Dodoma]]''', [[Tanzania]]
|col2 =
+
* '''''[[Laayoune|El Aaiún]]''' (claimed)/'''[[Tifariti]]''' (factual), [[Sahrawi Arab Democratic Republic]]''{{sup|1}}
* [[Dakar]], ''Senegal''
+
* '''[[Freetown]]''', [[Sierra Leone]]
* [[Djibouti (city)|Djibouti]], ''Djibouti''
+
* '''''[[Funchal]]''', [[Madeira]]''{{sup|4}}
* [[Dodoma]], ''Tanzania''
+
* '''[[Gaborone]]''', [[Botswana]]
* [[El Aaiún]], ''Sahrawi Arab Democratic Republic''{{sup|4}}
+
* '''[[Gitega]]''', [[Burundi]]
* [[Freetown]], ''Sierra Leone''
+
* '''[[Harare]]''', [[Zimbabwe]]
* [[Gaborone]], ''Botswana''
+
* '''''[[Hargeisa]]''', [[Somaliland]]''{{sup|1}}
* [[Harare]], ''Zimbabwe''
+
* '''''[[Jamestown, Saint Helena|Jamestown]]''', [[Saint Helena, Ascension and Tristan da Cunha]]''{{sup|2}}  
* [[Hargeisa]], ''Somaliland''{{sup|4}}
+
* '''[[Juba]]''', [[South Sudan]]
* [[Jamestown, Saint Helena|Jamestown]], ''Saint Helena''{{sup|5}}
+
* '''[[Kampala]]''', [[Uganda]]
* [[Juba]], ''South Sudan''
+
* '''[[Khartoum]]''', [[Sudan]]
* [[Kampala]], ''Uganda''
+
* '''[[Kigali]]''', [[Rwanda]]
* [[Khartoum]], ''Sudan''
+
* '''[[Kinshasa]]''', [[Democratic Republic of the Congo|D.R. Congo]]
* [[Kigali]], ''Rwanda''
+
* '''[[Libreville]]''', [[Gabon]]
* [[Kinshasa]], ''D.R. Congo''
+
* '''[[Lilongwe]]''', [[Malawi]]
* [[Libreville]], ''Gabon''
+
* '''[[Lomé]]''', [[Togo]]
 
+
* '''[[Luanda]]''', [[Angola]]
|col3 =
+
* '''[[Lusaka]]''', [[Zambia]]
* [[Lilongwe]], ''Malawi''
+
* '''[[Malabo]]''', [[Equatorial Guinea]]
* [[Lobamba]], ''Swaziland''{{sup|2}}
+
* '''''[[Mamoudzou]]''', [[Mayotte]]''{{sup|3}}
* [[Lomé]], ''Togo''
+
* '''[[Maputo]]''', [[Mozambique]]
* [[Luanda]], ''Angola''
+
* '''[[Maseru]]''', [[Lesotho]]
* [[Lusaka]], ''Zambia''
+
* {{hlist|'''[[Mbabane]]''' ([[Ngwenyama|executive]])<br>&nbsp;| '''[[Lobamba]]''' ([[Parliament of Eswatini|legislative]]), [[Eswatini]]}}
* [[Malabo]], ''Equatorial Guinea''
+
* '''[[Mogadishu]]''', [[Somalia]]
* [[Mamoudzou]], ''Mayotte''{{sup|6}}
+
* '''[[Monrovia]]''', [[Liberia]]
* [[Maputo]], ''Mozambique''
+
* '''[[Moroni, Comoros|Moroni]]''', [[Comoros]]
* [[Maseru]], ''Lesotho''
+
* '''[[Nairobi]]''', [[Kenya]]
* [[Mbabane]], ''Swaziland''{{sup|3}}
+
* '''[[N'Djamena]]''', [[Chad]]
* [[Mogadishu]], ''Somalia''
+
* '''[[Niamey]]''', [[Niger]]
* [[Monrovia]], ''Liberia''
+
* '''[[Nouakchott]]''', [[Mauritania]]
* [[Moroni, Comoros|Moroni]], ''Comoros''
+
* '''[[Ouagadougou]]''', [[Burkina Faso]]
* [[Nairobi]], ''Kenya''
+
* '''[[Port Louis]]''', [[Mauritius]]
* [[N'Djamena]], ''Chad''
+
* '''[[Porto-Novo]]''', [[Benin]]
* [[Niamey]], ''Niger''
+
* '''[[Praia]]''', [[Cape Verde]]
 
+
* {{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]]}}
|col4 =
+
* '''[[Rabat]]''', [[Morocco]]
* [[Nouakchott]], ''Mauritania''
+
* '''''[[Saint-Denis, Réunion|Saint-Denis]]''', [[Réunion]]''{{sup|3}}
* [[Ouagadougou]], ''Burkina Faso''
+
* '''''[[Santa Cruz de Tenerife]]''' and '''[[Las Palmas]]''', [[Canary Islands]]''{{sup|5}}
* [[Port Louis]], ''Mauritius''
+
* '''[[São Tomé]]''', [[São Tomé and Príncipe]]
* [[Porto-Novo]], ''Benin''
+
* '''[[Tripoli]]''', [[Libya]]
* [[Praia]], ''Cape Verde''
+
* '''[[Tunis]]''', [[Tunisia]]
* [[Pretoria]], ''South Africa''{{sup|3}}
+
* '''[[Victoria, Seychelles|Victoria]]''', [[Seychelles]]
* [[Rabat]], ''Morocco''
+
* '''[[Windhoek]]''', [[Namibia]]
* [[Saint-Denis, Réunion|Saint-Denis]], ''Réunion''{{sup|6}}
+
* {{hlist|'''[[Yamoussoukro]]''' (political)<br>&nbsp;|'''[[Abidjan]]''' (economic), [[Ivory Coast]]}}
* [[São Tomé]], ''São Tomé and Príncipe''
+
* '''[[Yaoundé]]''', [[Cameroon]]
* [[Tripoli]], ''Libya''
+
{{Div col end}}
* [[Tunis]], ''Tunisia''
 
* [[Victoria, Seychelles|Victoria]], ''Seychelles''
 
* [[Windhoek]], ''Namibia''
 
* [[Yamoussoukro]], ''Côte d'Ivoire''
 
* [[Yaoundé]], ''Cameroon''
 
 
 
 
|belowclass = hlist
 
|belowclass = hlist
 
|below =  
 
|below =  
* {{sup|1}} Judicial
+
* {{sup|1}} [[List of states with limited recognition|An unrecognised or partially-recognised nation]]
* {{sup|2}} Parliamentary
+
* {{sup|2}} [[British Overseas Territories|British Overseas Territory]]
* {{sup|3}} Executive
+
* {{sup|3}} [[Overseas department and region|Overseas region]] of [[France]]
* {{sup|4}} An unrecognised or partially-recognised nation
+
* {{sup|4}} [[Autonomous Regions of Portugal|Autonomous region of Portugal]]
* {{sup|5}} Part of the British Overseas Territory of Saint Helena, Ascension and Tristan da Cunha
+
* {{sup|5}} [[Autonomous communities of Spain|Autonomous community of Spain]]
* {{sup|6}} Overseas region of France
 
 
 
 
}}<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