Template:CatWeightTable/doc: Difference between revisions

m
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


(still testing all this!)
This template lets you create a category weight table with one to six rows, letting the user go into as much ranking detail as he chooses.
{{eyecatch|1|Features|Indentation, colour, one to six text rows.}}


==Examples==
==Syntax==
{{CatWeightTable|1|blue|1|Level 1 does this and that.}}
The template can have '''4''' to '''14 parameters''':


{{CatWeightTable|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}}
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<weight>|<text>}}</nowiki></tt>''' - 1 row table!
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>}}</nowiki></tt>''' - 2 row table!
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>''' - 3 row table!
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>''' - 4 row table!
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>''' - 5 row table!
#'''<tt><nowiki>{{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}</nowiki></tt>''' - 6 row table!


{{CatWeightTable|1|green
      '''<#>''' =  Number '''0''' (min) to '''6''' (max), defines indentation level.
|1|Level 1 does this and that.
|2|Level 2 does this and that.
  '''<colour>''' =  Define the colours:
|3|Level 3 does this and that.
                '''onoff'''        = Category weight "on/off" colour. Alias '''yellow'''.
|4|Level 4 does this and that.
                '''worstcase'''    = Category weight "worst case" colour. Alias '''red'''.
|5|Level 5 does this and that.
                '''amount'''      = Category weight "amount" colour. Alias '''green'''.
|6|Level 6 does this and that.}}
                '''blue'''        = Not actually used but there just in case.
                '''misc'''        = Category weight "amount" colour. Alias '''purple''' (default).
              For the most current list of available <colour>s, see [[Template:CatWcolBackground|CatWcolBackground]]
              or [[Template:CatWcolFrame|CatWcolFrame]] template.
  '''<weight>''' =  The category weight denominator (not word-wrapped), range:
    '''<w>'''          '''1''' for "+"  to  '''6''' for "***"
                '''1-5''' for "+ to **+"
                '''1-6''' for "+ to ***"
              For a complete list of available <weight>s (and ranges), see the '''[[Template:CatWweight|CatWweight]]''' template.
    '''<text>''' =  Text describing the current weight level for this category.
    '''<t>'''


==Example Category Weight Tables==
===CatWeightTable 1, 2, and 6 rows===
<nowiki>{{catWeightTable|1|blue|1|Level 1 does this and that.}}</nowiki> (LAYOUT ISSUE)
{{catWeightTable|1|blue|1|Level 1 does this and that.}}


===Real-World application===
<nowiki>{{catWeightTable|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}}</nowiki> (LAYOUT ISSUE)
{{CatWeightTable|1|amount
{{catWeightTable|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}}
|1|There are some people in uniform in a few of the episodes. They're probably in the army or something. Oh, wait, maybe they're just police. Ah, no, it's cosplay.
 
|2|Several characters are often addressed by rank rather than name. They have medals. Someone might even salute one of them, if you're lucky.
<nowiki>{{catWeightTable|1|green|
|3|The anime concerns an organised armed force, and its members. Said body should have both the equipment and hierarchy found in military groups, and should ideally be actively utilising their power against an opponent. Characters are either employed as professional soldiers or enlisted on a volunteer basis, for ideological reasons.
1|Level 1 does this and that.|
|4|Main character joins an armed force, and gets the rank of private at least. They have to salute their superiors at least once per episode. If special, they might get some hardware to play with, but on the downside killing people may be involved.
2|Level 2 does this and that.|
|5|Main character at least a sergeant. They go on missions, and probably blow shit up. One or more characters is introduced, only to be summarily dispatched, to show that war costs lives. Three salutes per episode, minimum.
3|Level 3 does this and that.|
|6|Main character no less than a colonel. The salutes flow thick and fast, too many to count, and medals shine from every chest. Most of the dialogue is the discussion of battle tactics - in fact, there's so much war, you just don't know where to look. One of the characters was in Nam. They still have nightmares.}}
4|Level 4 does this and that.|
5|Level 5 does this and that.|
6|Level 6 does this and that.}}</nowiki>
{{catWeightTable|1|green|
1|Level 1 does this and that.|
2|Level 2 does this and that.|
3|Level 3 does this and that.|
4|Level 4 does this and that.|
5|Level 5 does this and that.|
6|Level 6 does this and that.}}
 
===Real-world application===
{{CatWeightTable|1|amount|
1|There are some people in uniform in a few of the episodes. They're probably in the army or something. Oh, wait, maybe they're just police. Ah, no, it's cosplay.|
2|Several characters are often addressed by rank rather than name. They have medals. Someone might even salute one of them, if you're lucky.|
3|The anime concerns an organised armed force, and its members. Said body should have both the equipment and hierarchy found in military groups, and should ideally be actively utilising their power against an opponent. Characters are either employed as professional soldiers or enlisted on a volunteer basis, for ideological reasons.|
4|Main character joins an armed force, and gets the rank of private at least. They have to salute their superiors at least once per episode. If special, they might get some hardware to play with, but on the downside killing people may be involved.|
5|Main character at least a sergeant. They go on missions, and probably blow shit up. One or more characters is introduced, only to be summarily dispatched, to show that war costs lives. Three salutes per episode, minimum.|
6|Main character no less than a colonel. The salutes flow thick and fast, too many to count, and medals shine from every chest. Most of the dialogue is the discussion of battle tactics - in fact, there's so much war, you just don't know where to look. One of the characters was in Nam. They still have nightmares.}}
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.