A Wiki in the Desert
Log in

Difference between revisions of "Template:BuildCost"

From A Wiki in the Desert
m
m
Line 1: Line 1:
<includeonly>{{#set: buildcost={{{1}}} }}</includeonly><noinclude><templatedata>
+
<includeonly>{{#set: Has volume={{trim|{{{1}}}}}}}{{#set: Has label={{trim|{{{2}}}}}}}{{trim|{{{1}}}}} x {{trim|{{{2}}}}}</includeonly><noinclude><templatedata>
 
{
 
{
 
"params": {
 
"params": {
 
"1": {
 
"1": {
"label": "Technology",
+
"label": "Volume",
 
"description": "Name of the technology",
 
"description": "Name of the technology",
 
"example": "Knapping",
 
"example": "Knapping",
Line 10: Line 10:
 
},
 
},
 
"2": {
 
"2": {
"label": "Level",
+
"label": "Label",
 
"description": "Level of the required technology",
 
"description": "Level of the required technology",
 
"example": "1",
 
"example": "1",

Revision as of 21:01, 2 June 2023

Adds a requirement on a specific technology at a certain level.

Template parameters

ParameterDescriptionTypeStatus
Volume1

Name of the technology

Example
Knapping
Numberrequired
Label2

Level of the required technology

Example
1
Stringrequired