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

NameRunner
404 ErrorHowler
Janitor Dan
La Rapide
Wild Bull
Woman From Another Place
A Box Within A BoxLa Rapide
Canter
Basilisk
Cricket
A Shadowrun Based on Can't Cheat Death by The Ballroom ThievesLa Rapide
The Incredible Behemoth
Reaper
A Strike Against House ChristobalLa Rapide
Basilisk
Waldgeist
Sexy Bonsai
A Very Unsuccessful AssassinationLa Rapide
A trip to the snowLa Rapide
0-K
Ice
AAAH FUCK WHAT'S THAT!Pell
La Rapide
Crazy Hoof
Adrian Maersk on detoursLa Rapide
Jiang-shi
HardDrive
Ain't Afraid Of No GhostPell
La Rapide
Swerve
Duchess
Anata ga tsuyokunainara - kashikoku nari nasaiRabbit
Spider
Shamrock
La Rapide
And Definitely Don't Mess With Crazy KnightsLa Rapide
Crazy Hoof
Angry Singed RaccoonPell
La Rapide
Chipset
Big Apple BayouSpectre
La Rapide
Gigabite
Bogged Down And SwampedPell
La Rapide
Black Lotus
Strobe
Bunraku BluesIce Cube
Hot Mess
Flyboy
La Rapide
Chaining the Broken MindC-Unit 537 - Hunter
La Rapide
The Incredible Behemoth
Dr. Lollipop
Dead On ArrivalLa Rapide
Shy
Gigabite
Crazy Hoof
Dead and DeaderLa Rapide
Swerve
Dogs vs CatsFrag Face
John Brown
La Rapide
Skylark
Don't Kick The AnthillMarionette
La Rapide
Turm Falke
Heart of the Tempest
Crazy Hoof
Chipset
Don't Mess with Raccoons, EitherRougarou
La Rapide
Heavy Ordnance
Drop Dead Gorgeous
Lappland
First Light in the ShadowsRambozo The Clown
Pell
La Rapide
Canter
First and Last TimeEvans Doyle
Riot
Chop Shop
Turul
La Rapide
Payday
Free the StreetLa Rapide
Nogitsune
Akari
Voice of the Whirlwind
Geilrid
Friendly Neighbourhood PoliticsLa Rapide
五代ロータス (Godai rōtasu)
Heart of the Tempest
Crazy Hoof
Chipset
Get Em' HighTrash Panda
La Rapide
Moon Jelly
Gunner Smith (Huntsman)
I Had Strings But Now I'm FreeC-Unit 537 - Hunter
La Rapide
Shy
I Of The StormLa Rapide
Shy
HardDrive
Crazy Hoof
Ice ArtLa Rapide
Donnager
Bannerette
Sasha
Idiot you negotiated with a dragonSpider
La Rapide
Charon
Swerve
Implement reclamationLa Rapide
Scarecrow
8133D3R
Max Pain
In. Out. Easy.La Rapide
Master Morty
Six of Hearts
Akari
Sasha
Investigate quickly, stay aliveLa Rapide
Shy
Wychking
Takeshi "Kaminari" Hatsuke
4NG3L
It is a good day to die in the beautiful landscape of KraichgauPell
La Rapide
Bannerette
Sasha
It's A GasYata
Itztli
Moth
La Rapide
It's Jarlin' TimeLa Rapide
Swerve
Just The Right ColourNora Inu
La Rapide
Ty Vallynn
No hope for MCT experimentsLa Rapide
Oathbane
Shy
Donnager
Sasha
One Simple Bad DayLa Rapide
Canter
Mortis
C0FF1N
Only a job for the AncientsEric Payne Boombox
La Rapide
Shy
Eye of the Typhoon
Operation AmethystLa Rapide
Bannerette
Sasha
Operation PhysicusLa Rapide
Swerve
Shy
Bannerette
Operation: Kick the AnthillPell
La Rapide
Milliam
Wrifter
Paris Deep InsidePell
La Rapide
Scarecrow
Voice of the Whirlwind
Piracy! On The High Seas!La Rapide
Sp4rks
Babylon
Please Don't Drop ItLa Rapide
Red Flower
Corpse Maker
Prometheus 4La Rapide
Shy
The Incredible Behemoth
Bulldozer
Proverbs 30:14La Rapide
Gigabite
Crazy Hoof
RebellionMarionette
Rabbit
La Rapide
Shy
Heart of the Tempest
Reconnaissance Step 1: SeattleMarionette
La Rapide
Shy
Chipset
Reconnaissance Step 2: HamburgLa Rapide
龍門
Wi66ly
Smiling Steve
Red AlarmLa Rapide
Shy
RemaniementLa Rapide
Rurosha
Anansi
Red Ribbon
Shock DoctrineLa Rapide
0-K
Throwback
Chameleon
Tacoma TroubleshootingPell
La Rapide
Saalihah
Bollwerk
The Battle of SolaceNight 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
The FBI Is Still Fine I'm SureLuna
Pell
La Rapide
Bollwerk
The Infected and the BugbearsLa Rapide
Heart of the Tempest
Crazy Hoof
The Secrets in the TreesLa Rapide
Babylon
Shy
Dr. Lollipop
The VantablackQueen
La Rapide
Relay
Babylon
Ace
... further results