Difference between revisions of "User:Dr. Strangelove/Template:Infobox"

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}}}}
 +
{{User:Dr. Strangelove/Test/Alpha/sandbox|Races|Hare|baseBodySize}}
 +
{{#invoke:Test|vardefine|Races|{{#var:defName}}|MarketValue}}
  
  simple
 
 
-->{{#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 25: Line 17:
 
   <dd>{{#var:MarketValue}}</dd>
 
   <dd>{{#var:MarketValue}}</dd>
 
<dl>
 
<dl>
 +
 
{{documentation}}
 
{{documentation}}

Revision as of 07:54, 31 March 2021



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

defName
Hare
MoveSpeed
description
baseBodySize
MarketValue
Documentation[create]