User:Bongolium500/Lua tests: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Line 67: Line 67:
Please ignore the stuff bellow.
Please ignore the stuff bellow.


== Examples ==
== Testing saving to variables ==
{{#invoke:Bongolium500/story cite|getInfo}}
{{#var:SC_STORE_01-Regeneration (TV story)}}


== Testing for next phase ==
{{#var:SC_STORE_01-The Lonely Assassins (video game)}}
{{#var:sc-Regeneration (TV story)}}


{{#var:sc-The Lonely Assassins (video game)}}
{{#var:SC_STORE_01-The Daleks (TV story)}}
 
{{#var:sc-The Daleks (TV story)}}


== Other tests ==
== Other tests ==
{{#invoke:Bongolium500/learning|pipeTest|Text{{!}}Text}}
{{#invoke:Bongolium500/learning|pipeTest|Text{{!}}Text}}

Revision as of 19:04, 8 January 2022

All modules invoked here will be subpages of Module:Bongolium500.

Citations test

This is now mostly functional. if you have any feedback, please let me know asap so that I can implement it.

Currently, I can make examples with a small amount of test pages. Click the + to expand the text. This is automatically generated and formatted using data fetched from the infobox. The technicalities here are going to change soon but it will be used the same.

(TV: The Daleks [+]Loading...["The Daleks (TV story)"])

(TV: Regeneration [+]Loading...["Regeneration (TV story)"])

(AUDIO: The Holy Terror [+]Loading...["The Holy Terror (audio story)"])

(TV: Rosa [+]Loading...["Rosa (TV story)"])

(PROSE: The Eight Doctors [+]Loading...["The Eight Doctors (novel)"])

I have not done the brackets and prefix for the others as I can't be bothered.

Mr Saldaamir [+]Loading...["Mr Saldaamir (short story)"]

Skywatch-7 [+]Loading...["Skywatch-7 (comic story)"]

The Klepton Parasites [+]Loading...["The Klepton Parasites (comic story)"]

The Lonely Assassins [+]Loading...["The Lonely Assassins (video game)"]

Doctor Who in an Exciting Adventure with the Daleks [+]Loading...["Doctor Who in an Exciting Adventure with the Daleks (novelisation)"]

The Dreadful Flap [+]Loading...["The Dreadful Flap (short story)"]

Rise and Fall [+]Loading...["Rise and Fall (audio story)"]

Martha Jones' MySpace blog [+]Loading...["Martha Jones' MySpace blog (short story)"] - I have no idea why this one doesn't work. I need to do some debugging.

The Boundless Sea [+]Loading...["The Boundless Sea (audio story)"]

Full Circle [+]Loading...["Full Circle (novelisation)"]

Other editions

(TV: The Five Doctors [+]Loading...["The Five Doctors (TV story)"])

(TV: The Five Doctors (special edition) [+]Loading...{"var":"special edition","1":"The Five Doctors (TV story)"})

Multiple versions/editions supported:

(TV: The Faceless Ones [+]Loading...["The Faceless Ones (TV story)"])

(TV: The Faceless Ones (animated reconstruction) [+]Loading...{"var":"animated reconstruction","1":"The Faceless Ones (TV story)"})

(TV: The Faceless Ones (telesnap reconstruction) [+]Loading...{"var":"telesnap reconstruction","1":"The Faceless Ones (TV story)"})

(TV: The Faceless Ones (narrated soundtrack) [+]Loading...{"var":"narrated soundtrack","1":"The Faceless Ones (TV story)"})

Accurate book citations

(PROSE: Doctor Who in an Exciting Adventure with the Daleks [+]Loading...{"ed":"1965 Armada edition","chapt":"1. A Meeting on the Common","1":"Doctor Who in an Exciting Adventure with the Daleks (novelisation)"})

(PROSE: The Eight Doctors [+]Loading...{"page":"10","1":"The Eight Doctors (novel)"})

(PROSE: The Eight Doctors [+]Loading...{"page":"10-20","1":"The Eight Doctors (novel)"})

Episode and part citations

(COMIC: The Klepton Parasites (part one) [+]Loading...{"part":"One","1":"The Klepton Parasites (comic story)"})

(TV: "The Dead Planet" [+]Part of The Daleks, Loading...{"namedep":"The Dead Planet (1)","1":"The Daleks (TV story)"})

Please ignore the stuff bellow.

Testing saving to variables

Other tests

Script error: The function "pipeTest" does not exist.