Difference between revisions of "Template:SubRating"

From Imagico.de TagDoc
Jump to navigation Jump to search
(Creating tag subrating template)
 
(Adjusting styling classes)
Line 1: Line 1:
<includeonly>{{#switch: {{{2}}}
<includeonly>{{#switch: {{{2}}}
  | excellent =  
  | excellent =  
     <td class="tagdoc-rating-excellent">[[:Category:Tags with excellent {{{1}}}|⊕]]</td>
     <td class="tagdoc-rating tagdoc-rating-excellent">[[:Category:Tags with excellent {{{1}}}|⊕]]</td>
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with excellent {{{1}}}]]}}
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with excellent {{{1}}}]]}}
  | good =
  | good =
     <td class="tagdoc-rating-good">[[:Category:Tags with excellent {{{1}}}|+]]</td>
     <td class="tagdoc-rating tagdoc-rating-good">[[:Category:Tags with excellent {{{1}}}|+]]</td>
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with good {{{1}}}]]}}
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with good {{{1}}}]]}}
  | moderate =
  | moderate =
     <td class="tagdoc-rating-moderate">[[:Category:Tags with excellent {{{1}}}|⊙]]</td>
     <td class="tagdoc-rating tagdoc-rating-moderate">[[:Category:Tags with excellent {{{1}}}|⊙]]</td>
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with moderate {{{1}}}]]}}
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with moderate {{{1}}}]]}}
  | bad =
  | bad =
     <td class="tagdoc-rating-bad">[[:Category:Tags with excellent {{{1}}}|−]]</td>
     <td class="tagdoc-rating tagdoc-rating-bad">[[:Category:Tags with excellent {{{1}}}|−]]</td>
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with bad {{{1}}}]]}}
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with bad {{{1}}}]]}}
  | very bad =
  | very bad =
     <td class="tagdoc-rating-verybad">[[:Category:Tags with excellent {{{1}}}|⊖]]</td>
     <td class="tagdoc-rating tagdoc-rating-verybad">[[:Category:Tags with excellent {{{1}}}|⊖]]</td>
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with very bad {{{1}}}]]}}
     {{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Tags with very bad {{{1}}}]]}}
  | none = <td class="tagdoc-rating-none">⨉</td>
  | none = <td class="tagdoc-rating tagdoc-rating-none">⨉</td>
  | #default = <td class="tagdoc-rating-invalid">xx</td>
  | #default = <td class="tagdoc-rating 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:

Revision as of 16:40, 28 January 2022

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

+ xx