User:Syphilen/Test Site

From ShadowHaven Reloaded
Jump to navigation Jump to search

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

Run NameRunner
Howler
Janitor Dan
La Rapide
Wild Bull
Woman From Another Place
La Rapide
Canter
Basilisk
Cricket
La Rapide
The Incredible Behemoth
Reaper
La Rapide
Basilisk
Waldgeist
Sexy Bonsai
La Rapide
La Rapide
0-K
Ice
Pell
La Rapide
Crazy Hoof
La Rapide
Jiang-shi
HardDrive
Pell
La Rapide
Swerve
Duchess
Rabbit
Spider
Shamrock
La Rapide
La Rapide
Crazy Hoof
Pell
La Rapide
Chipset
Spectre
La Rapide
Gigabite
Pell
La Rapide
Black Lotus
Strobe
Ice Cube
Hot Mess
Flyboy
La Rapide
C-Unit 537 - Hunter
La Rapide
The Incredible Behemoth
Dr. Lollipop
La Rapide
Shy
Gigabite
Crazy Hoof
La Rapide
Swerve
Frag Face
John Brown
La Rapide
Skylark
Marionette
La Rapide
Turm Falke
Heart of the Tempest
Crazy Hoof
Chipset
Rougarou
La Rapide
Heavy Ordnance
Drop Dead Gorgeous
Lappland
Rambozo The Clown
Pell
La Rapide
Canter
Evans Doyle
Riot
Chop Shop
Turul
La Rapide
Payday
La Rapide
Nogitsune
Akari
Voice of the Whirlwind
Geilrid
La Rapide
五代ロータス (Godai rōtasu)
Heart of the Tempest
Crazy Hoof
Chipset
Trash Panda
La Rapide
Moon Jelly
Gunner Smith (Huntsman)
C-Unit 537 - Hunter
La Rapide
Shy
La Rapide
Shy
HardDrive
Crazy Hoof
La Rapide
Donnager
Bannerette
Sasha
Spider
La Rapide
Charon
Swerve
La Rapide
Scarecrow
8133D3R
Max Pain
La Rapide
Master Morty
Six of Hearts
Akari
Sasha
La Rapide
Shy
Wychking
Takeshi "Kaminari" Hatsuke
4NG3L
Pell
La Rapide
Bannerette
Sasha
Yata
Itztli
Moth
La Rapide
La Rapide
Swerve
Nora Inu
La Rapide
Ty Vallynn
La Rapide
Oathbane
Shy
Donnager
Sasha
La Rapide
Canter
Mortis
C0FF1N
Eric Payne Boombox
La Rapide
Shy
Eye of the Typhoon
La Rapide
Bannerette
Sasha
La Rapide
Swerve
Shy
Bannerette
Pell
La Rapide
Milliam
Wrifter
Pell
La Rapide
Scarecrow
Voice of the Whirlwind
La Rapide
Sp4rks
Babylon
La Rapide
Red Flower
Corpse Maker
La Rapide
Shy
The Incredible Behemoth
Bulldozer
La Rapide
Gigabite
Crazy Hoof
Marionette
Rabbit
La Rapide
Shy
Heart of the Tempest
Marionette
La Rapide
Shy
Chipset
La Rapide
龍門
Wi66ly
Smiling Steve
La Rapide
Shy
La Rapide
Rurosha
Anansi
Red Ribbon
La Rapide
0-K
Throwback
Chameleon
Pell
La Rapide
Saalihah
Bollwerk
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
Luna
Pell
La Rapide
Bollwerk
La Rapide
Heart of the Tempest
Crazy Hoof
La Rapide
Babylon
Shy
Dr. Lollipop
Queen
La Rapide
Relay
Babylon
Ace
... further results