Toggle menu
15
236
74
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 06:49, 17 February 2025 by Prd (talk | contribs) (Created page with "{{lua|Module:Bold list}} {{Documentation subpage}} {{template shortcut|bdlist|boldlist}} {{May be substituted}} This template can be used to create lists with bolded items, separated by unbolded commas and a conjunction. For example: <code><nowiki>{{Bold list|apple|banana|cucumber|durian}}</nowiki></code> produces {{Bold list|apple|banana|cucumber|durian}}. This may be useful in article leads, where alternate names are often stated in bold, and saves editors from having...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template can be used to create lists with bolded items, separated by unbolded commas and a conjunction. For example: {{Bold list|apple|banana|cucumber|durian}} produces apple, banana, cucumber, or durian. This may be useful in article leads, where alternate names are often stated in bold, and saves editors from having to manually bold and unbold.

Usage

{{Bold list |conj=and (optional) |item1 |item2 |item3 |...}}

Parameters

  • Positional parameters (1, 2, 3...) – the list items.
  • conj – allows a custom conjunction to be used (e.g. "and", "and/or" instead of the default "or")

Examples

  • {{Bold list|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z}} produces a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, or z
  • {{Bold list|conj=and|hardy hibiscus|rose of sharon|tropical hibiscus}} produces hardy hibiscus, rose of sharon, and tropical hibiscus