Template:Project row: Difference between revisions

From Everafter Falls Wiki

mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 6: Line 6:
|Name={{{name|}}}
|Name={{{name|}}}
|Icon={{#if:{{{use_icon|}}}|1|0}}
|Icon={{#if:{{{use_icon|}}}|1|0}}
|Requirements={{{requirement|}}}
|Requirements={{{requirement|''None''}}}
|Workshop={{{workshop|{{PAGENAME}}}}}
|Workshop={{{workshop|{{PAGENAME}}}}}
|Uses={{{use|}}}
|Mat1={{{mat1|}}}
|Mat1={{{mat1|}}}
|Amt1={{{amt1|}}}
|Amt1={{{amt1|}}}
Line 16: Line 17:
|Mat4={{{mat4|0}}}
|Mat4={{{mat4|0}}}
|Amt4={{{amt4|0}}}
|Amt4={{{amt4|0}}}
|Cost={{{cost|0}}}}} }}
|Cost={{{cost|0}}}
|SortIndex={{{sort_index|}}}
}} }}
|- {{#if:{{{image|}}}|<nowiki />
|- {{#if:{{{image|}}}|<nowiki />
{{!}}[[File:{{{image|}}}.png{{!}}60px{{!}}link=]]}}
{{!}}[[File:{{{image|}}}.png{{!}}60px{{!}}link=]]}}
|{{{name|}}}{{#if:{{{cost|}}}|<nowiki />
|{{#if:{{{use_icon|}}}|[[File:{{{name|}}} icon.png{{!}}link=]]}}{{{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>

Latest revision as of 23:44, 30 July 2024

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