Template:WikiProject Astronomy/doc: Difference between revisions
update /doc |
|||
(33 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
|||
{{high-use}} |
|||
==Usage== |
==Usage== |
||
Place any of the following on the talk page of related pages: <syntaxhighlight lang="wikitext">{{WikiProject Astronomy |class= |importance= }}</syntaxhighlight><syntaxhighlight lang="wikitext">{{WikiProject Astronomy |class= |importance= |object= |constellations= |cosmology= |solar_system= |eclipses= |moon= |mars= |jupiter= |attention= |needs-infobox= |needs-image= |listas= }}</syntaxhighlight><syntaxhighlight lang="wikitext">{{WikiProject Astronomy |
|||
To add an article to the list, simply add the template to the talk page of the article with the following parameters: |
|||
|class = |
|||
<pre> |
|||
|importance = |
|||
{{WPAstronomy |
|||
|object = |
|||
|class=XXX |
|||
|constellations = |
|||
|object=yes |
|||
|cosmology = |
|||
|astrophysics=yes |
|||
|solar_system = |
|||
}}</pre> |
|||
|eclipses = |
|||
|moon = |
|||
|mars = |
|||
|jupiter = |
|||
|attention = |
|||
|needs-infobox = |
|||
|needs-image = |
|||
|listas = |
|||
}}</syntaxhighlight> Unused parameters may be omitted. |
|||
===Optional parameters=== |
|||
* class: Options are FA, A, GA, B, Start, Stub, Cat, NA. If blank, this will default as Unassessed. Descriptions of the options can be found at [[Wikipedia:Version 1.0 Editorial Team/Assessment]]. NA is "not applicable". |
|||
{{WPBannerDoc/note|attention|NOTE_TEXT=if the page needs immediate attention. Please leave an explanatory note on the talk page about why this flag is set. |NOTE_CAT=Astronomy articles needing attention }} |
|||
* object: If the page is an [[astronomical object]], set this to yes. Otherwise, remove it. |
|||
{{WPBannerDoc|class|PROJECT=Astronomy |ASSESSMENT_LINK=Wikipedia:WikiProject_Astronomy/Importance_ratings |QUALITY_SCALE=subpage }} |
|||
* astrophysics: If the page also discusses physics, set this to yes. Otherwise, remove it. |
|||
{{WPBannerDoc/tf|constellations|TF_LINK=Wikipedia:WikiProject Astronomy/Constellations Task Force |TF_NAME=Constellations Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Constellations articles }} |
|||
* auto: This parameter is for the use of bots. It calls the {{[[Template:stubclass|stubclass]]}} template. |
|||
{{WPBannerDoc/tf|cosmology|TF_LINK=Wikipedia:WikiProject Astronomy/Cosmology Task Force |TF_NAME=Cosmology Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Cosmology articles }} |
|||
{{WPBannerDoc/tf|solar_system|TF_LINK=Wikipedia:WikiProject Astronomy/Solar System Task Force |TF_NAME=Solar System Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Solar System articles }} |
|||
{{WPBannerDoc/tf|eclipses|TF_LINK=Wikipedia:WikiProject Astronomy/Eclipses Task Force |TF_NAME=Eclipses Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Eclipses articles }} |
|||
{{WPBannerDoc/tf|moon|TF_LINK=Wikipedia:WikiProject Astronomy/Moon Task Force |TF_NAME=Moon Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Moon articles }} |
|||
{{WPBannerDoc/tf|mars|TF_LINK=Wikipedia:WikiProject Astronomy/Mars Task Force |TF_NAME=Mars Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Mars articles }} |
|||
{{WPBannerDoc/tf|jupiter|TF_LINK=Wikipedia:WikiProject Astronomy/Jupiter Task Force |TF_NAME=Jupiter Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Jupiter articles }} |
|||
{{WPBannerDoc|importance|PROJECT=Astronomy |ASSESSMENT_LINK=Wikipedia:WikiProject_Astronomy/Importance_ratings |IMPORTANCE_SCALE=subpage }} |
|||
{{WPBannerDoc|listas|first=Isaac|last=Newton}} |
|||
{{WPBannerDoc/note|needs-image|NOTE_TEXT=if an appropriate image needs to be added to the page, or the current one needs to be updated. |NOTE_CAT=Astronomy articles needing images }} |
|||
{{WPBannerDoc|needs-infobox|PROJECT=Astronomy |INFOBOX_CAT=Astronomy articles needing infoboxes }} |
|||
{{WPBannerDoc/tf|object|TF_LINK=Wikipedia:WikiProject Astronomical objects |TF_NAME=WikiProject Astronomical objects |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Astronomical objects articles |TF_MAIN_CAT=Pages within the scope of WikiProject Astronomical objects (WP Astronomy Banner) }} |
|||
{{WPBannerDoc|category}} |
|||
= |
==How to== |
||
⚫ | |||
== Tag a page == |
|||
⚫ | |||
Just add {{[[Template:WPAstronomy|WPAstronomy]]|class=}} to an article |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
hello |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<includeonly>{{Sandbox other|| |
|||
== Leave comments to explain the rating == |
|||
<!--Categories below here, please; interwikis to Wikidata.--> |
|||
If comments haven't already been left, then click on the red /Comments list and leave your comments on that page. If they have already been left, then un-hide the comments using the "Show" link on the right of the template, then click on the "edit" link. |
|||
[[Category:WikiProject Astronomy templates]] |
|||
[[Category:WikiProject Astronomy| ]] |
|||
⚫ | |||
}}</includeonly> |
|||
⚫ |
Latest revision as of 07:06, 27 August 2023
This is a documentation subpage for Template:WikiProject Astronomy. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 80,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]Place any of the following on the talk page of related pages:
{{WikiProject Astronomy |class= |importance= }}
{{WikiProject Astronomy |class= |importance= |object= |constellations= |cosmology= |solar_system= |eclipses= |moon= |mars= |jupiter= |attention= |needs-infobox= |needs-image= |listas= }}
{{WikiProject Astronomy
|class =
|importance =
|object =
|constellations =
|cosmology =
|solar_system =
|eclipses =
|moon =
|mars =
|jupiter =
|attention =
|needs-infobox =
|needs-image =
|listas =
}}
Unused parameters may be omitted.
Optional parameters
[edit]- attention – set
|attention=yes
if the page needs immediate attention. Please leave an explanatory note on the talk page about why this flag is set.- This parameter populates Category:Astronomy articles needing attention.
- 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. - constellations – set
|constellations=yes
if the article is supported by Constellations Task Force.- This parameter populates the relevant subcategory of Category:Constellations articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Constellations articles by quality based upon the
- cosmology – set
|cosmology=yes
if the article is supported by Cosmology Task Force.- This parameter populates the relevant subcategory of Category:Cosmology articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Cosmology articles by quality based upon the
- solar_system – set
|solar_system=yes
if the article is supported by Solar System Task Force.- This parameter populates the relevant subcategory of Category:Solar System articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Solar System articles by quality based upon the
- eclipses – set
|eclipses=yes
if the article is supported by Eclipses Task Force.- This parameter populates the relevant subcategory of Category:Eclipses articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Eclipses articles by quality based upon the
- moon – set
|moon=yes
if the article is supported by Moon Task Force.- This parameter populates the relevant subcategory of Category:Moon articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Moon articles by quality based upon the
- mars – set
|mars=yes
if the article is supported by Mars Task Force.- This parameter populates the relevant subcategory of Category:Mars articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Mars articles by quality based upon the
- jupiter – set
|jupiter=yes
if the article is supported by Jupiter Task Force.- This parameter populates the relevant subcategory of Category:Jupiter articles by quality based upon the
|class=
parameter.
- This parameter populates the relevant subcategory of Category:Jupiter articles by quality based upon the
- importance – valid values are listed in the custom importance mask. 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. - 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 Isaac Newton, use
|listas=Newton, Isaac
so that the talk page will show up in the N's and not the I'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. - needs-image – set
|needs-image=yes
if an appropriate image needs to be added to the page, or the current one needs to be updated.- This parameter populates Category:Astronomy articles needing images.
- 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:Astronomy articles needing infoboxes.
- object – set
|object=yes
if the article is supported by WikiProject Astronomical objects.- This parameter populates Category:Pages within the scope of WikiProject Astronomical objects (WP Astronomy Banner), and the relevant subcategory of Category:Astronomical objects articles by quality based upon the
|class=
parameter.
- This parameter populates Category:Pages within the scope of WikiProject Astronomical objects (WP Astronomy Banner), and the relevant subcategory of Category:Astronomical objects articles by quality based upon the
- 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.
How to
[edit]Rate an article with a class and importance
[edit]... that's already tagged with {{WikiProject Astronomy}}
[edit]Edit the talk page, change the class= and importance= parameters to the appropriate ratings or add |class= and |importance=, if not already present and save the page.
See above for available ratings. Please leave comments about how to improve the article on the talk page once you've rated the article.
... that isn't
[edit]Edit the talk page, add {{WikiProject Astronomy|class=|importance=}}
and change the class and importance parameters as appropriate before saving the page.
See above for available ratings. Please leave comments about how to improve the article on the talk page once you've rated the article.
Agree that the stub rating is appropriate where the page was auto-tagged
[edit]Remove the |auto=yes parameter from within {{WikiProject Astronomy}}
, such that the rating reads {{WikiProject Astronomy|class=Stub}}
.