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  





2 Syntax  





3 Parameters  





4 Template data  



4.1  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  



Printable version
 
















Appearance
   

 





Help
 

From Wikipedia, the free encyclopedia
 

< Template:Importance mask

Browse history interactively
 Previous editNext edit 
Content deleted Content added
No edit summary
added templatedata
Line 29: Line 29:

*<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".


==Template data==

<templatedata>

{

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

"params": {

"importance": {

"label": "Importance",

"description": "This parameter must be passed as the first unnamed parameter",

"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 ===

=== See also ===


Revision as of 04:58, 30 June 2013

Usage

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

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

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

Template data

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

Template parameters

ParameterDescriptionTypeStatus
Importanceimportance

This parameter must be passed as the first unnamed parameter

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



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

Hidden category: 
Template documentation pages
 



This page was last edited on 30 June 2013, at 04:58 (UTC).

This version of the page has been revised. Besides normal editing, the reason for revision may have been that this version contains factual inaccuracies, vandalism, or material not compatible with the Creative Commons Attribution-ShareAlike License.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki