Template:CatWeight/doc: Difference between revisions

m
Line 36: Line 36:


===Indentation===
===Indentation===
  <nowiki>{{catWeight|0|Note|'''No''' indentation, just like the normal <tt>catWeight</tt>.}}</nowiki>  
  <nowiki>{{catWeight|0|0|'''No''' indentation or weight.}}</nowiki>  
<nowiki>{{catWeight|abc|Note|'''No''' indentation, just like the normal <tt>catWeight</tt>.}}</nowiki>
{{catWeight|0|0|'''No''' indentation or weight.}}
<nowiki>{{catWeight||Note|'''No''' indentation, just like the normal <tt>catWeight</tt>.}}</nowiki>
{{catWeight|0|Note|'''No''' indentation, just like the normal <tt>catWeight</tt>.}}


  <nowiki>{{catWeight|1|Another note|'''One''' indentation, just like <tt>catWeight2</tt>.}}</nowiki>  
  <nowiki>{{catWeight|1|1|'''One''' indentation and weight.}}</nowiki>  
{{catWeight|1|Another note|'''One''' indentation, just like <tt>catWeight2</tt>.}}
{{catWeight|1|1|'''One''' indentation and weight.}}


  <nowiki>{{catWeight|2|Important|Level '''two''' indentation!}}</nowiki>  
  <nowiki>{{catWeight|2|2|Level '''two''' indentation and weight!}}</nowiki>  
{{catWeight|2|Important|Level '''two''' indentation!}}
{{catWeight|2|2|Level '''two''' indentation and weight!}}
 
<nowiki>{{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is ...}}</nowiki>
{{catWeight|6|Very important|Maximum indentation level of '''six'''! "Very important" is '''not''' word-wrapped.}}


<nowiki>{{catWeight|6|6|Maximum indentation level of '''six''', same weight!}}</nowiki>
{{catWeight|6|6|Maximum indentation level of '''six''', same weight!}}


==Test the Code==
==Test the Code==
Should more code testing be required see the [[Template:CatWeight/Test Code]] page.
Should more code testing be required see the [[Template:CatWeight/Test Code]] page.
1,633

edits

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