Template:CatWweight: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 15: Line 15:
  |    
  |    
}}</includeonly><noinclude>
}}</includeonly><noinclude>
;Info : Insert requested CatWeight '''weight''', includes weight ranges.
;Info : Insert requested CatWeight '''weight''', includes weight ranges. '''1''' to '''6''' padded with non-breaking spaces.


;Syntax : <nowiki>{{CatWweight|<weight>}}</nowiki>
;Syntax : <nowiki>{{CatWweight|<weight>}}</nowiki>

Revision as of 13:15, 4 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.