Difference between revisions of "User:Dr. Strangelove/Test/Alpha"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#vardefine:defName|Hare}}
+
{{#vardefine:defName|Hare}}<!--
{{#vardefine:MoveSpeed|{{#invoke:Test|query|Races|{{#var:defName}}|MoveSpeed}}}}
+
 
{{#vardefine:description|{{#invoke:Test|query|Races|{{#var:defName}}|description}}}}
+
  simple
{{User:Dr. Strangelove/Test/Alpha/sandbox|Races|Hare|baseBodySize}}
+
 
 +
-->{{#vardefine:MoveSpeed|{{#invoke:Test|query|Races|{{#var:defName}}|MoveSpeed}}}}<!--
 +
-->{{#vardefine:description|{{#invoke:Test|query|Races|{{#var:defName}}|description}}}}<!--
 +
 
 +
  magic via another template
 +
 
 +
-->{{User:Dr. Strangelove/Test/Alpha/sandbox|Races|Hare|baseBodySize}}<!--
 +
 
 +
  frame:callParserFunction in Lua script
 +
 
 +
-->{{#invoke:Test|vardefine|Races|{{#var:defName}}|MarketValue}}
 
<dl>
 
<dl>
 
   <dt>defName</dt>
 
   <dt>defName</dt>
Line 12: Line 22:
 
   <dt>baseBodySize</dt>
 
   <dt>baseBodySize</dt>
 
   <dd>{{#var:baseBodySize}}</dd>
 
   <dd>{{#var:baseBodySize}}</dd>
 +
  <dt>MarketValue</dt>
 +
  <dd>{{#var:MarketValue}}</dd>
 
<dl>
 
<dl>

Revision as of 13:54, 13 March 2021

Script error: The function "vardefine" does not exist.

defName
Hare
MoveSpeed
description
baseBodySize
MarketValue