Template:WikiProject Africa: Difference between revisions
Appearance
Content deleted Content added
Black Falcon (talk | contribs) adding categories for "FL" (featured lists) parameter |
Black Falcon (talk | contribs) set up assessment scheme for the African protected areas task force |
||
Line 2,022: | Line 2,022: | ||
|Category|category|Cat|cat= |
|Category|category|Cat|cat= |
||
|#default=[[Category:Unassessed African military history articles|{{PAGENAME}}]] |
|#default=[[Category:Unassessed African military history articles|{{PAGENAME}}]] |
||
}}{{#switch:{{{class}}} |
|||
|NA|na|List|list|Category|category|Cat|cat= |
|||
|#default= |
|||
}}</includeonly> |
|||
}} |
|||
<!-- -------------------------------------------------------------------------------- --> |
|||
<!-- Wikipedia:WikiProject Africa/Protected areas task force --> |
|||
<!-- -------------------------------------------------------------------------------- --> |
|||
|- |
|||
{{#ifeq:{{{parea|}}}|yes| |
|||
{{!}} [[Image:Giraffe standing.jpg|40x40px|center]] |
|||
{{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} is supported by the '''[[Wikipedia:WikiProject Africa/Protected areas task force|African protected areas task force]]'''.<includeonly>[[Category:African protected areas task force articles|{{PAGENAME}}]] |
|||
{{ #switch: {{{class|}}} |
|||
|FA|Fa|fa=[[Category:FA-Class African protected areas articles|{{PAGENAME}}]] |
|||
|FL|Fl|fl=[[Category:FL-Class African protected areas articles|{{PAGENAME}}]] |
|||
|A|a=[[Category:A-Class African protected areas articles|{{PAGENAME}}]] |
|||
|GA|Ga|ga=[[Category:GA-Class African protected areas articles|{{PAGENAME}}]] |
|||
|B|b=[[Category:B-Class African protected areas articles|{{PAGENAME}}]] |
|||
|C|c=[[Category:C-Class African protected areas articles|{{PAGENAME}}]] |
|||
|Start|start=[[Category:Start-Class African protected areas articles|{{PAGENAME}}]] |
|||
|Stub|stub=[[Category:Stub-Class African protected areas articles|{{PAGENAME}}]] |
|||
|List|list=[[Category:List-Class African protected areas articles|{{PAGENAME}}]] |
|||
|Category|category|Cat|cat=[[Category:Category-Class African protected areas pages|{{PAGENAME}}]] |
|||
|Template|template|Temp|temp=[[Category:Template-Class African protected areas pages|{{PAGENAME}}]] |
|||
|NA|na=[[Category:Non-article African protected areas pages|{{PAGENAME}}]] |
|||
|#default=[[Category:Unassessed African protected areas articles|{{PAGENAME}}]] |
|||
}}{{#switch:{{{class}}} |
}}{{#switch:{{{class}}} |
||
|NA|na|List|list|Category|category|Cat|cat= |
|NA|na|List|list|Category|category|Cat|cat= |
Revision as of 15:56, 20 August 2008
![]() | This template is used on approximately 213,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Usage
The {{WikiProject Africa}} project banner template should be added (not subst:ed) to the talk page of every article within the scope of the project. While the template does not require any additional parameters, it has a number of optional ones that add various extra features to the banner. The syntax is as follows:
Basic
{{WikiProject Africa |class= |importance= |attention= |needs-infobox= |needs-photo= }}
Full
{{WikiProject Africa
|class=
|importance=
|attention=
|needs-infobox=
|needs-photo=
|listas=
<!-- Task forces (North Africa) -->
|Algeria=
|Algeria-importance=
|Egypt=
|Egypt-importance=
|Libya=
|Libya-importance=
|Madeira=
|Madeira-importance=
|Morocco=
|Morocco-importance=
|Spanish Africa=
|Spanish Africa-importance=
|Sudan=
|Sudan-importance=
|Tunisia=
|Tunisia-importance=
|Western Sahara=
|Western Sahara-importance=
<!-- Task forces (Western Africa) -->
|Benin=
|Benin-importance=
|Burkina Faso=
|Burkina Faso-importance=
|Cape Verde=
|Cape Verde-importance=
|French Africa=
|French Africa-importance=
|Gambia=
|Gambia-importance=
|Ghana=
|Ghana-importance=
|Guinea=
|Guinea-importance=
|Guinea-Bissau=
|Guinea-Bissau-importance=
|Ivory Coast= <!-- or |Côte d'Ivoire= -->
|Ivory Coast-importance= <!-- or |Côte d'Ivoire-importance= -->
|Liberia=
|Liberia-importance=
|Mali=
|Mali-importance=
|Mauritania=
|Mauritania-importance=
|Niger=
|Niger-importance=
|Nigeria=
|Nigeria-importance=
|Saint Helena=
|Saint Helena-importance=
|Senegal=
|Senegal-importance=
|Sierra Leone=
|Sierra Leone-importance=
|Togo=
|Togo-importance=
<!-- Task forces (Central Africa) -->
|Angola=
|Angola-importance=
|Cameroon=
|Cameroon-importance=
|Central African Republic=
|Central African Republic-importance=
|Chad=
|Chad-importance=
|Democratic Republic of the Congo= <!-- or |DRC= -->
|Democratic Republic of the Congo-importance= <!-- or |DRC-importance= -->
|Equatorial Guinea=
|Equatorial Guinea-importance=
|Gabon=
|Gabon-importance=
|Republic of the Congo= <!-- or |RCongo= -->
|Republic of the Congo-importance= <!-- or |RCongo-importance= -->
|Sao Tome and Principe=
|Sao Tome and Principe-importance=
<!-- Task forces (Eastern Africa) -->
|Burundi=
|Burundi-importance=
|Comoros=
|Comoros-importance=
|Djibouti=
|Djibouti-importance=
|Eritrea=
|Eritrea-importance=
|Ethiopia=
|Ethiopia-importance=
|Kenya=
|Kenya-importance=
|Madagascar=
|Madagascar-importance=
|Malawi=
|Malawi-importance=
|Mauritius=
|Mauritius-importance=
|Mozambique=
|Mozambique-importance=
|Rwanda=
|Rwanda-importance=
|Seychelles=
|Seychelles-importance=
|Somalia=
|Somalia-importance=
|South Sudan=
|South Sudan-importance=
|Tanzania=
|Tanzania-importance=
|Uganda=
|Uganda-importance=
|Zambia=
|Zambia-importance=
|Zimbabwe=
|Zimbabwe-importance=
<!-- Task forces (Southern Africa) -->
|Botswana=
|Botswana-importance=
|Eswatini=
|Eswatini-importance=
|Lesotho=
|Lesotho-importance=
|Namibia=
|Namibia-importance=
|South Africa=
|South Africa-importance=
<!-- Task forces (African history) -->
|African diaspora=
|African diaspora-importance=
|African MH=
|Ancient Egypt=
|Ancient Egypt-importance=
|Ancient Near East=
|Ancient Near East-importance=
|Classical MH=
|Early Muslim MH=
|Egyptian religion=
|Egyptian religion-importance=
|Middle Eastern MH=
|Ottoman MH=
|parea=
|parea-importance=
<!-- Not in use by projects
|African MH-importance=
|Classical MH-importance=
|Early Muslim MH-importance=
|Middle Eastern MH-importance=
|Ottoman MH-importance=
-->
}}
General parameters
To avoid needlessly cluttering up talk pages, it is usually appropriate to remove any unused parameters from the template.
- class – valid values are listed in the custom class mask. See the project's quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|class=
blank or omit the parameter. - importance – valid values are: top, high, mid, low, na (case-insensitive). See the project's importance scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|importance=
blank or omit the parameter. - attention – set
|attention=yes
if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention.- This parameter populates Category:Africa articles needing attention.
- needs-infobox – set
|needs-infobox=yes
if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.- This parameter populates Category:Africa articles without infoboxes.
- needs-photo – set
|needs-photo=yes
to populate Category:Wikipedia requested photographs in Africa. - listas – This parameter, which is the equivalent of the DEFAULTSORT sortkey that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for John Doe, use
|listas=Doe, John
so that the talk page will show up in the D's and not the J's of the various assessment and administrative categories). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see Wikipedia:Categorization of people § Ordering names in a category.
If the article is using {{WikiProject banner shell}} then it is preferable to add|listas=
to that template instead of a project banner template. Putting the parameter on more than one template is not required.
Special use only
- auto – This parameter is for the use of bots and indicates that the article has been automatically rated:
|auto=length
– based on the length of the article|auto=inherit
– because one or more other projects use this class|auto=yes
(or|auto=stub
), in conjunction with|class=stub
– as Stub-Class because it uses a stub template- Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed Africa articles.
- category – set
|category=no
if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.
WikiProject and task force specific
Task forces (Northern Africa):
- Algeria – set
|Algeria=yes
if the article is supported by WikiProject Algeria.- This parameter populates Category:WikiProject Algeria articles, and the relevant subcategory of Category:Algeria articles by quality based upon the
|class=
parameter. - Algeria-importance (only used if
|Algeria=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Algeria- This importance rating populates the relevant subcategory of Category:Algeria articles by importance.
- This parameter populates Category:WikiProject Algeria articles, and the relevant subcategory of Category:Algeria articles by quality based upon the
- Egypt – set
|Egypt=yes
if the article is supported by WikiProject Egypt.- This parameter populates Category:WikiProject Egypt articles, and the relevant subcategory of Category:Egypt articles by quality based upon the
|class=
parameter. - Egypt-importance (only used if
|Egypt=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Egypt- This importance rating populates the relevant subcategory of Category:Egypt articles by importance.
- This parameter populates Category:WikiProject Egypt articles, and the relevant subcategory of Category:Egypt articles by quality based upon the
- Libya – set
|Libya=yes
if the article is supported by WikiProject Libya.- This parameter populates Category:WikiProject Libya articles, and the relevant subcategory of Category:Libya articles by quality based upon the
|class=
parameter. - Libya-importance (only used if
|Libya=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Libya- This importance rating populates the relevant subcategory of Category:Libya articles by importance.
- This parameter populates Category:WikiProject Libya articles, and the relevant subcategory of Category:Libya articles by quality based upon the
- Madeira – set
|Madeira=yes
if the article is supported by the Madeira work group.- This parameter populates Category:WikiProject Madeira articles, and the relevant subcategory of Category:Madeira articles by quality based upon the
|class=
parameter. - Madeira-importance (only used if
|Madeira=yes
is set; uses the same values as|importance=
) – Importance rating within the Madeira work group- This importance rating populates the relevant subcategory of Category:Madeira articles by importance.
- This parameter populates Category:WikiProject Madeira articles, and the relevant subcategory of Category:Madeira articles by quality based upon the
- Morocco – set
|Morocco=yes
if the article is supported by WikiProject Morocco.- This parameter populates Category:WikiProject Morocco articles, and the relevant subcategory of Category:Morocco articles by quality based upon the
|class=
parameter. - Morocco-importance (only used if
|Morocco=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Morocco- This importance rating populates the relevant subcategory of Category:Morocco articles by importance.
- This parameter populates Category:WikiProject Morocco articles, and the relevant subcategory of Category:Morocco articles by quality based upon the
- Spanish Africa – set
|Spanish Africa =yes
if the article is supported by the Spanish Africa work group.- This parameter populates Category:WikiProject Spanish Africa articles, and the relevant subcategory of Category:Spanish Africa articles by quality based upon the
|class=
parameter. - Spanish Africa-importance (only used if
|Spanish Africa =yes
is set; uses the same values as|importance=
) – Importance rating within the Spanish Africa work group- This importance rating populates the relevant subcategory of Category:Spanish Africa articles by importance.
- This parameter populates Category:WikiProject Spanish Africa articles, and the relevant subcategory of Category:Spanish Africa articles by quality based upon the
- Sudan – set
|Sudan =yes
if the article is supported by WikiProject Sudan.- This parameter populates Category:WikiProject Sudan articles, and the relevant subcategory of Category:Sudan articles by quality based upon the
|class=
parameter. - Sudan-importance (only used if
|Sudan =yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Sudan- This importance rating populates the relevant subcategory of Category:Sudan articles by importance.
- This parameter populates Category:WikiProject Sudan articles, and the relevant subcategory of Category:Sudan articles by quality based upon the
- Tunisia – set
|Tunisia =yes
if the article is supported by WikiProject Tunisia.- This parameter populates Category:WikiProject Tunisia articles, and the relevant subcategory of Category:Tunisia articles by quality based upon the
|class=
parameter. - Tunisia-importance (only used if
|Tunisia =yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Tunisia- This importance rating populates the relevant subcategory of Category:Tunisia articles by importance.
- This parameter populates Category:WikiProject Tunisia articles, and the relevant subcategory of Category:Tunisia articles by quality based upon the
- Western Sahara – set
|Western Sahara =yes
if the article is supported by WikiProject Western Sahara.- This parameter populates Category:WikiProject Western Sahara articles, and the relevant subcategory of Category:Western Sahara articles by quality based upon the
|class=
parameter. - Western Sahara-importance (only used if
|Western Sahara =yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Western Sahara- This importance rating populates the relevant subcategory of Category:Western Sahara articles by importance.
- This parameter populates Category:WikiProject Western Sahara articles, and the relevant subcategory of Category:Western Sahara articles by quality based upon the
- Benin – "yes" if the article is supported by WikiProject Benin.
- Burkina Faso – "yes" if the article is supported by WikiProject Burkina Faso.
- Cape Verde – "yes" if the article is supported by WikiProject Cape Verde.
- French Africa – "yes" if the article is supported by the French Africa work group.
- Gambia – "yes" if the article is supported by WikiProject Gambia.
- Ghana – "yes" if the article is supported by WikiProject Ghana.
- Guinea – "yes" if the article is supported by WikiProject Guinea.
- Guinea-Bissau – "yes" if the article is supported by WikiProject Guinea-Bissau.
- Ivory Coast or Côte d'Ivoire – "yes" if the article is supported by WikiProject Ivory Coast.
- Liberia – "yes" if the article is supported by WikiProject Liberia.
- Mali – "yes" if the article is supported by WikiProject Mali.
- Mauritania – "yes" if the article is supported by WikiProject Mauritania.
- Niger – "yes" if the article is supported by WikiProject Niger.
- Nigeria – "yes" if the article is supported by the WikiProject Nigeria.
- Saint Helena – "yes" if the article is supported by the Saint Helena work group.
- Senegal – "yes" if the article is supported by WikiProject Senegal.
- Sierra Leone – "yes" if the article is supported by WikiProject Sierra Leone.
- Togo – "yes" if the article is supported by WikiProject Togo.
- Angola – "yes" if the article is supported by WikiProject Angola.
- Cameroon – "yes" if the article is supported by WikiProject Cameroon.
- Central African Republic – "yes" if the article is supported by WikiProject Central African Republic.
- Chad – "yes" if the article is supported by WikiProject Chad.
- Democratic Republic of the Congo or DRC – "yes" if the article is supported by WikiProject Democratic Republic of the Congo.
- Equatorial Guinea – "yes" if the article is supported by WikiProject Equatorial Guinea.
- Gabon – "yes" if the article is supported by WikiProject Gabon.
- Republic of the Congo or RCongo – "yes" if the article is supported by WikiProject Republic of the Congo.
- Sao Tome and Principe – "yes" if the article is supported by WikiProject Sao Tome and Principe.
- Burundi – "yes" if the article is supported by WikiProject Burundi.
- Comoros – "yes" if the article is supported by WikiProject Comoros.
- Djibouti – "yes" if the article is supported by WikiProject Djibouti.
- Eritrea – "yes" if the article is supported by WikiProject Eritrea.
- Ethiopia – "yes" if the article is supported by WikiProject Ethiopia.
- Kenya – "yes" if the article is supported by WikiProject Kenya.
- Madagascar – "yes" if the article is supported by WikiProject Madagascar.
- Malawi – "yes" if the article is supported by WikiProject Malawi.
- Mauritius – "yes" if the article is supported by WikiProject Mauritius.
- Mozambique – "yes" if the article is supported by WikiProject Mozambique.
- Rwanda – "yes" if the article is supported by WikiProject Rwanda.
- Seychelles – "yes" if the article is supported by the WikiProject Seychelles.
- Somalia – "yes" if the article is supported by WikiProject Somalia.
- South Sudan – "yes" if the article is supported by WikiProject South Sudan.
- Tanzania – "yes" if the article is supported by WikiProject Tanzania.
- Uganda – "yes" if the article is supported by WikiProject Uganda.
- Zambia – "yes" if the article is supported by WikiProject Zambia.
- Zimbabwe – "yes" if the article is supported by WikiProject Zimbabwe.
Task forces (Southern Africa):
- Botswana – "yes" if the article is supported by WikiProject Botswana.
- Eswatini – "yes" if the article is supported by WikiProject Eswatini.
- Lesotho – "yes" if the article is supported by WikiProject Lesotho.
- Namibia – "yes" if the article is supported by WikiProject Namibia.
- South Africa – "yes" if the article is supported by WikiProject South Africa.
Task forces (African history):
- African diaspora – "yes" if the article is supported by WikiProject African diaspora.
- African MH – "yes" if the article is supported by the African military history task force.
- Ancient Egypt – "yes" if the article is supported by WikiProject Ancient Egypt.
- Ancient Near East – "yes" if the article is supported by WikiProject Ancient Near East.
- Classical MH – "yes" if the article is supported by the Classical warfare task force.
- Early Muslim MH – "yes" if the article is supported by the Early Muslim military history task force.
- Egyptian religion – "yes" if the article is supported by the Egyptian religion work group.
- Middle Eastern MH – "yes" if the article is supported by Middle Eastern military history task force.
- Ottoman MH – "yes" if the article is supported by the Ottoman military history task force.
- Protected areas – "yes" if the article is supported by the African protected areas task force.
Tracking category
- Category:Pages using WikiProject Africa with unknown parameters (1) – talk pages that are tagged with invalid parameters of this template