Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Syntax  





1.2  Parameters  







2 TemplateData  





3 See also  














Template:Importance mask/doc: Difference between revisions







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Help
 

From Wikipedia, the free encyclopedia
 

< Template:Importance mask

Browse history interactively
 Previous edit
Content deleted Content added
→‎Usage: update
No edit summary
 
(18 intermediate revisions by 10 users not shown)
Line 1: Line 1:

{{Documentation subpage}}

{{Documentation subpage}}

<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->

<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

{{high-risk|5949000+}}



=== Usage ===

== Usage ==

This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.

This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.



The importances ''top'', ''high'', ''mid'', ''low'', ''bottom'', and ''no'' may be enabled or disabled. However ''NA'' and ''Unknown'' may not be disabled. The following parameters are used:

The importances ''top'', ''high'', ''mid'', ''low'', and ''bottom'' may be enabled or disabled. However ''NA'' and ''Unknown'' may not be disabled.



=== Syntax ===

Typically this template should be placed on the /importance subpage of a WikiProject banner template.

<pre>

{{importance mask<noinclude>/templatepage</noinclude>

|1={{{importance|}}}

|class={{{class|}}}

|top=

|high=

|mid=

|low=

|bottom=

}}

</pre>


===Parameters===

*<code>'''importance'''</code> ''(Required)'' this parameter must be passed as the first unnamed parameter in all cases.

*<code>'''class'''</code> ''(Required)'' &ndash; the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. {{nowrap|''Eg: '''<code><nowiki>class={{{class|}}}</nowiki></code>'''''}}

*<code>'''class'''</code> ''(Required)'' &ndash; the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. {{nowrap|''Eg: '''<code><nowiki>class={{{class|}}}</nowiki></code>'''''}}

*<code>'''importance'''</code> ''(Required)'' &ndash; the 'importance' parameter must be defined. {{nowrap|''Eg: '''<code><nowiki>importance={{{importance|}}}</nowiki></code>'''''}}

{{nowrap|''Eg: '''<code><nowiki>importance={{{importance|}}}</nowiki></code>'''''}}

*<code>'''top'''</code> &ndash; specifies whether ''Top-importance'' is used, defaults to "yes".

*<code>'''top'''</code> &ndash; specifies whether ''Top-importance'' is used, defaults to "yes".

*<code>'''high'''</code> &ndash; specifies whether ''High-importance'' is used, defaults to "yes".

*<code>'''high'''</code> &ndash; specifies whether ''High-importance'' is used, defaults to "yes".

Line 14: Line 31:

*<code>'''low'''</code> &ndash; specifies whether ''Low-importance'' is used, defaults to "yes".

*<code>'''low'''</code> &ndash; specifies whether ''Low-importance'' is used, defaults to "yes".

*<code>'''bottom'''</code> &ndash; specifies whether ''Bottom-importance'' is used, defaults to "no".

*<code>'''bottom'''</code> &ndash; specifies whether ''Bottom-importance'' is used, defaults to "no".

*<code>'''no'''</code> &ndash; specifies whether ''No-importance'' is used, defaults to "no".



=== See also ===

==TemplateData==

{{TemplateData header}}

<templatedata>

{

"description": "This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.",

"params": {

"1": {

"label": "Importance",

"description": "One of 'top', 'high', 'mid', 'low' or 'bottom', 'NA' or 'Unknown'",

"type": "string",

"required": true

},

"class": {

"label": "Class",

"description": "the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA.",

"type": "string",

"required": true

},

"top": {

"label": "Top importance",

"description": "specifies whether ''Top-importance'' is used, defaults to ''yes''",

"type": "string",

"required": false

},

"high": {

"label": "High importance",

"description": "specifies whether ''High-importance'' is used, defaults to ''yes''",

"type": "string",

"required": false

},

"mid": {

"label": "Mid importance",

"description": "specifies whether ''Mid-importance'' is used, defaults to ''yes''",

"type": "string",

"required": false

},

"low": {

"label": "Low importance",

"description": "specifies whether ''Low-importance'' is used, defaults to ''yes''",

"type": "string",

"required": false

},

"bottom": {

"label": "Bottom importance",

"description": "specifies whether ''Bottom-importance'' is used, defaults to ''no''",

"type": "string",

"required": false

}

}

}

</templatedata>


== See also ==

* [[Template:Class mask]]

* [[Template:Class mask]]



<includeonly>

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

<!-- Categories below this line, please; interwikis at Wikidata -->

<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

{{pp-template}}



</includeonly>

}}</includeonly>


Latest revision as of 18:56, 27 July 2016

Usage[edit]

This template is designed to be used by WikiProject banner templates to normalise the importance parameter.

The importances top, high, mid, low, and bottom may be enabled or disabled. However NA and Unknown may not be disabled.

Syntax[edit]

Typically this template should be placed on the /importance subpage of a WikiProject banner template.

{{importance mask<noinclude>/templatepage</noinclude>
|1={{{importance|}}}
|class={{{class|}}}
|top=
|high=
|mid=
|low=
|bottom=
}}

Parameters[edit]

Eg: importance={{{importance|}}}

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Importance mask in articles based on its TemplateData.

TemplateData for Importance mask

This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.

Template parameters

ParameterDescriptionTypeStatus
Importance1

One of 'top', 'high', 'mid', 'low' or 'bottom', 'NA' or 'Unknown'

Stringrequired
Classclass

the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA.

Stringrequired
Top importancetop

specifies whether ''Top-importance'' is used, defaults to ''yes''

Stringoptional
High importancehigh

specifies whether ''High-importance'' is used, defaults to ''yes''

Stringoptional
Mid importancemid

specifies whether ''Mid-importance'' is used, defaults to ''yes''

Stringoptional
Low importancelow

specifies whether ''Low-importance'' is used, defaults to ''yes''

Stringoptional
Bottom importancebottom

specifies whether ''Bottom-importance'' is used, defaults to ''no''

Stringoptional

See also[edit]



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Importance_mask/doc&oldid=731822308"

Hidden category: 
Template documentation pages
 



This page was last edited on 27 July 2016, at 18:56 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki