1,633
edits
m (→The Weights) |
mNo edit summary |
||
Line 18: | Line 18: | ||
#'''<tt><nowiki>{{catWeight|<#>|<weight>|<text>}}</nowiki></tt>''' - Define indentation via <#> parameter. | #'''<tt><nowiki>{{catWeight|<#>|<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. | ||
'''<weight>''' = The category weight denominator (not word-wrapped), range '''+''' | '''<weight>''' = The category weight denominator (not word-wrapped), range '''1''' (+) to '''6''' (***). | ||
'''<text>''' = The descriptive text for the info. | '''<text>''' = The descriptive text for the info. | ||
{{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>!}} | ||
Line 25: | Line 25: | ||
==Examples== | ==Examples== | ||
===The Weights=== | ===The Weights=== | ||
{{catWeight|1| | {{catWeight|1|1| Weight <tt>+ </tt> means this and that.}} | ||
{{catWeight|1| | {{catWeight|1|2| Weight <tt>* </tt> means this and that.}} | ||
{{catWeight|1| | {{catWeight|1|3| Weight <tt>*+ </tt> means this and that.}} | ||
{{catWeight|1| | {{catWeight|1|4| Weight <tt>** </tt> means this and that.}} | ||
{{catWeight|1| | {{catWeight|1|5| Weight <tt>**+</tt> means this and that.}} | ||
{{catWeight|1| | {{catWeight|1|6| Weight <tt>***</tt> means this and that.}} | ||
There is an issue when using '''*''' as argument in <tt>catWeight</tt>, using "x" for now. | There is an issue when using '''*''' as argument in <tt>catWeight</tt>, using "x" for now. |
edits