Difference between revisions of "Template:Cleanliness Note"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "Every {{P|Name}} is considered dirty with a Cleanliness of {{Bad|{{P|Cleanliness}}}}, applied on the bottom-left-most tile. This reduces the average Room stats|cleanline...")
 
Line 1: Line 1:
Every {{P|Name}} is considered dirty with a [[Cleanliness]] of {{Bad|{{P|Cleanliness}}}}, applied on the bottom-left-most tile. This reduces the average [[Room stats|cleanliness]] of a room.
+
<includeonly>Every {{{1|{{P|Name}}}}} is considered dirty with a [[Cleanliness]] of {{Bad|{{Q|{{{1|{{P|Name}}}}}|Cleanliness}}}}{{#ifeq: {{Q|{{{1|{{P|Name}}}}}|Size}}|1 × 1|, applied on the bottom-left-most tile from the player's perspective, regardless of orientation}}. This reduces the average [[Room stats|cleanliness]] of the room it occupies.</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 05:16, 12 October 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

Just standardizes the spiel about a particular building have a cleanliness penalty.

Supports a manual page name as the first argument, and otherwise uses the page's Property:Name. Cleanliness can be set as the second argument, or will be pulled from the current page or the page denoted in the first argument otherwise.

If the building is 1 x 1, the template will remove the section about where cleanliness is applied. This won't be done if manual name that does have a page and/or size associated with it

Examples

{{Cleanliness Note|Art bench}}

produces: Every Art bench is considered dirty with a Cleanliness of −5. This reduces the average cleanliness of the room it occupies.

{{Cleanliness Note|Spike trap}}

produces: Every Spike trap is considered dirty with a Cleanliness of −5. This reduces the average cleanliness of the room it occupies.

{{Cleanliness Note|Bacon sandwich|-999}}

produces: Every Bacon sandwich is considered dirty with a Cleanliness of . This reduces the average cleanliness of the room it occupies.