Difference between revisions of "Template:Importance/sandbox"
Jump to navigation
Jump to search
imported>MSGJ m (moved Template:Impor/sandbox to Template:Importance/sandbox: clearer name) |
imported>Redrose64 (sync from live version) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | <noinclude><table><tr></noinclude><!-- |
| + | |||
| + | --><td class="import import-{{lc:{{{1|}}}}} {{{class|}}}" style=" | ||
| + | text-align:center; | ||
| + | white-space:nowrap; | ||
| + | {{#ifeq:{{{bold|}}}|no||font-weight:bold;}} | ||
| + | background:{{Importance/colour| {{{1|}}} }}; | ||
| + | {{{style|}}}" {{{attr|}}}><!-- | ||
| + | |||
| + | --> [[:Category:<!-- | ||
| + | |||
| + | -->{{#switch:{{lc:{{{1|¬}}}}} | ||
| + | |na=NA | ||
| + | |unknown||¬=Unknown | ||
| + | |#default={{lc:{{{1}}}}} | ||
| + | }}-{{{impn|importance}}}<!-- | ||
| + | |||
| + | --> {{#if:{{{category|}}}|{{{category}}}|articles}}<!-- | ||
| + | |||
| + | -->|{{#switch:{{lc:{{{1|¬}}}}} | ||
| + | |na=NA | ||
| + | |unknown||¬=??? | ||
| + | |#default={{ucfirst:{{lc:{{{1}}}}}}} | ||
| + | }}]] <!-- | ||
| + | |||
| + | --></td><!-- | ||
| + | |||
| + | --><noinclude></tr></table> | ||
| + | |||
| + | {{Documentation}} | ||
| + | |||
| + | </noinclude> | ||
Revision as of 20:07, 12 October 2011
| ??? |
| This is the template sandbox page for Template:Importance (diff). See also the companion subpage for test cases. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
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=yesso that the cell is constructed using the<th>...</th>element. If used elsewhere than a header row, omit this parameter.
- By default the
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
- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
- {{Class/colour}}
- {{Class/icon}}
- Importance
- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}
- Hybrid
- Others
- {{Articles by Quality Pie Graph}}
- {{Articles by Importance Pie Graph}}
- {{Progression rainbow}}
- {{WikiProject assessment progression}}
- Tool to add multiple templates to quality assessment pages
{{WPBannerMeta/templatepage/qualheader |project =|topic =}}
| The above documentation is transcluded from Template:Importance/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |