Template:Camp supplies table/row: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<td>{{LgItemIcon|{{{name}}} }}</td> | <td>{{LgItemIcon|{{{name}}} }}</td> | ||
<td>{{{ | <td>{{{camp supplies}}}</td> | ||
<td>{{{price}}}</td> | <td>{{{price}}}</td> | ||
<td>{{#ifeq:{{{price}}}|0|-|{{#expr:{{{ | <td>{{#ifeq:{{{price}}}|0|-|{{#expr:{{{camp supplies}}}/{{{price}}} round 3}} }}</td> | ||
</tr></includeonly><noinclude> | </tr></includeonly><noinclude> | ||
Formats a row for camp supply efficiency table. Example: | Formats a row for camp supply efficiency table. Example: | ||
<table class="wikitable"> | <table class="wikitable"> | ||
{{:Camp Supplies/table row|name=Owlbear Egg| | {{:Camp Supplies/table row|name=Owlbear Egg|camp supplies=40|price=750}} | ||
{{:Camp Supplies/table row|name=Goodberry (Item)| | {{:Camp Supplies/table row|name=Goodberry (Item)|camp supplies=1|price=0}} | ||
</table> | </table> | ||
</noinclude> | </noinclude> |
Revision as of 07:47, 3 June 2024
Formats a row for camp supply efficiency table. Example:
Camp Supplies/table rowCamp Supplies/table row