Jump to content

Template:WikiProject Astronomy/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Usage: document all recognised parameters
update /doc
 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{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 {{tnull|WikiProject Astronomy|2=class=|3=importance=}} to the talk page of the article, along with the following parameters:
|class =
<pre>
|importance =
{{WikiProject Astronomy|class=XXX
|object =
|importance=YYY
|constellations =
|object=yes
|cosmology =
|attention=yes
|solar_system =
|infobox=yes
|eclipses =
|needs-image=yes
|moon =
}}</pre>
|mars =
|jupiter =
|attention =
|needs-infobox =
|needs-image =
|listas =
}}</syntaxhighlight> Unused parameters may be omitted.


===Optional parameters===
*'''attention''' – set {{para|attention|yes}} if the article requires immediate expert attention.
**<small>This parameter places the page in [[:Category:Astronomy articles needing attention]].</small>
{{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 }}
{{WPBannerDoc|class|PROJECT=Astronomy |ASSESSMENT_LINK=Wikipedia:WikiProject_Astronomy/Importance_ratings |QUALITY_SCALE=subpage }}
* '''class''': Options are FA, A, GA, B, C, 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".
*'''constellations''' – set {{para|constellations|yes}} if this article is supported by the [[Wikipedia:WikiProject Astronomy/Constellations Task Force|Constellations taskforce]].
{{WPBannerDoc/tf|constellations|TF_LINK=Wikipedia:WikiProject Astronomy/Constellations Task Force |TF_NAME=Constellations Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Constellations articles }}
{{WPBannerDoc/tf|cosmology|TF_LINK=Wikipedia:WikiProject Astronomy/Cosmology Task Force |TF_NAME=Cosmology Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Cosmology articles }}
* '''importance''': Options are Top, High, Mid, Low and NA. If blank, this will default as ???. The guidelines are listed at [[Wikipedia:WikiProject Astronomy/Importance ratings]].
{{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 }}
*'''infobox''' – set {{para|infobox|yes}} if the article needs an infobox.
{{WPBannerDoc/tf|eclipses|TF_LINK=Wikipedia:WikiProject Astronomy/Eclipses Task Force |TF_NAME=Eclipses Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Eclipses articles }}
**<small>This parameter places the page in [[:Category:Astronomy articles needing infoboxes]].</small>
{{WPBannerDoc/tf|moon|TF_LINK=Wikipedia:WikiProject Astronomy/Moon Task Force |TF_NAME=Moon Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Moon articles }}
*'''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, {{para|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]].<br />It is not required if an earlier WikiProject template on the same page has its own {{para|listas}} set.
{{WPBannerDoc/tf|mars|TF_LINK=Wikipedia:WikiProject Astronomy/Mars Task Force |TF_NAME=Mars Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Mars articles }}
*'''needs-image''' – set {{para|needs-image|yes}} if the article needs an image.
{{WPBannerDoc/tf|jupiter|TF_LINK=Wikipedia:WikiProject Astronomy/Jupiter Task Force |TF_NAME=Jupiter Task Force |TF_QUALITY=yes |TF_ASSESSMENT_CAT=Jupiter articles }}
**<small>This parameter places the page in [[:Category:Astronomy articles needing images]].</small>
{{WPBannerDoc|importance|PROJECT=Astronomy |ASSESSMENT_LINK=Wikipedia:WikiProject_Astronomy/Importance_ratings |IMPORTANCE_SCALE=subpage }}
* '''object''': If the page is an [[astronomical object]], set this to yes. Otherwise, remove it.
{{WPBannerDoc|listas|first=Isaac|last=Newton}}
*'''small''' – set {{para|small|yes}} to display a small version of the template aligned along the right side of the page (as opposed to at the top).
{{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 }}
* '''auto''': This parameter is for the use of bots. It calls the {{tnull|stubclass}} template.
{{WPBannerDoc|needs-infobox|PROJECT=Astronomy |INFOBOX_CAT=Astronomy articles needing infoboxes }}
*'''category''' – set {{para|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.
{{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==
==How to==
Line 31: Line 41:
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.
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 /Comments page linked to in the template once you've rated the article.
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====
====... that isn't====
Edit the talk page, add {{tnull|WikiProject Astronomy|2=class=|3=importance=}} and change the class and importance parameters as appropriate before saving the page.
Edit the talk page, add {{tnull|WikiProject Astronomy|2=class=|3=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 /Comments page linked to in the template once you've rated the article.
See above for available ratings. Please leave comments about how to improve the article on the talk page once you've rated the article.

===Leave comments to explain the rating===
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.


===Agree that the stub rating is appropriate where the page was auto-tagged===
===Agree that the stub rating is appropriate where the page was auto-tagged===
Remove the |auto=yes parameter from within {{tnull|WikiProject Astronomy}}, such that the rating reads {{tnull|WikiProject Astronomy|2=class=Stub}}.
Remove the |auto=yes parameter from within {{tnull|WikiProject Astronomy}}, such that the rating reads {{tnull|WikiProject Astronomy|2=class=Stub}}.


<includeonly>
<includeonly>{{Sandbox other||
<!--Categories below here, please; interwikis to Wikidata.-->
[[Category:Astronomy templates|ω]]
[[Category:WikiProject Astronomy templates]]
[[Category:WikiProject Astronomy| ]]
[[Category:WikiProject Astronomy| ]]
</includeonly>
}}</includeonly>

Latest revision as of 07:06, 27 August 2023

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]

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}}.