Template:ListNbsp

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

This template attempts to break lines at natural word boundaries, then sets all spaces within the string as a non-breaking space to prohibit any line breaks at unexpected locations.

Current supported line breaks:

  • Comma (,)
  • The word "or"
  • The word "and"

Parameters[edit]

ListNbsp
Parameter Scope Description
1
line
required The line to break.

Examples[edit]

{{ListNbsp|All of this, or all of that, or all of all that.}}

All of this,
or all of that,
or all of all that.

{{ListNbsp|[[Oblivion:Item1|Item is a big one]], [[Oblivion:item2|wow what an item]] and [[Oblivion:item3|asdfasdf afjnregij sdf]]}}

Item is a big one,
wow what an item and asdfasdf afjnregij sdf

{{ListNbsp|[[Oblivion:Understanding Maddness|Understanding Maddness]], [[Oblivion:Somethingor Maddness|Somethingor Maddness]]}}

Understanding Maddness,
Somethingor Maddness

{{ListNbsp|[[Shivering:The_Lady_of_Paranoia|The Lady of Paranoia]] or [[Shivering:Addiction|Addiction]]}}

The Lady of Paranoia or Addiction

{{ListNbsp|[[Oblivion:Drunk and Disorderly|Drunk and Disorderly]]}}

Drunk and Disorderly