Difference between revisions of "Template:SubRating"

From Imagico.de TagDoc
Jump to navigation Jump to search
(More intuitive symbols)
(Improving links and categories)
 
Line 1: Line 1:
<includeonly>{{#switch: {{{2}}}
<includeonly>{{#switch: {{{2}}}
  | excellent =  
  | excellent =  
     <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-excellent">[[:Category:Tags with excellent {{{1}}}|🞼]]</td>
     <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 tagdoc-ibox-col-subrating 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 tagdoc-ibox-col-subrating tagdoc-rating-moderate">[[:Category:Tags with excellent {{{1}}}|~]]</td>
     <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 tagdoc-ibox-col-subrating 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 tagdoc-ibox-col-subrating 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 tagdoc-ibox-col-subrating tagdoc-rating-none">྾</td>
  | none = <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-none">྾</td>
  | #default = <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-invalid">xx</td>
  | #default = <td class="tagdoc-rating tagdoc-ibox-col-subrating tagdoc-rating-invalid">xx</td>

Latest revision as of 13:50, 4 March 2022

Template to display a qualitative rating per geometry type in a tag page info box. Like:

🞼 + xx