Difference between revisions of "Template:SubRating"
Jump to navigation
Jump to search
(Creating tag subrating template) |
(Improving links and categories) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{{2}}} | <includeonly>{{#switch: {{{2}}} | ||
| excellent = | | excellent = | ||
<td class="tagdoc-rating-excellent">[[:Category:Tags with excellent {{{1}}}| | <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-excellent">[[:Category:Tags with excellent {{lc:{{{1}}}}}|🞼]]</td> | ||
{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with excellent {{{1}}}]]}} | {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with excellent {{lc:{{{1}}}}}]]}} | ||
| good = | | good = | ||
<td class="tagdoc-rating-good">[[:Category:Tags with excellent {{{1}}}|+]]</td> | <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-good">[[:Category:Tags with excellent {{lc:{{{1}}}}}|+]]</td> | ||
{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with good {{{1}}}]]}} | {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with good {{lc:{{{1}}}}}]]}} | ||
| moderate = | | moderate = | ||
<td class="tagdoc-rating-moderate">[[:Category:Tags with excellent {{{1}}}| | <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-moderate">[[:Category:Tags with excellent {{lc:{{{1}}}}}|~]]</td> | ||
{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with moderate {{{1}}}]]}} | {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with moderate {{lc:{{{1}}}}}]]}} | ||
| bad = | | bad = | ||
<td class="tagdoc-rating-bad">[[:Category:Tags with excellent {{{1}}}|−]]</td> | <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-bad">[[:Category:Tags with excellent {{lc:{{{1}}}}}|−]]</td> | ||
{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with bad {{{1}}}]]}} | {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with bad {{lc:{{{1}}}}}]]}} | ||
| very bad = | | very bad = | ||
<td class="tagdoc-rating-verybad">[[:Category:Tags with excellent {{{1}}}|⊖]]</td> | <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-verybad">[[:Category:Tags with excellent {{lc:{{{1}}}}}|⊖]]</td> | ||
{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with very bad {{{1}}}]]}} | {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with very bad {{lc:{{{1}}}}}]]}} | ||
| none = <td class="tagdoc-rating-none"> | | none = <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-none">྾</td> | ||
| #default = <td class="tagdoc-rating-invalid">xx</td> | | #default = <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-invalid">xx</td> | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>Template to display a qualitative rating per geometry type in a tag page info box. Like: | <noinclude>Template to display a qualitative rating per geometry type in a tag page info box. Like: |