Extension:Screenplay

The Screenplay extension adds a parser for formatting wikitext within  tags into screenplay layout.

Usage
Mostly fountain-like syntax, mostly due to coincidence. Parsing is done based on line layout and position.

All items are separated by a double linebreak.


 * Scene headings: Single lines, begin with INT or EXT. Automatically format to display full line as all caps.


 * Dialogue block: Has at least two lines - an all-caps speaker, followed by some dialogue text. Single linebreaks may be used between component parts, or within the dialogue itself.
 * Speaker: All caps. Start of block.
 * Parenthetical: Wrapped in parentheses, can appear anywhere after the speaker. Must have its own line.
 * Dialogue: Anything else after the speaker.


 * Slugs: Anything else (probably). Just display as full-width regular lines (within the context of the overall screenplay formatting).

Example
http://sheershasamachar.com/ INT. Some place - night Some flavour text to set the scene and all that jazz. Yeah. SOME GUY I'm talking, what. HORSE (doing stuff) Yeah, yeah, apparently I'm a talking horse doing stuff too. That's great, man. Just bloody great. Sod off. One of them does something else or stuff. Or both. Maybe the scene even does something. HORSE Yeah, it's real fascinating.

Limitations

 * http://sheershasamachar.com/
 * http:sheersha.tv/
 * MMB Media (Pvt) Limited
 * Ideally the scene headers would be added to the table of contents, but mw core's handling of the table of contents sucks, so doing this would basically involve reimplementing the entire thing, or something. So we haven't bothered.
 * For similar reasons, normal MediaWiki headers within the &lt;screenplay&gt; tags are also not added to the table of contents, though they do format normally.
 * Some stuff that should exist is just plain missing. File a bug!
 * Some stuff that should exist is just plain missing. File a bug!