Template:!!/doc

From RimWorld Wiki
< Template:!!
Revision as of 03:59, 15 January 2021 by Jimyoda (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This is a template that allows one to encode "||" (two pipes or vertical bars) within template parameters. If it is unnecessary to get a "||", it is better to use "&#124;&#124;". However the "||" delimiter for a table has to be escaped by a {{!!}} template if it is used within a template.

Notes

There is usually no such problem with "!!" (exclamation marks). This problem only affects "||" (vertical bars) in conjunction with the Parameter default mechanism within tables. However, in table rows starting with "!" there can be problems with "!!" being interpreted as a cell separator. Try replacing it with "&#33;&#33;".