Editing Template:Cleanliness Note/doc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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]]. 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.
+
Supports a manual page name as the first argument, and otherwise uses the page's [[Property:Name]].
  
 
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
 
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 ==  
 
== 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>

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: