Template:WikiProject Cities: Difference between revisions
Appearance
Content deleted Content added
Funandtrvl (talk | contribs) fix |
Harryboyles (talk | contribs) adding module to check for unknown parameters; remove small parameter as it is obsolete |
||
Line 21: | Line 21: | ||
|COMMENTS_CAT = WikiProject Cities articles with comments |
|COMMENTS_CAT = WikiProject Cities articles with comments |
||
|note 1 = {{{needs-photo|{{{needs-image|{{{image-needed|{{{photo-needed|{{{image-requested|}}}}}}}}}}}}}}} |
|note 1 = {{{needs-photo|{{{needs-image|{{{image-needed|{{{photo-needed|{{{image-requested|}}}}}}}}}}}}}}} |
||
|NOTE_1_TEXT = It is requested that an '''image''' or '''images''' be [[Wikipedia:Uploading images|included]] in this {{pagetype|{{{class|}}}}} to [[Wikipedia:Article development|improve its quality]]. |
|NOTE_1_TEXT = It is requested that an '''image''' or '''images''' be [[Wikipedia:Uploading images|included]] in this {{pagetype|{{{class|}}}}} to [[Wikipedia:Article development|improve its quality]]. {{#if:{{{imagedetails|}}}| An editor suggests the following:<br/> |
||
⚫ | :'''{{{imagedetails|}}}''' }} <includeonly>{{#if:{{{in|}}}|[[Category:Wikipedia requested photographs in {{{in}}}|{{PAGENAME}}]]}}{{#if:{{{in2|}}}|[[Category:Wikipedia requested photographs in {{{in2}}}|{{PAGENAME}}]]}}{{#if:{{{in3|}}}|[[Category:Wikipedia requested photographs in {{{in3}}}|{{PAGENAME}}]]}}</includeonly> |
||
:{{{imagedetails|}}}}}|{{#if:{{{imagedetails|}}}| An editor suggests the following:<br/> |
|||
⚫ | :'''{{{imagedetails|}}}''' |
||
|NOTE_1_IMAGE = Camera-photo.svg |
|NOTE_1_IMAGE = Camera-photo.svg |
||
|NOTE_1_CAT = Wikipedia requested images of cities |
|NOTE_1_CAT = Wikipedia requested images of cities |
||
Line 94: | Line 93: | ||
|CAT_2 = Regional capital articles needing an infobox |
|CAT_2 = Regional capital articles needing an infobox |
||
}} |
}} |
||
}}{{#ifeq:{{{category|¬}}}|no||{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using WikiProject Cities with unknown parameters|_VALUE_]]<span class="error" style="display:none">HIDDEN ERROR: Usage of "_VALUE_" is not recognized</span>|preview=Page using [[Template:WikiProject Cities]] with unknown parameter "_VALUE_" | attention | capital | category | class | core | geocoord | geocoord-needed | geocoord-requested | image-needed | image-requested | imagedetails | in | in2 | in3 | listas | map | map-needed | map-requested | needs-attention | needs-geocoord | needs-image | needs-infobox | needs-map | needs-photo | photo-needed | regional_capital | unref }} }}<noinclude> |
|||
}}<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 02:00, 28 May 2023
Module:WikiProject banner/doc
This page is a soft redirect.
This template has been replaced by Module:WikiProject banner |
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
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
- 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.