Difference between revisions of "Template:Bounty row"

From QBWiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
 
{{!}} {{{4}}}{{#vardefine:active_bounty_flag|{{#ifexpr:{{{4|1}}}>={{{3|1}}}|1|0}}}}
 
{{!}} {{{4}}}{{#vardefine:active_bounty_flag|{{#ifexpr:{{{4|1}}}>={{{3|1}}}|1|0}}}}
 
{{!}} {{{5}}}
 
{{!}} {{{5}}}
{{!-}}{{#vardefine:available_money|{{#expr:({{{2|0}}}*{{{4|0}}})}}}}{{#vardefine:total_remaining_money|{{#expr:({{{2|0}}}*{{{3|0}}})}}}}</includeonly><noinclude>
+
{{!-}}{{#vardefine:available_money|{{#expr:({{{2|0}}}*{{{4|0}}})}}}}{{#vardefine:remaining_money|{{#expr:({{{2|0}}}*{{{3|0}}})}}}}</includeonly><noinclude>
 
{| class=wikitable
 
{| class=wikitable
 
! ID
 
! ID
Line 17: Line 17:
 
{{Bounty row|id=15| Contribute to the wiki | 23 | 1 | 120 | Just do it }}
 
{{Bounty row|id=15| Contribute to the wiki | 23 | 1 | 120 | Just do it }}
 
|}
 
|}
 +
 +
Uses the following variables:
 +
<pre>
 +
available_money
 +
remaining_money
 +
bounty_count
 +
active_bounty_flag
 +
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 12:11, 28 July 2022

ID Task Reward Remaining claims Total claims Instructions
15 Contribute to the wiki $ 23 1 120 Just do it

Uses the following variables:

available_money
remaining_money
bounty_count
active_bounty_flag