Difference between revisions of "Template:BuildCost"
From A Wiki in the Desert
m |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{# | + | <includeonly>{{#set: buildcost=Technology/{{trim|{{{1}}}}}/{{trim|{{{2}}}}}|{{trim|{{{1}}}}} {{trim|{{{2}}}}} (Technology)}}</includeonly><noinclude><templatedata> |
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| − | "label": " | + | "label": "Technology", |
| − | "description": " | + | "description": "Name of the technology", |
| − | "example": " | + | "example": "Knapping", |
| − | "type": " | + | "type": "string", |
"required": true | "required": true | ||
}, | }, | ||
"2": { | "2": { | ||
| − | "label": " | + | "label": "Level", |
| − | "description": " | + | "description": "Level of the required technology", |
| − | "example": " | + | "example": "1", |
| + | "type": "number", | ||
"required": true | "required": true | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
}, | }, | ||
| − | "description": " | + | "description": "Adds a requirement on a specific technology at a certain level." |
| − | } | + | }</templatedata></noinclude> |
| − | </templatedata></noinclude> | ||
Revision as of 12:00, 3 June 2023
Adds a requirement on a specific technology at a certain level.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Technology | 1 | Name of the technology
| String | required |
| Level | 2 | Level of the required technology
| Number | required |