Jump to content

Template:Inline sublist/doc

From Wikipedia, the free encyclopedia

This template when passed to {{Contents topic list}} specifies that the following sublist should be shown inline in brackets rather than on a new line.

Example

[edit]
Wikitext Result
{{Contents topic list|
* Top item
** Herbs
** Without {{tnull|Inline sublist}}
*** Apple
*** Banana
** Vegetables
* Top item
** Herbs
** With {{tnull|Inline sublist}} {{Inline sublist}}
*** Apple
*** Banana
** Vegetables
}}
  • Top item:
    • Herbs
    • Without {{Inline sublist}}:
      • Apple
      • Banana
    • Vegetables
  • Top item:
    • Herbs
    • With {{Inline sublist}}
      • Apple
      • Banana
    • Vegetables