Difference between revisions of "Template:BuildCost"
From A Wiki in the Desert
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#set: buildcost={{trim|{{{1}}}}} wobble [[{{trim|{{{2}}}}}]]}</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 20:46, 2 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 |