Template:Camp supplies table/row: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><tr>
<includeonly><tr>
<td>{{LgItemIcon|{{{name}}} }}</td>
<td>{{LgItemIcon|{{{name}}} }}</td>
<td>{{{supplies}}}</td>
<td>{{{camp supplies}}}</td>
<td>{{{price}}}</td>
<td>{{{price}}}</td>
<td>{{#ifeq:{{{price}}}|0|-|{{#expr:{{{supplies}}}/{{{price}}} round 3}} }}</td>
<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|supplies=40|price=750}}
{{Camp supplies table/row|name=Owlbear Egg|camp supplies=40|price=750}}
{{:Camp Supplies/table row|name=Goodberry (Item)|supplies=1|price=0}}
{{Camp supplies table/row|name=Goodberry (Item)|camp supplies=1|price=0}}
</table>
</table>
</noinclude>
</noinclude>

Latest revision as of 17:21, 5 June 2024

Formats a row for camp supply efficiency table. Example:

Owlbear Egg 40 750 0.053
Goodberry (Item) 1 0 -