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={{trim|{{{1}}}}} [[wobble]] {{trim|{{{2}}}}}}}</includeonly><noinclude><templatedata>
+
<includeonly>
 +
{{#set: buildcost=
 +
{{trim|{{{1}}}}}
 +
[[wobble]]  
 +
{{trim|{{{2}}}}}
 +
}}</includeonly><noinclude><templatedata>
 
{
 
{
 
"params": {
 
"params": {
Line 6: Line 11:
 
"description": "Name of the technology",
 
"description": "Name of the technology",
 
"example": "Knapping",
 
"example": "Knapping",
"type": "string",
+
"type": "number",
 
"required": true
 
"required": true
 
},
 
},
Line 13: Line 18:
 
"description": "Level of the required technology",
 
"description": "Level of the required technology",
 
"example": "1",
 
"example": "1",
"type": "number",
+
"type": "string",
 
"required": true
 
"required": true
 
}
 
}

Revision as of 20:52, 2 June 2023

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

Template parameters

ParameterDescriptionTypeStatus
Technology1

Name of the technology

Example
Knapping
Numberrequired
Level2

Level of the required technology

Example
1
Stringrequired