Template:Stage script

This template is used to easily create a script list for stage plays articles.

How to use
This section explains how to copy a stage script, and turn it to a wiki script for play articles.

Preparations
First of all, download Notepad++, a free text editor. Its replace feature, which is accessible from its search window (Ctrl+F), can make the work very easy.

Stage 1
Open the Stage Script JSON file. Copy its content to an empty page (or if you're using Notepad++, open a new document). It should look like this: [{"note":"A Humbug Holiday"},{"name":"Ghost of Yesterday","message":"Knock knock!"},{"name":"Humbug","message":"Who's there? Go away I'm sleeping!"},{"name":"Ghost of Yesterday","message":"It's the Ghost of Yesterday. Hi!"},{"name":"Humbug","message":"So? What do you want?"},{"name":"Ghost of Yesterday","message":"I'm here to remind you..."},{"name":"Humbug","message":"Bah! I know this story. I've been unkind, I get it"},{"name":"Ghost of Yesterday","message":"Nah, I don't care about that. I'm here to remind you..."},{"name":"Ghost of Yesterday","message":"...about your laundry! You left socks in the dryer"},{"name":"Humbug","message":"Oh, thank you!"},{"note":"Humbug goes back to sleep"},{"name":"Ghost of Today","message":"Knock knock!"},{"name":"Ghost of Today","message":"I said KNOCK KNOCK!"},{"name":"Humbug","message":"Bah! I'm trying to sleep! Who is it now?!"},{"name":"Ghost of Today","message":"It's me the Ghost of Today"},{"name":"Humbug","message":"What's so important?"},{"name":"Ghost of Today","message":"There's a holiday sale on fruit cake. TODAY ONLY!"},{"name":"Humbug","message":"Dried fruit dessert! My favorite! Thank you, ghost"},{"note":"Humbug buys eleventeen fruit cakes"},{"name":"Humbug","message":"Now to enjoy this dried fruit delicacy in peace"},{"name":"Humbug","message":"Ooh extra prunes!"},{"name":"Ghost of Tomorrow","message":"scratches at window"},{"name":"Humbug","message":"Ugh what's that awful sound?!"},{"name":"Ghost of Tomorrow","message":"Fruitcaaaaake"},{"name":"Humbug","message":"Who said that?"},{"note":"Ghost of Tomorrow steps out of shadows"},{"name":"Humbug","message":"Ghost, are you here to show me my future?"},{"name":"Ghost of Tomorrow","message":"Yes!"},{"name":"Humbug","message":"Well what is it?"},{"name":"Ghost of Tomorrow","message":"I foresee disappointment"},{"note":"Ghost snatches Humbug's fruitcake and runs away"},{"name":"Humbug","message":"BAH! My fruitcake! Come back thief!"},{"name":"Humbug","message":"shakes flipper"},{"name":"Humbug","message":"And everyone wonders why I'm so grumpy!"},{"note":"THE END!"},{"note":"Director"},{"name":"Director","message":"Places please!"},{"name":"Director","message":"5 minute call, actors to the stage."},{"name":"Director","message":"Let's take it from the top!"},{"name":"Director","message":"That's a wrap!"}] First remove the [ and the ] characters from the end and beginning of the script (first character and last character).

Stage 2
Now, in the replace tool, set the Search Mode selection to Extended, and replace the following string: },{ With: }\n{ Then hit Replace All (after this step you can then reset the Search Mode to Normal). The result should look like this:  {"note":"A Humbug Holiday"} {"name":"Ghost of Yesterday","message":"Knock knock!"} {"name":"Humbug","message":"Who's there? Go away I'm sleeping!"} {"name":"Ghost of Yesterday","message":"It's the Ghost of Yesterday. Hi!"} {"name":"Humbug","message":"So? What do you want?"} {"name":"Ghost of Yesterday","message":"I'm here to remind you..."} {"name":"Humbug","message":"Bah! I know this story. I've been unkind, I get it"} {"name":"Ghost of Yesterday","message":"Nah, I don't care about that. I'm here to remind you..."} {"name":"Ghost of Yesterday","message":"...about your laundry! You left socks in the dryer"} {"name":"Humbug","message":"Oh, thank you!"},{"note":"Humbug goes back to sleep"} {"name":"Ghost of Today","message":"Knock knock!"} {"name":"Ghost of Today","message":"I said KNOCK KNOCK!"} {"name":"Humbug","message":"Bah! I'm trying to sleep! Who is it now?!"} {"name":"Ghost of Today","message":"It's me the Ghost of Today"} {"name":"Humbug","message":"What's so important?"} {"name":"Ghost of Today","message":"There's a holiday sale on fruit cake. TODAY ONLY!"} {"name":"Humbug","message":"Dried fruit dessert! My favorite! Thank you, ghost"} {"note":"Humbug buys eleventeen fruit cakes"} {"name":"Humbug","message":"Now to enjoy this dried fruit delicacy in peace"} {"name":"Humbug","message":"Ooh extra prunes!"} {"name":"Ghost of Tomorrow","message":"scratches at window"} {"name":"Humbug","message":"Ugh what's that awful sound?!"} {"name":"Ghost of Tomorrow","message":"Fruitcaaaaake"} {"name":"Humbug","message":"Who said that?"} {"note":"Ghost of Tomorrow steps out of shadows"} {"name":"Humbug","message":"Ghost, are you here to show me my future?"} {"name":"Ghost of Tomorrow","message":"Yes!"} {"name":"Humbug","message":"Well what is it?"} {"name":"Ghost of Tomorrow","message":"I foresee disappointment"} {"note":"Ghost snatches Humbug's fruitcake and runs away"} {"name":"Humbug","message":"BAH! My fruitcake! Come back thief!"} {"name":"Humbug","message":"shakes flipper"} {"name":"Humbug","message":"And everyone wonders why I'm so grumpy!"} {"note":"THE END!"} {"note":"Director"} {"name":"Director","message":"Places please!"} {"name":"Director","message":"5 minute call, actors to the stage."} {"name":"Director","message":"Let's take it from the top!"} {"name":"Director","message":"That's a wrap!"}

Stage 3
Now, replace all: {"note":" With: {{Stage note| And all the: "} With: }}

