Template:CatWeightInfo/doc: Difference between revisions

m
No edit summary
Line 11: Line 11:
==Syntax==
==Syntax==
The template can have '''1''' or '''2 parameters''':
The template can have '''1''' or '''2 parameters''':
#'''<tt><nowiki>{{catWeightInfo|<type>}}</nowiki></tt>''' - Default mode, no alignment!
#{{m|catWeightInfo{{!}}<type>}} - Default mode, no alignment!
#'''<tt><nowiki>{{catWeightInfo|<type>|<align>}}</nowiki></tt>''' - Define alignment via <align> parameter.
#{{m|catWeightInfo{{!}}<type>{{!}}<align>}} - Define alignment via <align> parameter.
     '''<type>''' =  Define the type of weight info box you require:
     '''<type>''' =  Define the type of weight info box you require:
               '''onoff'''        = The category weight is simply used as an on/off switch
               '''onoff'''        = The category weight is simply used as an on/off switch
1,633

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.