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": " | + | "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": " | + | "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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Technology | 1 | Name of the technology
| Number | required |
| Level | 2 | Level of the required technology
| String | required |