Difference between revisions of "Template:Bounties"

From QBWiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellspacing="5" style="width: 12em; float: right; text-align: left; font-size: 88%; line-height: 1.5em; border: solid 1px grey; background: #f9f9f9; padding: 3px;"
+
{{Save|active_bounty_count|i|text|active_bounty_flag}}{| cellspacing="5" style="width: 12em; float: right; text-align: left; font-size: 88%; line-height: 1.5em; border: solid 1px grey; background: #f9f9f9; padding: 3px;"
 
|-
 
|-
 
| colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background: gold;" |
 
| colspan="2" style="text-align: center; font-size: 125%; font-weight: bold; background: gold;" |
Line 7: Line 7:
 
<hr/>
 
<hr/>
 
|-
 
|-
|[[QBWiki:WikiProject Bounties#Active bounties|Active]]: ''3''
+
|[[QBWiki:WikiProject Bounties#Active bounties|Active]]: {{#vardefine:active_bounty_count|0}}{{#loop:i|1|100|{{#ifexist:QBWiki:WikiProject Bounties/{{#var:i}}|{{#vardefine:text|{{QBWiki:WikiProject Bounties/{{#var:i}}}}}}{{#vardefine:active_bounty_count|{{#expr:{{#var:active_bounty_flag}}+{{#var:active_bounty_count}}}}}}}}}}''{{#var:active_bounty_count}}''
 
|-
 
|-
|}
+
|}{{Load|active_bounty_count|i|text|active_bounty_flag}}<noinclude>Format for this box largely borrowed from [[Template:Project missing articles]].</noinclude>
<noinclude>Format for this box largely borrowed from [[Template:Project missing articles]].</noinclude>
 

Latest revision as of 11:53, 28 July 2022

Bounties

Overview

Active: 6

Format for this box largely borrowed from Template:Project missing articles.