It should now look like this: 

{"name":"Ghost of Yesterday","message":"Knock knock!}} {"name":"Humbug","message":"Who's there? Go away I'm sleeping!}} {"name":"Ghost of Yesterday","message":"It's the Ghost of Yesterday. Hi!}} {"name":"Humbug","message":"So? What do you want?}} {"name":"Ghost of Yesterday","message":"I'm here to remind you...}} {"name":"Humbug","message":"Bah! I know this story. I've been unkind, I get it}} {"name":"Ghost of Yesterday","message":"Nah, I don't care about that. I'm here to remind you...}} {"name":"Ghost of Yesterday","message":"...about your laundry! You left socks in the dryer}} {"name":"Humbug","message":"Oh, thank you!}}, {"name":"Ghost of Today","message":"Knock knock!}} {"name":"Ghost of Today","message":"I said KNOCK KNOCK!}} {"name":"Humbug","message":"Bah! I'm trying to sleep! Who is it now?!}} {"name":"Ghost of Today","message":"It's me the Ghost of Today}} {"name":"Humbug","message":"What's so important?}} {"name":"Ghost of Today","message":"There's a holiday sale on fruit cake. TODAY ONLY!}} {"name":"Humbug","message":"Dried fruit dessert! My favorite! Thank you, ghost}}

{"name":"Humbug","message":"Now to enjoy this dried fruit delicacy in peace}} {"name":"Humbug","message":"Ooh extra prunes!}} {"name":"Ghost of Tomorrow","message":"scratches at window}} {"name":"Humbug","message":"Ugh what's that awful sound?!}} {"name":"Ghost of Tomorrow","message":"Fruitcaaaaake}} {"name":"Humbug","message":"Who said that?}}

{"name":"Humbug","message":"Ghost, are you here to show me my future?}} {"name":"Ghost of Tomorrow","message":"Yes!}} {"name":"Humbug","message":"Well what is it?}} {"name":"Ghost of Tomorrow","message":"I foresee disappointment}}

