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

Total Runs: 2418

Oldest Run:

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


NameGMThreat LevelDateRunner
Vaults Are SafesAsmodeusDeadly12 July 2085Heracles
Ashford
Saint
Neijing
Choke them allZerre11 March 2085Heracles
Blackhawk
Zan Zan
Qui sème le vent... Récolte l'AtomiqueZerreSemi-Prime8 December 2084Delphi
Artemisia
Heracles
Nu11st@ck
Blackhawk
Veles
Shadow Over KuopioSarcarianSemi-Prime11 September 2084Wychking
Katherine Tyler
Heracles
A Question of EthicsVilliersMedium4 August 2084Rurosha
Heracles
Shugi
Sizzles
Thunder
Draven
Ryuuji
Cleaning up the pastBulldogcDeadly28 July 2084Spider
Nova Kid
Delphi
Heracles
Transdualist ParadoxesAsmodeusExtreme26 June 2084Ca1yps0
Heracles
Icosahedral FacetsAsmodeusExtreme8 June 2084Spectre
Pell
Oathbane
Heracles
Pandora's CasketAsmodeusDeadly8 March 2084Babylon
Astrid
Heracles
Boss
Eidolon
Activate Developer ModeAsmodeusDeadly27 January 2084Queen
Scrappenny
Heracles
Radioactivity is still annoyingKaterSalemDeadly6 January 2084Heracles
Bulldozer
Lumina
Mojo Joe
À Longueur D'avanceSarcarianDeadly5 January 2084Zenith
Ice
Heracles
Janus
Operation AcheronKaterSalemSemi-Prime20 November 2083Spider
Al-Ahmar
Heracles
Irish Wolfcat ride a horseKaterSalemDeadly13 November 2083Scarecrow
Heracles
Give back my WeaponsKaterSalemHigh12 November 2083Heracles
Bulldozer
Haruko Olobella
The Last TabooZerreMedium7 October 2083Kera
C-Unit 537 - Hunter
Heracles
Angra Mainyu
Improvise.Adapt.EvolvexGuguluMedium1 October 2083Wildfire
Ice
Heracles
Seriously? To Space!?AuroraExtreme11 September 2083Carbon
Dr. Lollipop
Heracles
Basilisk LadyKaterSalemMedium15 August 2083Heracles
Bwyell Waedlyd
Star of the Sea
Return Of The Double Grande Nachos Supreme With Chicken: Delivery EditionAurora7 July 2083Rurosha
Roc
Heracles
Bomba Del ZarLHigh6 July 2083Eric Payne Boombox
Heracles
Heavy Ordnance
Red Flower
Fuckin' OverpricedEvaLow5 July 2083Silver
Rurosha
8133D3R
Heracles
Ryan Danes
Cavern CleanupEvaDeadly4 July 2083Shy
Katherine Tyler
Heracles
Red Flower
Shoe BootAsmodeusMedium7 June 20838133D3R
Heracles
It's Hard to Walk Away from a Winning StreakBrockMedium21 March 2083Orchid
Heart of the Tempest
Heracles
Striga


Runs from runner: 68

No active characters with this contact have been found.


32,815