Difference between revisions of "Template:Importance mask/templatepage"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(rmv irrelevant)
imported>Redrose64
(sortkey)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#ifeq:{{{importance|¬}}}|¬|{{ombox
+
{{#ifeq:{{{1|¬}}}|¬|{{ombox
 
   |type=content
 
   |type=content
 
   |text=It appears that the ''importance'' parameter is not being passed to this template. Please add {{para|1|<nowiki>{{{importance|}}}</nowiki>}}
 
   |text=It appears that the ''importance'' parameter is not being passed to this template. Please add {{para|1|<nowiki>{{{importance|}}}</nowiki>}}
Line 11: Line 11:
 
}}<!--
 
}}<!--
  
-->{{documentation|1=Template:Class mask/table|content=This page holds the custom importance mask for the [[Template:{{BASEPAGENAME}}]]. It uses {{tl|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.
+
-->{{documentation|1=Template:Importance mask/templatepage|content=This page holds the custom importance mask for the [[Template:{{BASEPAGENAME}}]]. It uses {{tl|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 ===
 
=== Classification based on ''importance'' parameter ===
 
<table class="wikitable">
 
<table class="wikitable">
<tr><th>Input</br>(not case-specific)</th><th>Icon</th><th>Class</th><th>Category</th><th>Population</th></tr>
+
<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

50px Template documentation[view] [edit] [history] [purge]

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 / priorityCategoryPopulation
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.