Difference between revisions of "Template:Importance/doc"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(→‎Usage: doc the |header= parameter; too many nowikis)
Line 7: Line 7:
 
==Usage==
 
==Usage==
  
*<tt><nowiki>{{importance|</nowiki>''grade''<nowiki>}}</nowiki></tt>
+
*<code><nowiki>{{importance|</nowiki>''grade''<nowiki>}}</nowiki></code>
 
*:Where ''grade'' is the classification of the article.
 
*:Where ''grade'' is the classification of the article.
*<tt><nowiki>{{importance|</nowiki>''grade''<nowiki>|category=</nowiki>''category''<nowiki>}}</nowiki></tt>
+
*<code><nowiki>{{importance|</nowiki>''grade''|category=''category''<nowiki>}}</nowiki></code>
 
*:Define an alternative category link.
 
*:Define an alternative category link.
*<tt><nowiki>{{importance|</nowiki>''grade''<nowiki>|impn=</nowiki>priority<nowiki>}}</nowiki></tt>
+
*<code><nowiki>{{importance|</nowiki>''grade''|impn=priority<nowiki>}}</nowiki></code>
 
*:Allows the template to be used with the priority scale.
 
*:Allows the template to be used with the priority scale.
 +
*<code><nowiki>{{</nowiki>importance|''grade''|header=yes<nowiki>}}</nowiki></code>
 +
*:By default the {{tlc|importance}} template generates a table cell using the {{tag|td}} element. If the template is used in the header row of a sortable table, use {{para|header|yes}} so that the cell is constructed using the {{tag|th}} element. If used elsewhere than a header row, omit this parameter.
  
 
===Examples===
 
===Examples===

Revision as of 11:02, 13 October 2011


This template is used to show WP1.0 assessment ratings on WikiProject banners and other places.

Usage

  • {{importance|grade}}
    Where grade is the classification of the article.
  • {{importance|grade|category=category}}
    Define an alternative category link.
  • {{importance|grade|impn=priority}}
    Allows the template to be used with the priority scale.
  • {{importance|grade|header=yes}}
    By default the {{importance}} template generates a table cell using the <td>...</td> element. If the template is used in the header row of a sortable table, use |header=yes so that the cell is constructed using the <th>...</th> element. If used elsewhere than a header row, omit this parameter.

Examples

Documentation coming soon

See also

Standard class types
{{class|FA}} {{class|FL}} {{class|FM}} {{class|A}}
{{class|GA}} {{class|B}} {{class|C}} {{class|Start}}
{{class|Stub}} {{class|List}} {{class|NA}} {{class|Unassessed}}
Non-standard class types
{{class|Current}} {{class|Future}} {{class|SIA}} {{class|Deferred}}
{{class|AL}} {{class|BL}} {{class|CL}} {{class|SL}}
{{class|Book}} {{class|Category}} {{class|Disambig}} {{class|Draft}}
{{class|File}} {{class|Merge}} {{class|Needed}} {{class|Portal}}
{{class|Project}} {{class|Redirect}} {{class|Template}} {{class|User}}
Importance types
 Top   High   Mid   Low 
{{importance|Top}} {{importance|High}} {{importance|Mid}} {{importance|Low}}
 Bottom   NA   ??? 
{{importance|Bottom}} {{importance|NA}} {{importance|Unknown}}
Class
Importance
Hybrid
Others
Tool to add multiple templates to quality assessment pages