Template:B/doc

From RimWorld Wiki
< Template:B
Revision as of 11:53, 28 February 2025 by Arcangelus (talk | contribs) (Documentation created. This template is not used on anything not obsolete, so it may not help much. Perhaps it will have a use now that it is clear what it does.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template takes 4 arguments:

{{B| {{{1}}} | {{{2}}} | {{{3}}} | {{{4}}} }}

In order:

  • 1: The element to search
  • 2: The property to search
  • 3: First element to return
  • 4: Second element to return

What this template does:

  • It shows the {{{2}}} property of the {{{1}}} element via the Template:Q.
  • If the property above is equal to True, it returns {{{4}}}. Otherwise, it returns {{{3}}}.
  • Both {{{3}}} and {{{4}}} default to empty, if not defined.

As of 28/02/2025, all the uses of this template are considered Obsolete.