Ad placeholder

Template:Camp supplies table/row: Difference between revisions

Jump to navigation Jump to search
guard against div0
(Create)
 
(guard against div0)
Line 3: Line 3:
<td>{{{supplies}}}</td>
<td>{{{supplies}}}</td>
<td>{{{price}}}</td>
<td>{{{price}}}</td>
<td>{{#expr:{{{supplies}}}/{{{price}}} round 3}}</td>
<td>{{#ifeq:{{{price}}}|0|-|{{#expr:{{{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:
Line 9: Line 9:
<table class="wikitable">
<table class="wikitable">
{{:Camp Supplies/table row|name=Owlbear Egg|supplies=40|price=750}}
{{:Camp Supplies/table row|name=Owlbear Egg|supplies=40|price=750}}
{{:Camp Supplies/table row|name=Goodberry (Item)|supplies=1|price=0}}
</table>
</table>
</noinclude>
</noinclude>

Navigation menu