Difference between revisions of "User:DJRedNightGaming"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
  
 
For more in-depth discussion on the usage and reasoning behind the changes, see [[Template_talk:TrainingTable|here]].
 
For more in-depth discussion on the usage and reasoning behind the changes, see [[Template_talk:TrainingTable|here]].
 +
 +
=== Example Output ===
  
 
{{TrainingTemplateUpdated}}
 
{{TrainingTemplateUpdated}}
 +
 +
=== Required Code on Every Animal Page ===
 +
 +
The following code is going to now be required on every [[Animals]] page. This is to "set" or "define" the properties of the specific animal when it comes to training.
 +
 +
<pre>
 +
<!-- Set the Declaration of Variables for the Animal Training Template-->
 +
{{#set: Can_Train_Guard=true}}
 +
{{#set: Can_Train_Attack=false}}
 +
{{#set: Can_Train_Rescue=true}}
 +
{{#set: Can_Train_Haul=false}}
 +
</pre>
 +
 +
The following properties are used for the new template.
 +
 +
{{Property:Can_Train_Guard}}
 +
{{Property:Can_Train_Attack}}
 +
{{Property:Can_Train_Rescue}}
 +
{{Property:Can_Train_Haul}}
 +
 +
  
 
<!-- Set the Declaration of Variables for the Animal Training Template-->
 
<!-- Set the Declaration of Variables for the Animal Training Template-->

Revision as of 08:44, 25 April 2020

Training Template Updates

For more in-depth discussion on the usage and reasoning behind the changes, see here.

Example Output

Template:TrainingTemplateUpdated

Required Code on Every Animal Page

The following code is going to now be required on every Animals page. This is to "set" or "define" the properties of the specific animal when it comes to training.

<!-- Set the Declaration of Variables for the Animal Training Template-->
{{#set: Can_Train_Guard=true}}
{{#set: Can_Train_Attack=false}}
{{#set: Can_Train_Rescue=true}}
{{#set: Can_Train_Haul=false}}

The following properties are used for the new template.

BooleanProperty "Has type" is a declarative property and can only be used on a property or category page. BooleanProperty "Has type" is a declarative property and can only be used on a property or category page. BooleanProperty "Has type" is a declarative property and can only be used on a property or category page. BooleanProperty "Has type" is a declarative property and can only be used on a property or category page.