Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Community portal
Encyc
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:WikiProject banner/doc
(section)
Module
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Alerts and notes=== Built into the module is the ability to display a number of other fields that contain useful information about the article. There are also three predefined fields for: # articles which have been [[WP:AUTOASSESS|automatically assessed]] by a bot (see [[#auto|above]]); # articles in need of immediate attention; # articles in need of an [[Wikipedia:Manual of Style/Infoboxes|infobox]]. The parameters are: *<code>'''attention'''</code> – pass this parameter through to enable the use of the attention note. {{nowrap|''Eg: '''<code><nowiki>attention={{{attention|}}}</nowiki></code>'''''}}, then by including <code><nowiki>|attention=yes</nowiki></code> on the talk page. **<code>'''ATTENTION_CAT'''</code> – if defined, all articles displaying the attention note will be categorised into [[:Category:ATTENTION_CAT|Category:<code>ATTENTION_CAT</code>]]. By default, they are categorised into [[:Category:PROJECT articles needing attention|Category:<code>PROJECT</code> articles needing attention]]. {{nowrap|''Eg: '''<code><nowiki>Floridiae taskforce articles needing attention</nowiki></code>''' β [[:Category:Floridiae taskforce articles needing attention]]''}}. A value of <code>none</code> results in no categorisation. *<code>'''infobox'''</code> – pass this parameter through to enable the use of the needs-infobox note. {{nowrap|''Eg: '''<code><nowiki>infobox={{{needs-infobox|}}}</nowiki></code>'''''}}, then by including <code><nowiki>|needs-infobox=yes</nowiki></code> on the talk page. **<code>'''INFOBOX_CAT'''</code> – if defined, all articles displaying the needs-infobox note will be categorised into [[:Category:INFOBOX_CAT|Category:<code>INFOBOX_CAT</code>]]. By default, they are categorised into [[:Category:PROJECT articles needing infoboxes|Category:<code>PROJECT</code> articles needing infoboxes]]. {{nowrap|''Eg: '''<code><nowiki>Floridiae taskforce articles needing infoboxes</nowiki></code>''' β [[:Category:Floridiae taskforce articles needing infoboxes]]''}}. A value of <code>none</code> results in no categorisation. *<code>'''note 1'''</code>– pass this parameter through to trigger any defined note. {{nowrap|''Eg: '''<code><nowiki>note 1={{{needs-photo|}}}</nowiki></code>'''''}}, then by including <code><nowiki>|needs-photo=yes</nowiki></code> on the talk page. **<code>'''NOTE_1_TEXT'''</code> – the text of note 1. ''E.g.: This page has been marked as needing a [[photograph]]''. If this is left blank there is no visual output. **<code>'''NOTE_1_IMAGE'''</code> – an image can be defined for each note. Remember that all images '''''must''''' be free, not fair-use. {{nowrap|''Eg: '''<code><nowiki>Gnome-dev-camera.svg</nowiki></code>'''''}} **<code>'''NOTE_1_CAT'''</code> – if defined, all articles displaying note 1 will be categorised into [[:Category:NOTE_1_CAT|Category:<code>NOTE_1_CAT</code>]]. {{nowrap|''Eg: '''<code><nowiki>Wikipedia requested photographs of Floridiae</nowiki></code>''' β [[:Category:Wikipedia requested photographs of Floridiae]]''}} *<code id=Collapsed>'''COLLAPSED'''</code> – when more than a threshold number of notes and alerts are triggered on a page, they are automagically collapsed into a show/hide box. The threshold number can be customised by setting this parameter to the maximum number of notes on a page that will ''not'' trigger the collapse. The default is 2, so if three notes are triggered on a page, they will not be collapsed, but if a fourth is also triggered, the collapse box appears. So setting {{para|COLLAPSED|0}} will ''always'' create a collapse box (if there are any notes to fill it), while {{para|COLLAPSED|999}} will never trigger a collapse box. {{nowrap|''Eg: '''<code><nowiki>6</nowiki></code>'''''}} **<code>'''COLLAPSED_HEAD'''</code> – the heading for the collapsed section; the default is ''More information:'' {{nowrap|''Eg: '''<code><nowiki>Additional information:</nowiki></code>'''''}} *<code>'''NOTE_SIZE'''</code> – the size of the image used for the icons. (It is recommended to precede the size with "x" as this specifies the height of the image instead of the width, which results in a neater banner because all rows have equal height.) The default is a height of 25px. {{nowrap|''Eg: '''<code><nowiki>x30px</nowiki></code>'''''}} ====Example==== {|style="background: none; width: 50%;" |<syntaxhighlight lang="wikitext" style="font-size: 100%"> {{#invoke:WikiProject banner|main |PROJECT = Tulips |substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> |listas={{{listas|}}} |IMAGE_LEFT = Tulipa suaveolens floriade to Canberra.jpg |QUALITY_SCALE = extended |class={{{class|}}} |ASSESSMENT_LINK = Wikipedia:WikiProject Tulips/Article grading |auto={{{auto|}}} |AUTO_ASSESS_CAT = |attention={{{attention|}}} |ATTENTION_CAT = |infobox={{{needs-infobox|}}} |INFOBOX_CAT = |note 1={{{needs-photo|}}} |NOTE_1_TEXT = This page has been marked as needing a [[photograph]]. |NOTE_1_IMAGE = Gnome-dev-camera.svg |NOTE_1_CAT = Wikipedia requested photographs of Floridiae |note 2 = {{{audio-file|}}} |NOTE_2_TEXT = An [[audio file format|audio file]] has been created of this article. |NOTE_2_IMAGE = Nuvola apps arts.svg |NOTE_2_CAT = Tulips articles with audio files }}</syntaxhighlight> |} :Produces: {{#invoke:WikiProject banner|main |PROJECT = Tulips |category=no |listas = {{{listas|}}} |IMAGE_LEFT = Tulipa suaveolens floriade to Canberra.jpg |QUALITY_SCALE = extended |class = stub |ASSESSMENT_LINK = Wikipedia:WikiProject Tulips/Article grading |auto=stub |attention=yes |infobox=yes |note 1=yes |NOTE_1_TEXT = This page has been marked as needing a [[photograph]]. |NOTE_1_IMAGE = Gnome-dev-camera.svg |note 2 = yes |NOTE_2_TEXT = An [[audio file format|audio file]] has been created of this article. |NOTE_2_IMAGE = Nuvola apps arts.svg }}
Summary:
Please note that all contributions to Encyc are considered to be released under the Creative Commons Attribution-Share Alike License (see
Encyc:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
This page is a member of a hidden category:
Category:Pages with script errors
Toggle limited content width