Template:Indent: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Help module for CatWeight Templates... indentation level.)
 
No edit summary
Line 19: Line 19:
       else        ->        (no indent, default)           
       else        ->        (no indent, default)           


;Example : <nowiki>{{indent|3}}Level 3 indent.</nowiki><br>{{indent|3}}Level 3 indent.
;Example
:<nowiki>{{indent|3}}Level 3 indent.</nowiki><br>{{indent|3}}Level 3 indent.


;Used by the templates : CatWeight, CatWeightInfo, CatWeightTable, and a few others. Can be used in normal text as well, not really that useful there though.
;Used by the templates
:CatWeight, CatWeightInfo, CatWeightTable, and a few others. Can be used in normal text as well, not really that useful there though.


[[Category:Template]]</noinclude>
[[Category:Template]]</noinclude>

Revision as of 20:37, 5 May 2009

Info
Prepend requested indent level.
Syntax
{{indent|<indent>}}
<indent>  =  1    ->  :
             2    ->  ::
             3    ->  :::
             4    ->  ::::
             5    ->  :::::
             6    ->  ::::::
      else        ->         (no indent, default)          
Example
{{indent|3}}Level 3 indent.
Level 3 indent.
Used by the templates
CatWeight, CatWeightInfo, CatWeightTable, and a few others. Can be used in normal text as well, not really that useful there though.