Difference between revisions of "Template:Importance mask/templatepage"
Jump to navigation
Jump to search
imported>MSGJ (fix) |
imported>Redrose64 (sortkey) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 15: | Line 15: | ||
=== Classification based on ''importance'' parameter === | === Classification based on ''importance'' parameter === | ||
<table class="wikitable"> | <table class="wikitable"> | ||
| − | <tr><th>Input</ | + | <tr><th>Input<br />(not case-specific)</th><th>Importance / priority</th><th>Category</th><th>Population</th></tr> |
| − | {{importance mask/row|Top|trigger={{{top|yes}}}|topic={{{topic|}}} | + | {{importance mask/row|Top|trigger={{{top|yes}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|High|trigger={{{high|yes}}}|topic={{{topic|}}} | + | }}{{importance mask/row|High|trigger={{{high|yes}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|Mid|trigger={{{mid|yes}}}|topic={{{topic|}}} | + | }}{{importance mask/row|Mid|trigger={{{mid|yes}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|Low|trigger={{{low|yes}}}|topic={{{topic|}}} | + | }}{{importance mask/row|Low|trigger={{{low|yes}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|Bottom|trigger={{{bottom}}}|topic={{{topic|}}} | + | }}{{importance mask/row|Bottom|trigger={{{bottom}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|No|trigger={{{no}}}|topic={{{topic|}}} | + | }}{{importance mask/row|No|trigger={{{no}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| − | }}{{importance mask/row|NA|topic={{{topic|}}} | + | }}{{importance mask/row|Related|trigger={{{related}}}|topic={{{topic|}}}|articles={{{articles|}}} |
| + | }}{{importance mask/row|NA|topic={{{topic|}}}|articles={{{articles|}}} | ||
}}</table> | }}</table> | ||
| Line 28: | Line 29: | ||
In addition, if ''importance'' is empty, undefined or unrecognized and the namespace is a non-article talk space, then the importance will default to NA. | In addition, if ''importance'' is empty, undefined or unrecognized and the namespace is a non-article talk space, then the importance will default to NA. | ||
| − | In all other circumstances, the importance of articles will be marked as ''Unknown'' and placed in [[:Category:Unknown-importance {{{topic|}}} articles]]. | + | In all other circumstances, the importance of articles will be marked as ''Unknown'' and placed in [[:Category:Unknown-importance {{{topic|}}} {{{articles|articles}}}]]. |
| − | }} | + | }}<includeonly>[[Category:Custom importance masks of WikiProject banners|{{{topic|{{PAGENAME}}}}}]]</includeonly> |
Latest revision as of 18:20, 30 June 2020
| File:OOjs UI icon notice-warning.svg | It appears that the importance parameter is not being passed to this template. Please add |1={{{importance|}}} |
| File:OOjs UI icon notice-warning.svg | In order for this documentation to relate specifically to the WikiProject, please define the |topic= parameter. |
This page holds the custom importance mask for the Template:Importance mask. It uses {{importance mask}}, a template for constructing importance masks according to individual WikiProjects' wishes. The following table shows the output of the mask, with the current parameter definitions, for different inputs and namespaces.
Classification based on importance parameter
| Input (not case-specific) | Importance / priority | Category | Population |
|---|---|---|---|
| top | Top | Category:Top-importance articles | 1 |
| high | High | Category:High-importance articles | 1 |
| mid | Mid | Category:Mid-importance articles | 1 |
| low | Low | Category:Low-importance articles | 1 |
| na | NA | Category:NA-importance articles | 1 |
Classification based on namespace
In addition, if importance is empty, undefined or unrecognized and the namespace is a non-article talk space, then the importance will default to NA.
In all other circumstances, the importance of articles will be marked as Unknown and placed in Category:Unknown-importance articles.
| The above documentation is transcluded from Template:Importance mask/templatepage. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |