User:Syphilen/Test Site
Wiki Code you may copy if you want
Number of runs and runs since last rent
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.
|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}}
GM run table and number of runs as a GM
If you put this code onto your GM page it will give you a table that displays the runs you GMed. This is currently limited to showing the 10 most recent runs. if you want to change that just change the limit to the wanted number Just make sure that the name listed as the GM is indeed your user name.
{{#ask: [[Category:Runs]][[hasGM::{{PAGENAME}}]] |mainlabel=- |format=datatables |default=Haven't GMed a run yet. But it will happen somewhere in the future. |?=Name |?hasMetaplot=Metaplot |?hasDate=Date |?ThreatLevel=Threat Level |?hasRunner=Runners |limit=10 |sort=hasDate |order=descending }}
If you put this code onto your GM page it will give you the number of runs you did. Just make sure that the name listed as the GM is indeed your user name.
Number of runs as a GM: {{#ask: [[Category:Runs]][[hasGM::{{PAGENAME}}]]|format=count}}
Work in progress code that doesn't work
{{#ask: [[Category:Player Characters]][[hasRunner::{{PAGENAME}}]{{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]]|format=count}} |mainlabel=- |format=datatables |default=Haven't GMed a run yet. But it will happen somewhere in the future. |?=Name |?hasMetaplot=Metaplot |?hasDate=Date |?ThreatLevel=Threat Level |?hasRunner=Runners |limit=10 |sort=hasDate |order=descending }}
Just ignore this
Runner: Howler, Janitor Dan, La Rapide, Wild Bull, Woman From Another Place, Runner: La Rapide, Canter, Basilisk, Cricket, Runner: La Rapide, The Incredible Behemoth, Reaper, Runner: La Rapide, Basilisk, Waldgeist, Sexy Bonsai, Runner: La Rapide, Runner: La Rapide, 0-K, Ice, Runner: Pell, La Rapide, Crazy Hoof, Runner: La Rapide, Jiang-shi, HardDrive, Runner: Pell, La Rapide, Swerve, Duchess, Runner: Rabbit, Spider, Shamrock, La Rapide, Runner: La Rapide, Crazy Hoof, Runner: Pell, La Rapide, Chipset, Runner: Spectre, La Rapide, Gigabite, Runner: Pell, La Rapide, Black Lotus, Strobe, Runner: Ice Cube, Hot Mess, Flyboy, La Rapide, Runner: C-Unit 537 - Hunter, La Rapide, The Incredible Behemoth, Dr. Lollipop, Runner: La Rapide, Shy, Gigabite, Crazy Hoof, Runner: La Rapide, Swerve, Runner: Frag Face, John Brown, La Rapide, Skylark, Runner: Marionette, La Rapide, Turm Falke, Heart of the Tempest, Crazy Hoof, Chipset, Runner: Rougarou, La Rapide, Heavy Ordnance, Drop Dead Gorgeous, Lappland, Runner: Rambozo The Clown, Pell, La Rapide, Canter, Runner: Evans Doyle, Riot, Chop Shop, Turul, La Rapide, Payday, Runner: La Rapide, Nogitsune, Akari, Voice of the Whirlwind, Geilrid, Runner: La Rapide, 五代ロータス (Godai rōtasu), Heart of the Tempest, Crazy Hoof, Chipset, Runner: Trash Panda, La Rapide, Moon Jelly, Gunner Smith (Huntsman), Runner: C-Unit 537 - Hunter, La Rapide, Shy, Runner: La Rapide, Shy, HardDrive, Crazy Hoof, Runner: La Rapide, Donnager, Bannerette, Sasha, Runner: Spider, La Rapide, Charon, Swerve, Runner: La Rapide, Scarecrow, 8133D3R, Max Pain, Runner: La Rapide, Master Morty, Six of Hearts, Akari, Sasha, Runner: La Rapide, Shy, Wychking, Takeshi "Kaminari" Hatsuke, 4NG3L, Runner: Pell, La Rapide, Bannerette, Sasha, Runner: Yata, Itztli, Moth, La Rapide, Runner: La Rapide, Swerve, Runner: Nora Inu, La Rapide, Ty Vallynn, Runner: La Rapide, Oathbane, Shy, Donnager, Sasha, Runner: La Rapide, Canter, Mortis, C0FF1N, Runner: Eric Payne Boombox, La Rapide, Shy, Eye of the Typhoon, Runner: La Rapide, Bannerette, Sasha, Runner: La Rapide, Swerve, Shy, Bannerette, Runner: Pell, La Rapide, Milliam, Wrifter, Runner: Pell, La Rapide, Scarecrow, Voice of the Whirlwind, Runner: La Rapide, Sp4rks, Babylon, Runner: La Rapide, Red Flower, Corpse Maker, Runner: La Rapide, Shy, The Incredible Behemoth, Bulldozer, Runner: La Rapide, Gigabite, Crazy Hoof, Runner: Marionette, Rabbit, La Rapide, Shy, Heart of the Tempest, Runner: Marionette, La Rapide, Shy, Chipset, Runner: La Rapide, 龍門, Wi66ly, Smiling Steve, Runner: La Rapide, Shy, Runner: La Rapide, Rurosha, Anansi, Red Ribbon, Runner: La Rapide, 0-K, Throwback, Chameleon, Runner: Pell, La Rapide, Saalihah, Bollwerk, Runner: Night Claws - John Holis, Frag Face, Usagi, Waspkeeper, Ice Cube, Tanuki, Rabbit, Evans Doyle, CAPTAIN FREEFALL, Spider, Flyboy, Energizer, Shlice, Ikari, Rasputin, Moth, John Brown, La Rapide, Sinister, Itako, Sc4rl3tt, Runner: Luna, Pell, La Rapide, Bollwerk, Runner: La Rapide, Heart of the Tempest, Crazy Hoof, Runner: La Rapide, Babylon, Shy, Dr. Lollipop, Runner: Queen, La Rapide, Relay, Babylon, Ace... further results