Template:Indent: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
 
Line 7: Line 7:
  | 6 = ::::::
  | 6 = ::::::
  |
  |
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]]</noinclude>
;Info : Prepend requested '''indent''' level.
 
;Syntax : {{m|indent|<indent>}}
'''<indent>'''  =  '''1'''    ->  :
              '''2'''    ->  ::
              '''3'''    ->  :::
              '''4'''    ->  ::::
              '''5'''    ->  :::::
              '''6'''    ->  ::::::
      else        ->        (no indent, default)         
 
;Example
:{{m|indent|3}}Level 3 indent.<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, since using : or :: etc. is more elegant.
 
[[Category:Template]]</noinclude>
1,633

edits

Navigation menu

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