|
|
Line 1: |
Line 1: |
| {{todo}}
| |
| {{TOCright}} | | {{TOCright}} |
|
| |
| ==Experimental Weight Boxes==
| |
|
| |
| <!--
| |
|
| |
| BG Frame Grey Frame
| |
| s6 b100 s38 b100 s20 b80
| |
| h240 blue #efefff #9F9FFF #A3A3CC
| |
| h0 light red #ffefef #FF9F9F #CCA3A3
| |
| h60 yellow #ffffef #FFFF9E #CCCCA3
| |
| h120 green #efffef #9EFF9E #A3CCA3
| |
| -->
| |
|
| |
|
| |
| ===Detailed weighing of Category with explicit descriptions===
| |
| :{| style="background:#FAF0FF; border:1px solid #DFC8EC; font-size: 90%;"
| |
| | style="background:black; padding:2px;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt> </tt></span>
| |
| | style="padding:2px;" | ''Level 0 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>+ </tt></span>
| |
| | style="padding:2px;" | ''Level 1 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>* </tt></span>
| |
| | style="padding:2px;" | ''Level 2 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>*+ </tt></span>
| |
| | style="padding:2px;" | ''Level 3 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>** </tt></span>
| |
| | style="padding:2px;" | ''Level 4 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>**+</tt></span>
| |
| | style="padding:2px;" | ''Level 5 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>***</tt></span>
| |
| | style="padding:2px;" | ''Level 6 does this and that.''
| |
| |-
| |
| |}
| |
|
| |
|
| |
| :{| style="background:#efefff; border:1px solid #A3A3CC; font-size: 90%;"
| |
| | style="background:black; padding:2px;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt> </tt></span>
| |
| | style="padding:2px;" | ''Level 0 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>+ </tt></span>
| |
| | style="padding:2px;" | ''Level 1 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>* </tt></span>
| |
| | style="padding:2px;" | ''Level 2 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>*+ </tt></span>
| |
| | style="padding:2px;" | ''Level 3 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>** </tt></span>
| |
| | style="padding:2px;" | ''Level 4 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>**+</tt></span>
| |
| | style="padding:2px;" | ''Level 5 does this and that.''
| |
| |-
| |
| | style="" |
| |
| | style="background:#A3A3CC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>***</tt></span>
| |
| | style="padding:2px;" | ''Level 6 does this and that.''
| |
| |-
| |
| |}
| |
|
| |
|
| |
|
| |
| ===Case: on/off only===
| |
| Certain categories will either be set to <tt>***</tt> or not set at all. There are no intermediate weights!
| |
|
| |
| :{| style="background:#FAF0FF; border:1px solid #DFC8EC; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt> <br>or ***</tt></span>
| |
| | style="padding:2px;" | ''If applicable this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!''
| |
| |}
| |
|
| |
| Probably better alternative table layout:
| |
|
| |
| :{| style="background:#ffefef; border:1px solid #CCA3A3; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#CCA3A3; padding:2px;" | <span style="color:black; font-weight:bold;"><tt> or ***</tt></span>
| |
| |-
| |
| | style="padding:2px;" colspan="2" | ''If applicable this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!''
| |
| |}
| |
|
| |
| :{| style="background:#ffefef; border:1px solid #CCA3A3; width:180px; font-size:90%;"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#CCA3A3; padding:2px;" | <span style="color:black; font-weight:bold;"><tt> or ***</tt></span>
| |
| |-
| |
| | style="padding:2px; text-align:center;" colspan="2" | ''If applicable this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!''
| |
| |}
| |
|
| |
| ===Case: + to *** range dependant on occurrence amount===
| |
| Most categories are weighted <tt>+</tt> to <tt>***</tt>. This solely depends on '''how often''' the category occurs in the anime.
| |
|
| |
| :{| style="background:#FAF0FF; border:1px solid #DFC8EC; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#DFC8EC; padding:2px;" | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| | style="padding:2px;" | ''If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.''
| |
| |}
| |
|
| |
| Probably better alternative table layout:
| |
|
| |
| :{| style="background:#efffef; border:1px solid #A3CCA3; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#A3CCA3; padding:2px; text-align:center;" | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| |-
| |
| | style="padding:2px;" colspan="2" | ''If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.''
| |
| |}
| |
|
| |
| :{| style="background:#efffef; border:1px solid #A3CCA3; width:180px; font-size:90%;"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#A3CCA3; padding:2px; text-align:center;" | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| |-
| |
| | style="padding:2px; text-align:center;" colspan="2" | ''If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.''
| |
| |}
| |
|
| |
| ===Case: + to *** range dependant worst case===
| |
| Some categories like the Content Indicators are weighted not by the occurrence amount, but by the '''worst case''' in the anime, e.g. the most violent scene defined the weight. Range of weights is <tt>+</tt> to <tt>***</tt>.
| |
|
| |
| :{| style="background:#FAF0FF; border:1px solid #DFC8EC; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#DFC8EC; padding:2px; " | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| | style="padding:2px;" | ''If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of category occurrence in the anime.''
| |
| |}
| |
|
| |
| Probably better alternative table layout:
| |
|
| |
| :{| style="background:#ffffef; border:1px solid #CCCCA3; width:300px"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#CCCCA3; padding:2px; text-align:center;" | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| |-
| |
| | style="padding:2px;" colspan="2" | ''If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of category occurrence in the anime.''
| |
| |}
| |
|
| |
| :{| style="background:#ffffef; border:1px solid #CCCCA3; width:180px; font-size:90%;"
| |
| | style="background:black; padding:2px; text-align:center;" | <span style="color:white; font-weight:bold;">Category Weight</span>
| |
| | style="background:#CCCCA3; padding:2px; text-align:center;" | <span style="color:black; font-weight:bold;"><tt>+ to ***</tt></span>
| |
| |-
| |
| | style="padding:2px; text-align:center;" colspan="2" | ''If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (exces- sive) describing the '''worst case''' of category occurrence in the anime.''
| |
| |}
| |
|
| |
|
| ==Documentation for this template== | | ==Documentation for this template== |
Line 175: |
Line 20: |
| '''<text>''' = The descriptive text for that weight level. | | '''<text>''' = The descriptive text for that weight level. |
| {{eyecatch|1|Note|Only the '''<#>''' values '''1''' to '''6''' are actually checked, any '''other values''' (e.g. 0 or abc) yield '''no indentation''' at all, and are treated the same as <tt><nowiki>{{eyecatch|info|text}}</nowiki></tt>!}} | | {{eyecatch|1|Note|Only the '''<#>''' values '''1''' to '''6''' are actually checked, any '''other values''' (e.g. 0 or abc) yield '''no indentation''' at all, and are treated the same as <tt><nowiki>{{eyecatch|info|text}}</nowiki></tt>!}} |
| | |
|
| |
|
| ==Examples== | | ==Examples== |
Line 203: |
Line 49: |
| <nowiki>{{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is ...}}</nowiki> | | <nowiki>{{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is ...}}</nowiki> |
| {{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is '''not''' word-wrapped.}} | | {{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is '''not''' word-wrapped.}} |
| | |
| | |
| | ==Test the Code== |
| | Should more code testing be required see the [[Template:CatWeight/Test Code]] page. |