1,633
edits
mNo edit summary |
m (→Syntax) |
||
Line 17: | Line 17: | ||
#'''<tt><nowiki>{{catWeight|<#>|<colour>|<weight>|<text>}}</nowiki></tt>''' - Define indentation via <#> parameter. | #'''<tt><nowiki>{{catWeight|<#>|<colour>|<weight>|<text>}}</nowiki></tt>''' - Define indentation via <#> parameter. | ||
'''<#>''' = Number '''0''' (min) to '''6''' (max), defines indentation level. | '''<#>''' = Number '''0''' (min) to '''6''' (max), defines indentation level. | ||
'''<colour>''' = Define the colour type of the info box: | '''<colour>''' = Define the colour type of the info box: | ||
'''onoff''' = red-ish... use to match <nowiki>{{catWeightInfo|onoff}}</nowiki> | |||
'''worstcase''' = yellow-ish... use to match <nowiki>{{catWeightInfo|worstcase}}</nowiki> | |||
'''amount''' = green-ish... use to match <nowiki>{{catWeightInfo|amount}}</nowiki> | |||
'''misc''' = purple-ish... ((fun, testing) | |||
'''<weight>''' = The category weight denominator (not word-wrapped), range: | '''<weight>''' = The category weight denominator (not word-wrapped), range: | ||
'''1''' for "+" to '''6''' for "***" | '''1''' for "+" to '''6''' for "***" | ||
'''1-5''' for "+ to **+" | '''1-5''' for "+ to **+" | ||
'''1-6''' for "+ to ***" | '''1-6''' for "+ to ***" | ||
'''<text>''' = The descriptive text for that weight level. | '''<text>''' = The descriptive text for that weight level. | ||
{{eyecatch|1|Note|Only the '''<#>''' values '''1''' to '''6''' are actually checked, any '''other values''' (e.g. 0 or abc) yield '''no indentation''' at all, and are treated the same as <tt><nowiki>{{eyecatch|info|text}}</nowiki></tt>!}} | {{eyecatch|1|Note|Only the '''<#>''' values '''1''' to '''6''' are actually checked, any '''other values''' (e.g. 0 or abc) yield '''no indentation''' at all, and are treated the same as <tt><nowiki>{{eyecatch|info|text}}</nowiki></tt>!}} |
edits