Template:WikiProject Cities/doc: Difference between revisions
Appearance
Content deleted Content added
→Parameters: document all recognised parameters |
Tom.Reding (talk | contribs) m →top: {{High-use}} |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-use}} |
|||
⚫ | |||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
|||
⚫ | |||
== Usage == |
|||
This page is intended to serve as instructions for the use of the banner template {{ |
This page is intended to serve as instructions for the use of the banner template {{tlx|WikiProject Cities}}. |
||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> |
|||
<pre> |
|||
{{WikiProject Cities |
{{WikiProject Cities |
||
|class = |
|class = |
||
|importance = <!-- Low/Mid/High/Top --> |
|||
|attention = |
|attention = |
||
⚫ | |||
|needs-infobox = |
|needs-infobox = |
||
| |
|needs-image = |
||
|imagedetails = |
|||
|old-peer-review = |
|||
| |
|in = |
||
⚫ | |||
|in3 = |
|||
|needs-map = |
|||
|unref = |
|||
|needs-geocoord = |
|||
|core = <!--yes, if it's on the "core" city list--> |
|||
|capital = <!--yes, if it's a national capital--> |
|||
|regional_capital= <!--yes, if it's a regional (state/provincial) capital; do not use if it's also a national capital or merely a county seat.--> |
|||
|listas = |
|||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
or |
or |
||
<pre> |
|||
<syntaxhighlight lang="wikitext" style="overflow:auto;"> |
|||
{{WikiProject Cities |class |
{{WikiProject Cities |class= }} |
||
</pre> |
|||
</syntaxhighlight> |
|||
===Optional parameters=== |
===Optional parameters=== |
||
⚫ | |||
{{WPBannerDoc|attention|PROJECT=Cities|ATTENTION_CAT=WikiProject Cities articles needing attention}} |
{{WPBannerDoc|attention|PROJECT=Cities|ATTENTION_CAT=WikiProject Cities articles needing attention}} |
||
⚫ | |||
{{WPBannerDoc|importance|PROJECT=Cities|ASSESSMENT_LINK=Wikipedia:WikiProject Cities/Assessment}} |
|||
⚫ | |||
{{WPBannerDoc|needs-infobox|PROJECT=Cities|INFOBOX_CAT=WikiProject Cities articles needing infoboxes}} |
{{WPBannerDoc|needs-infobox|PROJECT=Cities|INFOBOX_CAT=WikiProject Cities articles needing infoboxes}} |
||
{{WPBannerDoc/note|needs-image|NOTE_TEXT=if the article needs an image (other than a map). |
|||
{{WPBannerDoc/peerreview |peer review=peer-review |old peer review=old-peer-review |LINK=Wikipedia:WikiProject Cities/Assessment |CAT=Requests for WikiProject Cities peer review |OLD_CAT=Old requests for WikiProject Cities peer review }} |
|||
* '''imagedetails''' (appears only if needs-image is set to yes) - Additional details to describe the image that is requested. |
|||
{{WPBannerDoc|small}} |
|||
* '''in''' - Used in conjunction with the '''needs-image''' parameter to place the image request into a specific location category. Leave blank or delete if not. |
|||
** Additional '''in2''' and '''in3''' - Used in conjunction with the '''needs-image''' parameter to specify up to two more location categories. |NOTE_CAT=Wikipedia requested images of cities}} |
|||
{{WPBannerDoc/note|needs-map|NOTE_TEXT=if the article needs a map. |
|||
* '''in''' - Used in conjunction with the '''needs-map''' parameter to place the map request into a specific location category. Leave blank or delete if not. |
|||
** Additional '''in2''' and '''in3''' - Used in conjunction with the '''needs-map''' parameter to specify up to two more location categories. |NOTE_CAT=Wikipedia requested maps}} |
|||
{{WPBannerDoc/note|unref|NOTE_TEXT=if the article lacks sufficient references and/or adequate inline citations.|NOTE_CAT=Articles lacking sources}} |
|||
{{WPBannerDoc/note|needs-geocoord|NOTE_TEXT=if the article lacks geocoordinate data. |
|||
* '''in''' - Used in conjunction with the '''needs-geocoord''' parameter to place the geocoordinate request into a specific location category. Leave blank or delete if not. |
|||
** Additional '''in2''' and '''in3''' - Used in conjunction with the '''needs-geocoord''' parameter to specify up to two more location categories. |NOTE_CAT=Unclassified articles missing geocoordinate data}} |
|||
{{WPBannerDoc/tf |core|TF_LINK=Wikipedia:WikiProject Cities/Core |TF_NAME=the Core task force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=WikiProject Cities core articles |TF_MAIN_CAT=WikiProject Cities core articles}} |
|||
{{WPBannerDoc/tf |capital|TF_LINK=Wikipedia:WikiProject Cities/National capitals|TF_NAME=the National capitals task force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=WikiProject Cities national capital articles|TF_MAIN_CAT=WikiProject Cities national capital articles}} |
|||
{{WPBannerDoc/tf |regional_capital|TF_LINK=Wikipedia:WikiProject Cities/Regional capitals|TF_NAME=the Regional capitals task force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=WikiProject Cities regional capital articles|TF_MAIN_CAT=WikiProject Cities regional capital articles}} |
|||
⚫ | |||
{{WPBannerDoc|category}} |
{{WPBannerDoc|category}} |
||
<includeonly> |
<includeonly>{{Sandbox other|| |
||
<!-- Categories below this line; interwikis at Wikidata --> |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
[[Category:WikiProject Cities| ]] |
[[Category:WikiProject Cities| ]] |
||
⚫ | |||
[[fr:Modèle:Wikiprojet Villes du monde]] |
|||
⚫ |
Latest revision as of 22:53, 26 December 2023
This is a documentation subpage for Template:WikiProject Cities. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 372,000 pages, or roughly 1% of all 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. |
Usage
[edit]This page is intended to serve as instructions for the use of the banner template {{WikiProject Cities}}
.
{{WikiProject Cities
|class =
|attention =
|needs-infobox =
|needs-image =
|imagedetails =
|in =
|in2 =
|in3 =
|needs-map =
|unref =
|needs-geocoord =
|core = <!--yes, if it's on the "core" city list-->
|capital = <!--yes, if it's a national capital-->
|regional_capital= <!--yes, if it's a regional (state/provincial) capital; do not use if it's also a national capital or merely a county seat.-->
|listas =
}}
or
{{WikiProject Cities |class= }}
Optional parameters
[edit]- 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. - 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:WikiProject Cities 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:WikiProject Cities articles needing infoboxes.
- needs-image – set
|needs-image=yes
if the article needs an image (other than a map). - imagedetails (appears only if needs-image is set to yes) - Additional details to describe the image that is requested.
- in - Used in conjunction with the needs-image parameter to place the image request into a specific location category. Leave blank or delete if not.
- Additional in2 and in3 - Used in conjunction with the needs-image parameter to specify up to two more location categories.
- This parameter populates Category:Wikipedia requested images of cities.
- needs-map – set
|needs-map=yes
if the article needs a map. - in - Used in conjunction with the needs-map parameter to place the map request into a specific location category. Leave blank or delete if not.
- Additional in2 and in3 - Used in conjunction with the needs-map parameter to specify up to two more location categories.
- This parameter populates Category:Wikipedia requested maps.
- unref – set
|unref=yes
if the article lacks sufficient references and/or adequate inline citations.- This parameter populates Category:Articles lacking sources.
- needs-geocoord – set
|needs-geocoord=yes
if the article lacks geocoordinate data. - in - Used in conjunction with the needs-geocoord parameter to place the geocoordinate request into a specific location category. Leave blank or delete if not.
- Additional in2 and in3 - Used in conjunction with the needs-geocoord parameter to specify up to two more location categories.
- This parameter populates Category:Unclassified articles missing geocoordinate data.
- core – set
|core=yes
if the article is supported by the Core task force.- This parameter populates Category:WikiProject Cities core articles, and the relevant subcategory of Category:WikiProject Cities core articles by quality based upon the
|class=
parameter.
- This parameter populates Category:WikiProject Cities core articles, and the relevant subcategory of Category:WikiProject Cities core articles by quality based upon the
- capital – set
|capital=yes
if the article is supported by the National capitals task force.- This parameter populates Category:WikiProject Cities national capital articles, and the relevant subcategory of Category:WikiProject Cities national capital articles by quality based upon the
|class=
parameter.
- This parameter populates Category:WikiProject Cities national capital articles, and the relevant subcategory of Category:WikiProject Cities national capital articles by quality based upon the
- regional_capital – set
|regional_capital=yes
if the article is supported by the Regional capitals task force.- This parameter populates Category:WikiProject Cities regional capital articles, and the relevant subcategory of Category:WikiProject Cities regional capital articles by quality based upon the
|class=
parameter.
- This parameter populates Category:WikiProject Cities regional capital articles, and the relevant subcategory of Category:WikiProject Cities regional capital articles by quality based upon the
- 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 Christopher Wren, use
|listas=Wren, Christopher
so that the talk page will show up in the W's and not the C'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. - 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.