User:Syphilen/Test Site
Jump to navigation
Jump to search
Wiki Code you may copy if you want
Number of runs and runs since last rent
|label17 = Number of Runs: |data17 = {{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]]|format=count}} |label18 = Runs since Rent: |data18 = {{#expr:{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]]|format=count}}mod4}}
If put the code into the Infobox of a char it will display the number of runs and the runs since you should have paid rent. The position in the infobox is controlled via the numbers (labelX and dataX). So if you want to change their position adjust the numbers. Just make sure there's only one pair of data and label for each number.