Difference between revisions of "Template:TrainingTable"

From RimWorld Wiki
Jump to navigation Jump to search
(Fixed data not displaying. These properties have data type boolean which only uses true or false.)
(Update for v1.1.2610)
Line 1: Line 1:
 
{| style="border-style: solid; border-width: 0px; text-align:left;"
 
{| style="border-style: solid; border-width: 0px; text-align:left;"
! scope="row" | Obedience:
+
! scope="row" | Guard:
|  {{#switch: {{#show: {{{1|{{PAGENAME}}}}}|?Can Train Obedience|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
|  {{#switch: {{#show: {{FULLPAGENAME}}|?Can Train Guard|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
|-
 
|-
! scope="row" |Release:  
+
! scope="row" |Attack:  
|  {{#switch: {{#show: {{{1|{{PAGENAME}}}}}|?Can Train Release|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
|  {{#switch: {{#show: {{FULLPAGENAME}}|?Can Train Attack|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
|-
 
|-
 
! scope="row" |Rescue:
 
! scope="row" |Rescue:
|  {{#switch: {{#show: {{{1|{{PAGENAME}}}}}|?Can Train Rescue|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
|  {{#switch: {{#show: {{FULLPAGENAME}}|?Can Train Rescue|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
|-
 
|-
 
! scope="row" |Haul:
 
! scope="row" |Haul:
|  {{#switch: {{#show: {{{1|{{PAGENAME}}}}}|?Can Train Haul|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
+
|  {{#switch: {{#show: {{FULLPAGENAME}}|?Can Train Haul|link=none}} | true=[[File:check.png|24px|link=]] | false=[[File:ex.png|24px|link=]]}}
 
|}
 
|}
 +
<small>*As of version 1.1.2610, all animals can be tamed. The percentage of likelihood of success depends on factors such as the Animals Wildness Percentage, Pawn Handling Skill, and others. More information can be found on the [[Animals#Animal_husbandry]] page.</small>
 +
 +
 +
 +
<noinclude>
 +
{{documentation}}
 +
[[Category:Template Infobox]]
 +
</noinclude>

Revision as of 06:06, 26 April 2020

Guard:  
Attack:  
Rescue:  
Haul:  

*As of version 1.1.2610, all animals can be tamed. The percentage of likelihood of success depends on factors such as the Animals Wildness Percentage, Pawn Handling Skill, and others. More information can be found on the Animals#Animal_husbandry page.



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

Description

This template displays an animal's trainability.

Usage

Enter {{TrainingTable}} under the Training section.

No other syntax or parameters are used.

Prerequisites

The animal's page must include its trainability stat, written as one of the following:

|trainable = none
|trainable = simple
|trainable = intermediate
|trainable = advanced

The animal's page must include its body size, written like:

|bodysize = 0.55

Properties

The properties displayed by this template are:

Property:Can_Train_Guard

Property:Can_Train_Attack

Property:Can_Train_Rescue

Property:Can_Train_Haul

Example Output

The following is output when used on Muffalo.


This animal can be trained as follows:

Guard:  Ex.png
Attack:  Ex.png
Rescue:  Ex.png
Haul:  Ex.png

*As of version 1.1.2610, all animals can be tamed. The percentage of likelihood of success depends on factors such as the Animals Wildness Percentage, Pawn Handling Skill, and others. More information can be found on the animals page.

Additional Info

  • This template displays information from properties, it does not set them, instead, they are set in Template:Infobox main. Go there for updates or adjustments.
  • Trainability is partially determined by body size as specified in (RimWorld installation folder on PC) Defs\TrainableDefs\Trainables.xml