Template:ItemList/Doc

From Necesse Wiki
Jump to navigation Jump to search

ItemList template[edit]

The ItemList template displays a group of bullet-pointed items in a visually grouped container. It is designed for use with item templates, but can display any bullet list content.

Syntax[edit]

{{ItemList|type|title|
* Item
* Item
* Item
}}

Parameters[edit]

Parameter Description Required Default
type Visual style of the list (box or compact) No box
title Optional heading shown above the list No
content Bullet-point list content Yes

Available types[edit]

Type Description Appearance
box Framed list with full border Boxed container
compact Minimal list with left accent border Compact container

Examples[edit]

Box style[edit]

{{ItemList|box|Starting inventory|
* {{Item|Bread|inline=1}}
* {{Item|Health Potion|inline=1}}
* {{Item|Settlement Flag|inline=1}}
}}

Compact style[edit]

{{ItemList|compact|Chest contents|
* {{Item|Local Village Map|inline=1}}
* {{Item|Local Dungeon Map|inline=1}}
* {{Item|Bread|inline=1}}
}}

Without title[edit]

{{ItemList|compact||
* {{Item|Bread|inline=1}}
* {{Item|Bread|inline=1}}
}}

Usage guidelines[edit]

  • Use this template for short to medium-length lists
  • Avoid nesting ItemList templates inside each other
  • Keep titles short and descriptive
  • Use compact for side notes and small containers
  • Use box for primary lists in guides

See also[edit]