Template:Infobox building: Difference between revisions
From Everafter Falls Wiki
mNo edit summary |
mNo edit summary |
||
| Line 66: | Line 66: | ||
<header>Upgrade costs</header> | <header>Upgrade costs</header> | ||
<data source="upgrade_mat1"><label>Materials</label><format>{{i|{{{upgrade_mat1}}}|{{{upgrade_amt1|1}}}}}{{#if:{{{upgrade_mat2|}}}|{{i|{{{upgrade_mat2}}}|{{{upgrade_amt2|1}}}}}}}{{#if:{{{upgrade_mat3|}}}|{{i|{{{upgrade_mat3}}}|{{{upgrade_amt3|1}}}}}}}{{#if:{{{upgrade_mat4|}}}|{{i|{{{upgrade_mat4}}}|{{{upgrade_amt4|1}}}}}}}</format></data> | <data source="upgrade_mat1"><label>Materials</label><format>{{i|{{{upgrade_mat1}}}|{{{upgrade_amt1|1}}}}}{{#if:{{{upgrade_mat2|}}}|{{i|{{{upgrade_mat2}}}|{{{upgrade_amt2|1}}}}}}}{{#if:{{{upgrade_mat3|}}}|{{i|{{{upgrade_mat3}}}|{{{upgrade_amt3|1}}}}}}}{{#if:{{{upgrade_mat4|}}}|{{i|{{{upgrade_mat4}}}|{{{upgrade_amt4|1}}}}}}}</format></data> | ||
<data source=" | <data source="upgrade_cost"><label>Cost</label><format>{{formatnum:{{{upgrade_cost|}}}}}{{coin}}</format></data> | ||
</group> | </group> | ||
</infobox></includeonly><noinclude>{{documentation}}[[Category:Infobox templates|building]]</noinclude> | </infobox></includeonly><noinclude>{{documentation}}[[Category:Infobox templates|building]]</noinclude> | ||
Revision as of 23:23, 29 July 2024
This template adds rows to the table "Projects", which is declared by the template Projects declare. View table.
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |