Template:B/doc

From RimWorld Wiki
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.

Example[edit]

{{B|Muffalo|Can Train Attack|Yes|No}} results in:


Yes

{{B|Timber wolf|Can Train Attack|Yes|No}} results in:


No