Revision as of 03:36, 29 July 2007 view sourceJorfer (talk | contribs)Extended confirmed users13,877 edits Undid revision 147705818 by Jorfer (talk) opposition to image← Previous edit | Latest revision as of 14:39, 19 September 2023 view source WOSlinker (talk | contribs)Administrators856,713 edits update unknown param checking to builtin option | ||
(26 intermediate revisions by 21 users not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:WikiProject banner|main | |||
<noinclude> | |||
|PROJECT = Energy | |||
{{sprotected}} | |||
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | |||
</noinclude> | |||
|category={{{category|}}} | |||
{| class="{{#ifeq:{{lc:{{{nested|}}}}}|yes|collapsible collapsed messagebox nested-talk|{{#ifeq:{{lc:{{{small|}}}}}|yes|messagebox small-talk|messagebox standard-talk}}}}" | |||
|listas={{{listas|}}} | |||
|- | |||
|IMAGE_LEFT = Oil well icon.svg | |||
{{#ifeq:{{lc:{{{nested|}}}}}|yes| | |||
|QUALITY_SCALE = extended | |||
! colspan="2" style="text-align: center" {{!}} ]{{#if:{{{class|}}} | (Rated {{ucfirst:{{{class}}}}}-Class)|}} | |||
|class={{{class|}}} | |||
}} | |||
|auto={{{auto|}}} | |||
|- | |||
|importance={{{importance|}}} | |||
| align="center" valign="center" |]<!-- replace this image with Oil well.jpg (see discussion) --> | |||
|ASSESSMENT_CAT = energy articles | |||
|align="center"|{{#ifeq:{{{small|}}}|yes||{{portalpar|Energy|Crystal 128 energy.png}}}}This {{#switch:{{{class|}}} | |||
|ASSESSMENT_LINK = Misplaced Pages:WikiProject Energy/Assessment | |||
|NA|Na|na=page | |||
|PORTAL = Energy | |||
|CAT|Cat|cat=category | |||
|attention={{{attention|}}} | |||
|#default=article | |||
|ATTENTION_CAT = Energy articles needing attention | |||
}} is within the scope of ''''']''''', which collaborates on articles related to ]] | |||
|infobox={{{needs-infobox|}}} | |||
|- | |||
|INFOBOX_CAT = Energy articles needing infoboxes | |||
{{#switch:{{{class|}}} | |||
|note 1={{{needs-image|{{{needs-photo|}}}}}} | |||
|NA|Na|na= <!-- do nothing --> | |||
|NOTE_1_TEXT = This page has been marked as needing an ]. | |||
|CAT|Cat|cat= <!-- do nothing --> | |||
|NOTE_1_IMAGE = Gnome-dev-camera.svg | |||
|#default= | |||
|NOTE_1_CAT = Energy articles needing images | |||
{{!}} {{{{{class}}}-Class}} | |||
}}<noinclude> | |||
{{!}} colspan="2" {{!}} This article has been rated as {{{class}}}-Class on the ]. | |||
{{documentation}} | |||
|= | |||
{{!}} {{-Class}} | |||
{{!}} colspan="2" {{!}} This article has not yet received a rating on the ]. <small>]]</small> | |||
}} | |||
|- | |||
{{#switch:{{{importance|}}} | |||
|NA|Na|na= <!-- do nothing --> | |||
|CAT|Cat|cat= <!-- do nothing --> | |||
|#default= | |||
{{!}} {{{{{importance}}}-Importance}} | |||
{{!}} colspan="2" {{!}} This article is on a subject of {{{importance}}} ] within energy. | |||
|= | |||
{{!}} {{-Class}} | |||
{{!}} colspan="2" {{!}} This article has not yet received an ] within energy.</small> | |||
}} | |||
|- | |||
{{#ifeq:{{{attention|}}}|yes| | |||
{{!}} ] | |||
{{!}} colspan="2" {{!}} '''This {{#ifeq:{{{class|}}}|NA|non-article page|article}} has been marked as needing urgent attention.'''<includeonly>]</includeonly> | |||
{{!}}- | |||
}} | |||
{{#ifeq:{{{needs-infobox|}}}|yes| | |||
{{!}} ] | |||
{{!}} colspan="2" {{!}} ''An appropriate ''']''' needs to be added to this article, or the current infobox needs to be updated.''<br /> <small>Once this has been done, please remove {{]}}'s infobox=yes parameter from this talk page.</small> | |||
{{!}}- | |||
}} | |||
<!------------------- start of article grading comments section -------------------> | |||
{{#switch: {{{class|}}} <!-- this detects articles, rated or unrated (NOTE: could do this with a NAMESPACE test) --> | |||
| GA | ga | Ga | FA | Fa | fa | A | a | B | b | Start | start | Stub | stub |= | |||
{{!}}- | |||
{{!}}colspan="3" align="left" style="font-size: 80%;" {{!}} | |||
<div style="float:right"><small>]</small></div> | |||
{{#ifexist:{{FULLPAGENAME}}/Comments|<!-- THEN: Comments exist --> | |||
<div class="NavFrame" style="padding:0px; border-style: none;"> | |||
<div class="NavFrame" style="padding:0px; border-style: none;"> | |||
<div class="NavHead" style="background: #F8EABA; text-align: left; padding: 0px;">'''Comments:'''</div> | |||
<div class="NavContent" style="display: none; text-align: left; padding: 0px; background-color: white; border: 1px solid #c0c090; padding: 5px; margin-top: 5px;"> | |||
– – – | |||
{{{{FULLPAGENAME}}/Comments}} | |||
</div></div></div> | |||
] | |||
|<!-- ELSE: comments do not exist --> | |||
{{#ifeq: {{{class|}}}| | |||
|<!-- THEN: no comments AND no rating --> | |||
Please rate this article, and then leave comments ] to explain the ratings and/or to identify the strengths and weaknesses of the article. | |||
|<!-- ELSE: no comments but has rating --> | |||
This article has been rated but has no comments. If appropriate, please review the article and leave comments ] to <!--explain the ratings and/or to -->identify the strengths and weaknesses of the article and what work it will need. | |||
}}<!-- end if rating/no rating test --> | |||
}} | |||
}} | |||
<!------------------- end of comments section ----------------------------------------> | |||
|} | |||
<includeonly>{{#switch:{{{class|}}} | |||
|FA|fa|Fa=] | |||
|A|a=] | |||
|GA|ga=] | |||
|B|b=] | |||
|Start|start=] | |||
|Stub|stub=] | |||
|Dab|dab=] | |||
|Template|template=] | |||
|Cat|cat=] | |||
|Template|template|NA|Na|na= | |||
|=] | |||
|#default=] | |||
}} {{#switch:{{{class|}}}|Stub|stub={{#ifeq:{{{auto|}}}|yes|{{Stubclass | |||
|assessment=Misplaced Pages:Version 1.0 Editorial Team/Assessment|assessment scale | |||
|project=Misplaced Pages:WikiProject Energy{{!}}WikiProject Energy | |||
|template=Energy | |||
|category=Automatically assessed energy articles | |||
|remove={{]}}'s auto=yes parameter | |||
}} }} }} {{#switch:{{{importance|}}} | |||
|Top|top=] | |||
|High|high=] | |||
|Mid|mid=] | |||
|Low|low=] | |||
|Template|template|NA|Na|na= | |||
|#default=] | |||
}} {{#ifeq:{{{needs-infobox|}}}|yes|]}}</includeonly><noinclude> | |||
{{esoteric}} | |||
This template adds articles to ]. This template is a self-reference. Please add it to the article's talk page. | |||
<!-- include documentation --> | |||
{{Template doc}} | |||
] | |||
] | |||
] | |||
</noinclude> | </noinclude> |
Latest revision as of 14:39, 19 September 2023
Energy C‑class High‑importance | |||||||||||||||||||||||||||||||
|
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 27,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. |
This template adds articles to Category:WikiProject Energy articles. This template is a self-reference. Please add it to the article's talk page.
Usage
To add an article to the list, simply add the template to the talk page of the article with the following parameters:
{{WikiProject Energy |class= |importance= |needs-infobox= |attention= |needs-image= |listas= }}
Optional parameters
- 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:Energy articles needing attention.
- class – valid values are fa, a, ga, b, c, start, stub, fl, list, category, disambig, draft, file, portal, project, template, na (case-insensitive). 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. - importance – valid values are: top, high, mid, low, na (case-insensitive). 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 Albert Einstein, use
|listas=Einstein, Albert
so that the talk page will show up in the E's and not the A'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 Misplaced Pages: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
to mark the page as needing an image.- This parameter populates Category:Energy 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:Energy articles needing infoboxes.
- auto – This parameter is for the use of bots and indicates that the article has been automatically rated:
|auto=length
– based on the length of the article|auto=inherit
– because one or more other projects use this class|auto=yes
(or|auto=stub
), in conjunction with|class=stub
– as Stub-Class because it uses a stub template- Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed Energy articles.
- 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.
Aliases
- The parameter
|needs-photo=
is recognised as an alias for|needs-image=
. If both|needs-image=
and|needs-photo=
are present,|needs-photo=
is ignored.
How to
Tag a page
Just add {{WikiProject Energy|class=|importance=}}
to an article at the top of the talk (discussion) page.
Rate an article with a class
... that's already tagged with {{WikiProject Energy}}
Edit the talk page, change the |class=
parameter to the appropriate rating, or add |class=
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 Energy|class=|importance=}}
, and change the |class=
parameter 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.
Rate an article with an importance
... that's already tagged with {{WikiProject Energy}}
Edit the talk page, change the |importance=
parameter to the appropriate rating, or add |importance=
if not already present, and save the page.
See above for available ratings.
... that isn't
Edit the talk page, add {{WikiProject Energy|class=|importance=}}
, and change the |importance=
parameter as appropriate, and save the page.
See above for available ratings.
Agree that the stub rating is appropriate where the page was auto-tagged
Remove the |auto=yes
parameter from within {{WikiProject Energy}}
, such that the rating reads {{WikiProject Energy|class=stub|importance=}}
. Please also update the |importance=
parameter if appropriate.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: