Pillars of Eternity Wiki
Advertisement
Template-info Template documentation

Simple template to convert spaces before certain text to non-breakable space.

Syntax[]

{{nobreak
  | string = 1000 cp → 1200 cp → 1500 cp → 2500 cp
  | before = cp
  | after = →
}}

Parameters[]

string
String where certain spaces should be replaced with non-breakable spaces. Required.
before
Text that should be preceded by non-breakable space instead of normal space. Optional.
after
Text that should be followed by non-breakable space instead of normal space. Optional.

Example[]

Imagine this ugly table of item prices:

Some soulbound item that increases it's value on each level 1000 cp → 1200 cp → 1500 cp → 2500 cp

Now if we want to disallow line-breaks after arrows (→) and before coppers (cp), we can format item value like this:

{{nobreak
  | before = cp
  | after = →
  | string = 1000 cp → 1200 cp → 1500 cp → 2500 cp
}}

which will display the following table:

Some soulbound item that increases it's value on each level 1000 cp → 1200 cp → 1500 cp → 2500 cp

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Advertisement