Difference between revisions of "User:Syphilen/Test Site"
Line 53: | Line 53: | ||
}} | }} | ||
</pre> | </pre> | ||
=Just ignore this= | |||
{{#ask: [[Category:Runs]][[hasRunner::Ace]] | |||
|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 | |||
}} |
Revision as of 12:55, 17 July 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
Name | Metaplot | Date | Threat Level | Runners |
---|---|---|---|---|
Slow And Insidious Killer | The Crow of Seattle The Arrival | 15 November 2083 | High | Ace Throwback ChromeDome Elaine |
The Diamonds in the Rough | 10 August 2083 | Deadly | Ace Bulldozer | |
The FBI might need a little help | 11 April 2083 | High | Scrappenny Ace | |
Never Too Old to Die | 10 April 2083 | Deadly | Ace Merc | |
Candlemas Run | 2 February 2083 | High | Rougarou Energizer Skimmer Ace | |
Run In The SOX Wasteland | 15 November 2082 | High | Scrappenny Ace Dr. Lollipop | |
Heartache by the number | When You Reach Me | 29 October 2082 | High | Energizer Lucky Ace Donnager |
Undervalued Prisoner | Pacific Grudge | 29 September 2082 | High | Spider Ace Swerve Europa |
The FBI Is Totally Fine | 21 August 2082 | Semi-Prime | Delphi Black Samurai Ace Cricket Koschei Wychking | |
Snitches Get... Well, You Know the Rest | ShadowHaven Shutdown | 12 August 2082 | High | Rewired Black Samurai Ace Barracuda Cricket |
... further results |