Template:Indent: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
;Info : Prepend requested '''indent''' level.
;Info : Prepend requested '''indent''' level.


;Syntax : <nowiki>{{indent|<indent>}}</nowiki>
;Syntax : {{m|indent{{!}}<indent>}}
  <indent>  =  '''1'''    ->  :
  <indent>  =  '''1'''    ->  :
               '''2'''    ->  ::
               '''2'''    ->  ::
Line 23: Line 23:


;Used by the templates
;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.
:CatWeight, CatWeightInfo, CatWeightTable, and a few others. Can be used in normal text as well, not really that useful there though, since using : or :: etc. is more elegant.


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

Revision as of 14:30, 6 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, since using : or :: etc. is more elegant.