Template:CatWeightTable/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
'''blue''' = Not actually used but there just in case. | '''blue''' = Not actually used but there just in case. | ||
'''misc''' = Category weight "amount" colour. Alias '''purple''' (default). | '''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]] templates. | |||
'''<weight>''' = The category weight denominator (not word-wrapped), range: | '''<weight>''' = The category weight denominator (not word-wrapped), range: | ||
Line 44: | Line 46: | ||
'''1-5''' for "+ to **+" | '''1-5''' for "+ to **+" | ||
'''1-6''' for "+ to ***" | '''1-6''' for "+ to ***" | ||
For a complete list of available <weight>s, see the [[Template:CatWweight|CatWweight]] template. | |||
'''<text>''' = Text describing the current weight level for this category. | '''<text>''' = Text describing the current weight level for this category. |
Revision as of 14:35, 4 May 2009
Category Weight + Level 1 weight does this and that. Indent level 1. * Level 2 weight does this and that.
Documentation for this template
This template lets you crate a category weight table with one to six rows, letting the user so into as much ranking detail as he chooses.
Features Indentation, colour, one to six text rows.
Issues
Even though the code works pretty well if you add descriptions for 6 rows, using less of them will lead to "empty ghost lines" that mess up the table padding. The fewer rows you use the more noticeable. Alas I (foo2) have not yet been able to fix this issue :(.
Alternative names
- {{catWeightTable|<#>|<colour>|<weight>|<text>}}
- {{CatWeightTable|<#>|<colour>|<weight>|<text>}} - alternate spelling of template
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>}}
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>}}
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}}
Syntax
The template can have 4 to 14 parameters:
- {{catWeightTable|<#>|<colour>|<weight>|<text>}} - 1 row table!
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>}} - 2 row table!
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>}} - 3 row table!
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}} - 4 row table!
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}} - 5 row table!
- {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}} - 6 row table!
<#> = Number 0 (min) to 6 (max), defines indentation level. <colour> = Define the colours: onoff = Category weight "on/off" colour. Alias yellow. worstcase = Category weight "worst case" colour. Alias red. amount = Category weight "amount" colour. Alias green. 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 CatWcolBackground or CatWcolFrame templates. <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, see the CatWweight template. <text> = Text describing the current weight level for this category. <t>
Example Category Weight Tables
CatWeightTable 1, 2 and 6 rows
{{catWeightTable|1|blue|1|Level 1 does this and that.}} (LAYOUT ISSUE)
Category Weight + Level 1 does this and that.
{{catWeightTable|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}} (LAYOUT ISSUE)
Category Weight + Level 1 does this and that. * Level 2 does this and that.
{{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.}}
Category Weight + Level 1 does this and that. * Level 2 does this and that. *+ Level 3 does this and that. ** Level 4 does this and that. **+ Level 5 does this and that. *** Level 6 does this and that.
Real-world application
Category Weight + 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. * Several characters are often addressed by rank rather than name. They have medals. Someone might even salute one of them, if you're lucky. *+ 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. ** 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. **+ 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. *** 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.