User:Bongolium500/Lua tests: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
 
(20 intermediate revisions by the same user not shown)
Line 33: Line 33:


{{User:Bongolium500/cite source|Martha Jones' MySpace blog (short story)}} - I have no idea why this one doesn't work. I need to do some debugging.  
{{User:Bongolium500/cite source|Martha Jones' MySpace blog (short story)}} - I have no idea why this one doesn't work. I need to do some debugging.  
{{User:Bongolium500/cite source|The Boundless Sea (audio story)}}
{{User:Bongolium500/cite source|Full Circle (novelisation)}}
=== Other editions ===
([[TV]]: {{User:Bongolium500/cite source|The Five Doctors (TV story)}})
([[TV]]: {{User:Bongolium500/cite source|The Five Doctors (TV story)|var=special edition}})
Multiple versions/editions supported:
([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)}})
([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)|var=animated reconstruction}})
([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)|var=telesnap reconstruction}})
([[TV]]: {{User:Bongolium500/cite source|The Faceless Ones (TV story)|var=narrated soundtrack}})
=== Accurate book citations ===
([[PROSE]]: {{User:Bongolium500/cite source|Doctor Who in an Exciting Adventure with the Daleks (novelisation)|ed=1965 Armada edition|chapt=1. A Meeting on the Common}})
([[PROSE]]: {{User:Bongolium500/cite source|The Eight Doctors (novel)|page=10}})
([[PROSE]]: {{User:Bongolium500/cite source|The Eight Doctors (novel)|page=10-20}})
=== Episode and part citations ===
([[COMIC]]: {{User:Bongolium500/cite source|The Klepton Parasites (comic story)|part=One}})
([[TV]]: {{User:Bongolium500/cite source|The Daleks (TV story)|namedep=The Dead Planet (1)}})
=== The Book of the War ===
Note the "et al."s for the writers. Hovering over this shows the rest.
([[PROSE]]: {{User:Bongolium500/cite source|The Book of the War (novel)|namedpart=Faction Hollywood|sect=Faction Hollywood|page=56|name=faction hollywood}})
([[PROSE]]: {{User:Bongolium500/cite source|The Book of the War (novel)|namedpart=The House Military|sect=The Core Entries|page=91|name=house military}})
Another option:
([[PROSE]]: {{User:Bongolium500/cite source|The Book of the War (novel)|chapt=Faction Hollywood|sect=Faction Hollywood|page=56}})
([[PROSE]]: {{User:Bongolium500/cite source|The Book of the War (novel)|chapt=The House Military|sect=The Core Entries|page=91}})
=== Per-page named citation ===
([[PROSE]]: {{User:Bongolium500/cite source|name=faction hollywood}})
([[PROSE]]: {{User:Bongolium500/cite source|name=house military}})


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-Regeneration (TV story)}}


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


{{#var:sc-The Daleks (TV story)}}
{{#var:SC_STORE_01-The Daleks (TV story)}}


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

Latest revision as of 19:25, 1 September 2022

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

Citations test[[edit] | [edit source]]

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[[edit] | [edit source]]

(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[[edit] | [edit source]]

(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[[edit] | [edit source]]

(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)"})

The Book of the War[[edit] | [edit source]]

Note the "et al."s for the writers. Hovering over this shows the rest.

(PROSE: "Faction Hollywood" [+]Part of The Book of the War, Loading...{"name":"faction hollywood","namedpart":"Faction Hollywood","sect":"Faction Hollywood","page":"56","1":"The Book of the War (novel)"})

(PROSE: "The House Military" [+]Part of The Book of the War, Loading...{"name":"house military","namedpart":"The House Military","sect":"The Core Entries","page":"91","1":"The Book of the War (novel)"})

Another option:

(PROSE: The Book of the War [+]Loading...{"page":"56","sect":"Faction Hollywood","chapt":"Faction Hollywood","1":"The Book of the War (novel)"})

(PROSE: The Book of the War [+]Loading...{"page":"91","sect":"The Core Entries","chapt":"The House Military","1":"The Book of the War (novel)"})

Per-page named citation[[edit] | [edit source]]

(PROSE: "Faction Hollywood" [+]Part of The Book of the War, Loading...{"name":"faction hollywood","namedpart":"Faction Hollywood","sect":"Faction Hollywood","page":"56","1":"The Book of the War (novel)"})

(PROSE: "The House Military" [+]Part of The Book of the War, Loading...{"name":"house military","namedpart":"The House Military","sect":"The Core Entries","page":"91","1":"The Book of the War (novel)"})



Please ignore the stuff bellow.

Testing saving to variables[[edit] | [edit source]]

Other tests[[edit] | [edit source]]

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