Template:WikiProject Cities: Difference between revisions
Appearance
Content deleted Content added
Happy-melon (talk | contribs) update to use new nesting code |
m undoing as creates mess |
||
(36 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:WikiProject banner|main |
|||
<noinclude></noinclude><!-------------------- check if this template has been placed in the right place -------------------><includeonly>{{#ifeq: {{TALKSPACE}}|{{NAMESPACE}}||{{#ifeq: {{NAMESPACE}}|Wikipedia||{{{!}} class="messagebox plainlinks articletalkheader" |
|||
|PROJECT = Cities |
|||
{{!}}[[Image:Attention yellow.svg|80px]] |
|||
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> |
|||
{{!}}Warning: This template has been placed on a non talk page. '''This template should be placed on Talk pages ''only''.''' |
|||
|category={{{category|}}} |
|||
{{!}}} |
|||
|listas={{{listas|}}} |
|||
}}<!-- END inner ifeq (test for WP namespace, the one exception to the no non talkspace rule) -->}}<!-- END outer ifeq (test for placement not on talk page) --><!-- |
|||
|IMAGE_LEFT = Terrestrial globe.svg |
|||
------------------ end check of template placement ---------------------------------------------></includeonly> |
|||
|QUALITY_SCALE = extended |
|||
{| class="wpb collapsible innercollapse messagebox {{#ifeq:{{{small|}}}|yes|small-talk|standard-talk}}" |
|||
| |
|class={{{class|}}} |
||
|ASSESSMENT_CAT = WikiProject Cities articles |
|||
! colspan="2" style="text-align: center" {{!}} [[Wikipedia:WikiProject Cities|WikiProject Cities]]{{#if:{{{class|}}} | (Rated {{ucfirst:{{{class}}}}}-Class)|}} |
|||
|MAIN_ARTICLE = [[City|cities]], [[town]]s and various other [[human settlement|settlements]] |
|||
|- |
|||
|MAIN_CAT = All WikiProject Cities pages |
|||
|[[Image:Terrestrial globe.svg|{{#ifeq:{{{small|}}}|yes|40px|50px}}|]] |
|||
|PORTAL = Cities |
|||
|This article is supported by '''''[[Wikipedia:WikiProject Cities|WikiProject Cities]]''''', an attempt to build a comprehensive and detailed guide to [[cities]], [[town|towns]], and various other settlements on Wikipedia. For more information, or to get involved, visit the [[Wikipedia:WikiProject Cities|project page]]. |
|||
|attention={{{attention|{{{needs-attention|}}}}}} |
|||
| |
|||
|ATTENTION_CAT = WikiProject Cities articles needing attention |
|||
|- |
|||
|infobox={{{needs-infobox|}}} |
|||
{{#if:{{{class|}}}| {{#ifeq:{{{class|}}}|NA| |
|||
|INFOBOX_CAT = WikiProject Cities articles needing infoboxes |
|||
{{!}} {{{{{class}}}-Class}} |
|||
|image-needed={{{needs-image|{{{needs-photo|{{{image-needed|{{{photo-needed|{{{image-requested|}}}}}}}}}}}}}}} |
|||
{{!}} colspan="2" {{!}} This page is not an article and does not require a '''[[Wikipedia:WikiProject Cities/Assessment|rating]]''' on the [[Wikipedia:WikiProject Cities/Assessment#Quality scale|quality scale]]. |
|||
|image-details={{{imagedetails|}}} |
|||
| |
|||
|image-location={{{in|}}} |
|||
{{!}} {{{{{class}}}-Class}} |
|||
|IM_TOPIC_CATEGORY = Wikipedia requested images of cities |
|||
{{!}} colspan="2" {{!}} This article has been '''[[Wikipedia:WikiProject Cities/Assessment|rated]]''' as '''{{{class}}}-Class''' on the Project's [[Wikipedia:WikiProject Cities/Assessment#Quality scale|quality scale]]. {{#ifexist:{{FULLPAGENAME}}/Comments |
|||
|note 2={{{needs-map|{{{map-needed|{{{map-requested|{{{map|}}}}}}}}}}}} |
|||
|See [[{{FULLPAGENAME}}/Comments|comments]] for details. |
|||
|NOTE_2_TEXT = It is requested that an a '''map''' be [[Wikipedia:Uploading images|included]] in this _PAGETYPE_ to [[Wikipedia:Article development|improve its quality]].{{#if:{{{in|}}}|[[Category:Wikipedia requested maps in {{{in}}}]]}} |
|||
|<br><small>(If you rated the article please give a '''short''' summary at [[{{FULLPAGENAME}}/Comments|comments]] to explain the ratings and/or to identify the strengths and weaknesses.)</small>}}<!-- |
|||
|NOTE_2_IMAGE = Plano de Puerto Natales.png |
|||
-->}} |
|||
|NOTE_2_CAT = Wikipedia requested maps |
|||
| |
|||
|note 3={{{unref|}}} |
|||
{{!}} {{-Class}} |
|||
|NOTE_3_TEXT = This _PAGETYPE_ lacks sufficient [[Wikipedia:Citing sources|references]] and/or adequate [[Wikipedia:Citing sources#Footnotes|inline citations]]. |
|||
{{!}} colspan="2" {{!}} This article has not yet '''[[Wikipedia:WikiProject Cities/Assessment|received a rating]]''' on the Project's [[Wikipedia:WikiProject Cities/Assessment#Quality scale|quality scale]]. <!--If you are a member of the project, p-->Please rate the article and then leave a '''short''' summary [[{{FULLPAGENAME}}/Comments|here]] to explain the ratings and/or to identify the strengths and weaknesses of the article. |
|||
|NOTE_3_IMAGE = Diamond-caution.svg |
|||
}} |
|||
|NOTE_3_CAT = Articles lacking sources |
|||
|- |
|||
|note 4={{{needs-geocoord|{{{geocoord-needed|{{{geocoord-requested|{{{geocoord|}}}}}}}}}}}} |
|||
{{#ifeq:{{{class|}}}|NA|| {{#if:{{{importance|}}}| |
|||
|NOTE_4_TEXT = This _PAGETYPE_ lacks Geocoordinate data. Once the Geocoordinates data is added, please remove the {{para|needs-geocoord}} parameter from this template.{{#if:{{{in|}}}|[[Category:{{{in}}} articles missing geocoordinate data]]}} |
|||
{{!}} {{{{{importance}}}-Class}} |
|||
|NOTE_4_IMAGE = Blank_globe.svg |
|||
{{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} has been '''[[Wikipedia:WikiProject Cities#Assessment|rated]]''' as '''{{{importance}}}-importance''' on the [[Wikipedia:WikiProject_Cities/Assessment#Priority_scale|priority scale]]. |
|||
|NOTE_4_CAT = {{#if:{{{in|}}}{{{in2|}}}{{{in3|}}}||Unclassified articles missing geocoordinate data}} |
|||
| |
|||
|TF_SIZE = x50px |
|||
{{!}} style="color: gray;" {{-Class}} |
|||
|tf 1={{{core|}}} |
|||
{{!}} This article has not yet '''[[Wikipedia:WikiProject_Cities/Assessment#Priority_scale|been assigned a rating]]''' on the [[Wikipedia:Version 1.0 Editorial Team/Assessment|importance scale]]. |
|||
|TF_1_LINK = Wikipedia:WikiProject Cities/Core |
|||
}}}} |
|||
|TF_1_NAME = Core |
|||
|- |
|||
|TF_1_NESTED = Core |
|||
{{#ifeq:{{{class|}}}||| {{#if:{{{type|}}}| |
|||
|TF_1_TEXT = This _PAGETYPE_ is on the project's '''[[Wikipedia:WikiProject Cities/Core|core list]]'''. |
|||
{{!}} {{{{{type}}}-type}} |
|||
|TF_1_IMAGE = skyline.svg |
|||
{{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} is a {{{type}}}'''. |
|||
|TF_1_ASSESSMENT_CAT= WikiProject Cities core articles |
|||
}}}} |
|||
|TF_1_MAIN_CAT = WikiProject Cities core articles |
|||
|- |
|||
|tf 2={{{capital|}}} |
|||
{{#ifeq:{{{attention|}}}|yes| |
|||
|TF_2_LINK = Wikipedia:WikiProject Cities/National capitals |
|||
{{!}} [[Image:Diamond-caution.svg|20x20px|center]] |
|||
|TF_2_NAME = National capitals |
|||
{{!}} colspan="2" {{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} has been marked as needing immediate attention.<includeonly>[[Category:Cities articles needing attention|{{PAGENAME}}]]</includeonly> |
|||
|TF_2_NESTED = National capitals |
|||
}} |
|||
|TF_2_TEXT = This _PAGETYPE_ is supported by the project's '''[[Wikipedia:WikiProject Cities/National capitals|national capital taskforce]]'''. |
|||
|- |
|||
|TF_2_QUALITY = yes |
|||
{{#ifeq:{{{peer-review|}}}|yes| |
|||
|TF_2_IMAGE = US Capitol Building at night Jan 2006.jpg |
|||
{{!}} [[Image:Nuvola apps kedit.png|20px|center]] |
|||
|TF_2_ASSESSMENT_CAT= WikiProject Cities national capital articles |
|||
{{!}} colspan="2" {{!}} A '''[[Wikipedia:WikiProject Cities/Peer review/{{ARTICLESPACE}}{{PAGENAME}}|request has been made]]''' for this {{#ifeq:{{{class|}}}|NA|non-article page|article}} to be [[Wikipedia:WikiProject Cities/Peer review|peer reviewed]] by the [[Wikipedia:WikiProject Cities|Cities WikiProject]].<includeonly>[[Category:Requests for Cities peer review|{{PAGENAME}}]]</includeonly> |
|||
|TF_2_MAIN_CAT = WikiProject Cities national capital articles |
|||
}} |
|||
|tf 3={{{regional_capital|}}} |
|||
|- |
|||
|TF_3_LINK = Wikipedia:WikiProject Cities/Regional capitals |
|||
{{#ifeq:{{{old-peer-review|}}}|yes| |
|||
|TF_3_NAME = Regional capitals |
|||
{{!}} [[Image:Nuvola apps kedit.png|20px|center]] |
|||
|TF_3_NESTED = Regional capitals |
|||
{{!}} colspan="2" {{!}} This {{#ifeq:{{{class|}}}|NA|non-article page|article}} has had a [[Wikipedia:WikiProject Cities/Peer review|peer review]] by the [[Wikipedia:WikiProject Cities|Cities WikiProject]], which has now been '''[[Wikipedia:WikiProject Cities/Peer review/{{ARTICLESPACE}}{{PAGENAME}}|archived]]'''.<includeonly>[[Category:Old requests for WikiProject Cities peer review|{{PAGENAME}}]]</includeonly> |
|||
|TF_3_TEXT = This _PAGETYPE_ is supported by the project's '''[[Wikipedia:WikiProject Cities/Regional capitals|regional capital taskforce]]'''. |
|||
}} |
|||
|TF_3_QUALITY = yes |
|||
|}<includeonly> |
|||
|TF_3_IMAGE = Legislature128.png |
|||
{{#ifeq:{{{needs-infobox|}}}|yes| |
|||
|TF_3_ASSESSMENT_CAT= WikiProject Cities regional capital articles |
|||
|TF_3_MAIN_CAT = WikiProject Cities regional capital articles |
|||
}} |
|||
}}<noinclude> |
|||
{{#ifeq:{{{needs-infobox|}}}|Yes| |
|||
{{documentation}} |
|||
[[Category:WikiProject Cities articles needing infoboxes|{{PAGENAME}}]] |
|||
}}<!-- |
|||
-->{{#switch:{{{class}}} |
|||
|FA|Fa|fa=[[Category:FA-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|A|a=[[Category:A-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|GA|Ga|ga=[[Category:GA-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|B|b=[[Category:B-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|C|c=[[Category:C-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Start|start=[[Category:Start-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Stub|stub=[[Category:Stub-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
|List|list=[[Category:List-Class WikiProject Cities pages|{{PAGENAME}}]] |
|||
|Dab|dab=[[Category:Disambig-Class WikiProject Cities pages|{{PAGENAME}}]] |
|||
|Template|template=[[Category:Template-Class WikiProject Cities pages|{{PAGENAME}}]] |
|||
|Cat|cat=[[Category:Category-Class WikiProject Cities pages|{{PAGENAME}}]] |
|||
|Category|cat=[[Category:Category-Class WikiProject Cities pages|{{PAGENAME}}]] |
|||
|NA|Na|na=[[Category:Non-article WikiProject Cities pages|{{PAGENAME}}]] |
|||
|#default=[[Category:Unassessed-Class WikiProject Cities articles|{{PAGENAME}}]] |
|||
}}<!-- |
|||
-->{{#ifeq:{{{class|}}}|NA|| {{#switch:{{{priority}}} |
|||
|Top|top=[[Category:Top-priority WikiProject Cities articles|{{PAGENAME}}]] |
|||
|High|high=[[Category:High-priority WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Mid|mid=[[Category:Mid-priority WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Low|low=[[Category:Low-priority WikiProject Cities articles|{{PAGENAME}}]] |
|||
}}<!-- add to category if comments exist-->{{#ifexist:{{FULLPAGENAME}}/Comments |
|||
|<!-- THEN: Comments exist -->[[Category:WikiProject Cities articles with comments|{{PAGENAME}}]] |
|||
|<!-- ELSE: Comments do not exist -->}}<!-- |
|||
-->}} |
|||
{{#ifeq:{{{class|}}}|NA|| {{#switch:{{{importance}}} |
|||
|Top |
|||
|top=[[Category:Top-importance WikiProject Cities articles|{{PAGENAME}}]] |
|||
|High |
|||
|high=[[Category:High-importance WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Mid |
|||
|mid=[[Category:Mid-importance WikiProject Cities articles|{{PAGENAME}}]] |
|||
|Low |
|||
|low=[[Category:Low-importance WikiProject Cities articles|{{PAGENAME}}]] |
|||
|#default=[[Category:Unknown-importance WikiProject Cities articles|{{PAGENAME}}]] |
|||
}}<!-- add to category if comments exist-->{{#ifexist:{{FULLPAGENAME}}/Comments |
|||
|<!-- THEN: Comments exist -->[[Category:WikiProject Cities articles with comments|{{PAGENAME}}]] |
|||
|<!-- ELSE: Comments do not exist -->}}<!-- |
|||
-->}}</includeonly><noinclude> |
|||
{{esoteric}} |
|||
== Usage == |
|||
{{Wikipedia:WikiProject Cities/Project banner}} |
|||
[[Category:WikiProject Cities|{{PAGENAME}}]] |
|||
[[Category:WikiProject banners|Cities]] |
|||
[[Category:WikiProject Cities|Template]] |
|||
[[fr:Modèle:Wikiprojet Villes du monde]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 17:16, 5 December 2024
Cities: Core / National capitals / Regional capitals C‑class | |||||||||||||||||||||||||||||||||||||||||||
|
This WikiProject banner template uses Module:WikiProject banner, a meta-template for easily creating and maintaining project banners. Please report any errors or feature requests to Module talk:WikiProject banner. Information or warnings about the template are below:
|
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.