Template:CatWweight/doc

From AniDB
Revision as of 21:18, 10 May 2009 by Foo2 (talk | contribs) (Created doc.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Insert requested catagory related weight, also includes weight ranges. Values 1 to 6 are padded with non-breaking spaces.

Syntax

The template can have 1 parameter:

  1. {{CatWweight|<weight>}} - Enter weight to get appropriate * rating.
 <weight>  =  1    ->  +
              2    ->  *
              3    ->  *+
              4    ->  **
              5    ->  **+
              6    ->  ***
              1-2  ->  + or *
              2-3  ->  * or *+
              3-4  ->  *+ or **
              4-5  ->  ** or **+
              5-6  ->  **+ or ***
              1-5  ->  + to **+
              1-6  ->  + to ***
       else        ->  "   "  (3 non-breaking spaces, default)          

Example

{{m|CatWweight|4-5}}

{{CatWweight|4-5}}

Use?

Used by the templates CatWeight, CatWeightInfo, and CatWeightTable, but could be used elsewhere as well.