Template:CatWeightTable/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (The issues have been resolved... thus deleting section.)
m (When spreading table rows accross lines, start the new line with "1|There are", not with "|1|There are". The latter adds unwanted empty lines.)
Line 58: Line 58:


===Real-world application===
===Real-world application===
{{CatWeightTable|1|amount
{{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.
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.
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.
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.
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.
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.}}
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.}}

Revision as of 10:10, 6 May 2009

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.

Features Indentation, colour, one to six text rows.

Syntax

The template can have 4 to 14 parameters:

  1. {{catWeightTable|<#>|<colour>|<weight>|<text>}} - 1 row table!
  2. {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>}} - 2 row table!
  3. {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>}} - 3 row table!
  4. {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}} - 4 row table!
  5. {{catWeightTable|<#>|<colour>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>|<w>|<t>}} - 5 row table!
  6. {{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 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 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.