Difference between revisions of "User:Syphilen/Test Site"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Line 84: Line 84:




{{#ask: [[Category:Runs]] [[hasRunner::C-Unit 537 - Hunter]]
{{#ask: [[Category:Runs]] [[hasRunner::la Rapide]]
|mainlabel=-
|mainlabel=-
|format=datatable
|format=datatable

Revision as of 19:16, 26 October 2022

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

Total Runs: 2418

Oldest Run:

NameGMThreat LevelDateRunner
Tech Support ReturnsMudge15 April 2078Usagi
Ice Cube
R0B0H4TZ
James Krug
... further results


NameGMThreat LevelDateRunner
It's A GasTeksura4 April 2081Yata
Itztli
Moth
La Rapide
Dogs vs CatsDoc7 April 2081Frag Face
John Brown
La Rapide
Skylark
First and Last TimeEye of the Storm25 April 2081Evans Doyle
Riot
Chop Shop
Turul
La Rapide
Payday
Get Em' HighPillare4 May 2081Trash Panda
La Rapide
Moon Jelly
Gunner Smith (Huntsman)
Trailer Park ChummersAtlatl11 May 2081Fletchette
Turul
La Rapide
Wireless
The Battle of SolaceDarklordiablo
MadMan
Torq!
14 May 2081Night 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
404 ErrorAurora16 May 2081Howler
Janitor Dan
La Rapide
Wild Bull
Woman From Another Place
Where There Are Crumbs...Aurora25 May 2081Esper
La Rapide
Couronne
Bunraku BluesOtterMedium4 June 2081Ice Cube
Hot Mess
Flyboy
La Rapide
Piracy! On The High Seas!AuroraHigh6 March 2082La Rapide
Sp4rks
Babylon
The VantablackAsmodeusHigh13 March 2082Queen
La Rapide
Relay
Babylon
Ace
What Lies BeneathMurseyMedium2 April 2082Rougarou
La Rapide
Black Samurai
Stargazer
Operation: Kick the AnthillZerre de Seattle29 April 2082Pell
La Rapide
Milliam
Wrifter
Bogged Down And SwampedAsmodeusMedium6 May 2082Pell
La Rapide
Black Lotus
Strobe
Ain't Afraid Of No GhostAsmodeusHigh14 May 2082Pell
La Rapide
Swerve
Duchess
Dead and DeaderAuroraSemi-Prime20 May 2082La Rapide
Swerve
Red AlarmOnebiMedium1 June 2082La Rapide
Shy
A Box Within A BoxScrantonMedium5 June 2082La Rapide
Canter
Basilisk
Cricket
One Simple Bad DayDraknichigh10 September 2082La Rapide
Canter
Mortis
C0FF1N
Just The Right ColourAsmodeusMilk Run17 October 2082Nora Inu
La Rapide
Ty Vallynn
... further results