Template:CatWweight: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 37: Line 37:
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable, but could be used elsewhere as well.
;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable, but could be used elsewhere as well.


[[Category:Category Weight]]</noinclude>
[[Category:Category Weight|Helper]]</noinclude>

Revision as of 21:45, 5 May 2009

Info
Insert requested CatWeight weight, includes weight ranges. 1 to 6 padded with non-breaking spaces.
Syntax
{{CatWweight|<weight>}}
<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
{{CatWweight|4-5}}
** or **+
Used by the templates
CatWeight, CatWeightInfo, CatWeightTable, but could be used elsewhere as well.