Difference between revisions of "Template:Bounty row"

From QBWiki
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{!-}}
 
<includeonly>{{!-}}
{{!}} [[QBWiki:WikiProject Bounties/{{#vardefineecho:id|{{{id|{{#expr:{{#var:id}}+1}}}}}}}|{{#var:id}}]]
+
{{!}} style="text-align:center;" {{!}} [[QBWiki:WikiProject Bounties/{{#vardefineecho:id|{{{id|{{#expr:{{#var:id}}+1}}}}}}}|#{{#var:id}}]]
 
{{!}} {{{1}}}
 
{{!}} {{{1}}}
 
{{!}} bgcolor={{Hex interpolate|ffd700|ffffff|fraction={{#expr:{{{2|1}}}/50}}}}{{!}}${{{2|0}}}
 
{{!}} bgcolor={{Hex interpolate|ffd700|ffffff|fraction={{#expr:{{{2|1}}}/50}}}}{{!}}${{{2|0}}}

Latest revision as of 10:19, 7 September 2022

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

Uses the following variables:

Variable name Description Value in this example
available_money The money offered by this bounty (reward * total claims) 2760
remaining_money The money still available from this bounty (reward * remaining claims) 23
active_bounty_flag 1 if active (>0 remaining claims), 0 if not 1