Difference between revisions of "Template:Cleanliness Note/doc"
Line 1: | Line 1: | ||
Just standardizes the spiel about a particular building have a cleanliness penalty. | 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]]. | + | 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. |
== Examples == | == Examples == | ||
+ | <pre>{{Cleanliness Note|Art bench}}</pre> | ||
+ | produces: | ||
{{Cleanliness Note|Art bench}} | {{Cleanliness Note|Art bench}} | ||
+ | <pre>{{Cleanliness Note|Spike trap}}</pre> | ||
+ | produces: | ||
{{Cleanliness Note|Spike trap}} | {{Cleanliness Note|Spike trap}} | ||
+ | |||
+ | <pre>{{Cleanliness Note|Bacon sandwich|-999}}</pre> | ||
+ | produces: | ||
+ | {{Cleanliness Note|Bacon sandwich|-999}} | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>[[Category:Content templates]]</includeonly> | <includeonly>[[Category:Content templates]]</includeonly> |
Revision as of 05:28, 12 October 2023
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.
Examples
{{Cleanliness Note|Art bench}}
produces: Each art bench is considered dirty with a Cleanliness of −5, applied to the bottom-left-most tile from the player's perspective, regardless of orientation. This reduces the average cleanliness of the room it occupies.
{{Cleanliness Note|Spike trap}}
produces: Each 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: Each bacon sandwich is considered dirty with a Cleanliness of −999, applied to the bottom-left-most tile from the player's perspective, regardless of orientation. This reduces the average cleanliness of the room it occupies.