Template:Project row: Difference between revisions

From Everafter Falls Wiki

mNo edit summary
mNo edit summary
Line 20: Line 20:
|- {{#if:{{{image|}}}|<nowiki />
|- {{#if:{{{image|}}}|<nowiki />
{{!}}[[File:{{{image|}}}.png{{!}}60px{{!}}link=]]}}
{{!}}[[File:{{{image|}}}.png{{!}}60px{{!}}link=]]}}
|{{{name|}}}{{#if:{{{cost|}}}|<nowiki />
|{{{name|}}}{{#if:{{{use|}}}|<nowiki />
{{!}}{{{use|}}} }}{{#if:{{{cost|}}}|<nowiki />
{{!}}{{formatnum:{{{cost|}}}}}{{coin}}}}
{{!}}{{formatnum:{{{cost|}}}}}{{coin}}}}
|{{i|{{{mat1}}}|{{{amt1|1}}}}}{{#if:{{{mat2|}}}|{{i|{{{mat2}}}|{{{amt2|1}}}}}}}{{#if:{{{mat3|}}}|{{i|{{{mat3}}}|{{{amt3|1}}}}}}}{{#if:{{{mat4|}}}|{{i|{{{mat4}}}|{{{amt4|1}}}}}}}
|{{i|{{{mat1}}}|{{{amt1|1}}}}}{{#if:{{{mat2|}}}|{{i|{{{mat2}}}|{{{amt2|1}}}}}}}{{#if:{{{mat3|}}}|{{i|{{{mat3}}}|{{{amt3|1}}}}}}}{{#if:{{{mat4|}}}|{{i|{{{mat4}}}|{{{amt4|1}}}}}}}
</includeonly><noinclude>[[Category:Cargo templates]]</noinclude>
</includeonly><noinclude>[[Category:Cargo templates]]</noinclude>

Revision as of 00:25, 30 July 2024

This template adds rows to the table "Projects", which is declared by the template Projects declare. View table.