{"name":"Humbug","message":"BAH! My fruitcake! Come back thief!}} {"name":"Humbug","message":"shakes flipper}} {"name":"Humbug","message":"And everyone wonders why I'm so grumpy!}}

{"name":"Director","message":"Places please!}} {"name":"Director","message":"5 minute call, actors to the stage.}} {"name":"Director","message":"Let's take it from the top!}} {"name":"Director","message":"That's a wrap!}}

Stage 4
Now, replace all the: {"name":" With: {{Stage phrase| And all the: ","message":" With: | And it should look like this:  {{Stage note|A Humbug Holiday}} {{Stage phrase|Ghost of Yesterday|Knock knock!}} {{Stage phrase|Humbug|Who's there? Go away I'm sleeping!}} {{Stage phrase|Ghost of Yesterday|It's the Ghost of Yesterday. Hi!}} {{Stage phrase|Humbug|So? What do you want?}} {{Stage phrase|Ghost of Yesterday|I'm here to remind you...}} {{Stage phrase|Humbug|Bah! I know this story. I've been unkind, I get it}} {{Stage phrase|Ghost of Yesterday|Nah, I don't care about that. I'm here to remind you...}} {{Stage phrase|Ghost of Yesterday|...about your laundry! You left socks in the dryer}} {{Stage phrase|Humbug|Oh, thank you!}},{{Stage note|Humbug goes back to sleep}} {{Stage phrase|Ghost of Today|Knock knock!}} {{Stage phrase|Ghost of Today|I said KNOCK KNOCK!}} {{Stage phrase|Humbug|Bah! I'm trying to sleep! Who is it now?!}} {{Stage phrase|Ghost of Today|It's me the Ghost of Today}} {{Stage phrase|Humbug|What's so important?}} {{Stage phrase|Ghost of Today|There's a holiday sale on fruit cake. TODAY ONLY!}} {{Stage phrase|Humbug|Dried fruit dessert! My favorite! Thank you, ghost}} {{Stage note|Humbug buys eleventeen fruit cakes}} {{Stage phrase|Humbug|Now to enjoy this dried fruit delicacy in peace}} {{Stage phrase|Humbug|Ooh extra prunes!}} {{Stage phrase|Ghost of Tomorrow|scratches at window}} {{Stage phrase|Humbug|Ugh what's that awful sound?!}} {{Stage phrase|Ghost of Tomorrow|Fruitcaaaaake}} {{Stage phrase|Humbug|Who said that?}} {{Stage note|Ghost of Tomorrow steps out of shadows}} {{Stage phrase|Humbug|Ghost, are you here to show me my future?}} {{Stage phrase|Ghost of Tomorrow|Yes!}} {{Stage phrase|Humbug|Well what is it?}} {{Stage phrase|Ghost of Tomorrow|I foresee disappointment}} {{Stage note|Ghost snatches Humbug's fruitcake and runs away}} {{Stage phrase|Humbug|BAH! My fruitcake! Come back thief!}} {{Stage phrase|Humbug|shakes flipper}} {{Stage phrase|Humbug|And everyone wonders why I'm so grumpy!}} {{Stage note|THE END!}} {{Stage note|Director}} {{Stage phrase|Director|Places please!}} {{Stage phrase|Director|5 minute call, actors to the stage.}} {{Stage phrase|Director|Let's take it from the top!}} {{Stage phrase|Director|That's a wrap!}}

Stage 5

 * Last stage!

Now, place your content from the end of stage 4, inside this template:

So for this example: 