Template:WikiProject Astronomy/doc: Difference between revisions
m →Agree that the stub rating is appropriate where the page was auto-tagged: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
change source to syntaxhighlight |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
==Usage== |
==Usage== |
||
Place any of the following on the talk page of related pages: < |
Place any of the following on the talk page of related pages: <syntaxhighlight lang=moin>{{WikiProject Astronomy |class= |importance= }}</syntaxhighlight><syntaxhighlight lang=moin>{{WikiProject Astronomy |class= |importance= |object= |constellations= |cosmology= |attention= |needs-infobox= |needs-image= |small= |listas= }}</syntaxhighlight><syntaxhighlight lang=moin>{{WikiProject Astronomy |
||
|class = |
|class = |
||
|importance = |
|importance = |
||
Line 12: | Line 12: | ||
|small = |
|small = |
||
|listas = |
|listas = |
||
}}</ |
}}</syntaxhighlight> Unused parameters may be omitted. |
||
===Optional parameters=== |
===Optional parameters=== |
Revision as of 10:16, 7 July 2020
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. |
Usage
Place any of the following on the talk page of related pages:
{{WikiProject Astronomy |class= |importance= }}
{{WikiProject Astronomy |class= |importance= |object= |constellations= |cosmology= |attention= |needs-infobox= |needs-image= |small= |listas= }}
{{WikiProject Astronomy
|class =
|importance =
|object =
|constellations =
|cosmology =
|attention =
|needs-infobox =
|needs-image =
|small =
|listas =
}}
Unused parameters may be omitted.
Optional parameters
- attention – set
|attention=yes
if the page needs immediate attention.- 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
- 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
- small – this parameter is no longer supported and can safely be removed from the template.
- 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
Rate an article with a class and importance
... that's already tagged with {{WikiProject Astronomy}}
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 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
Remove the |auto=yes parameter from within {{WikiProject Astronomy}}
, such that the rating reads {{WikiProject Astronomy|class=Stub}}
.