Shortcut:
{{ps}}

This template is intended for formatting text in plays, scripts and similar texts. It creates a table that creates a standard format, with the lines indented equally.

Parameters

தொகு
Required
  • name: The character's name (or use the first unnumbered parameter).
  • lines: The character's lines (or use the second unnumbered parameter).
Optional
  • gap: Use this to change the width of the first column, the character's name (or use the third unnumbered parameter). It is measured in em's. This defaults to 5em. If changed from the default, this will be needed in each instance of the template.

Simple example

தொகு
{{playscript
 | Foo:
 | Hello, Bar.
}}
{{playscript
 | Bar:
 | Hello, Foo.
}}
Foo: Hello, Bar.
Bar: Hello, Foo.

The Tragedy of Macbeth, Act 1, Scene 1

தொகு
{{playscript
 | gap = 8
 | First Witch:
 | When shall we three meet again<br />In thunder, lightning, or in rain?
}}
{{playscript
 | gap = 8
 | Second Witch:
 | When the hurlyburly's done,<br />When the battle's lost and won.
}}
{{playscript
 | gap = 8
 | Third Witch:
 | That will be ere the set of sun.
}}
{{playscript
 | gap = 8
 | First Witch:
 | Where the place?
}}
{{playscript
 | gap = 8
 | Second Witch:
 | Upon the heath.
}}
{{playscript
 | gap = 8
 | Third Witch:
 | There to meet with Macbeth.
}}
{{playscript
 | gap = 8
 | First Witch:
 | I come, Graymalkin!
}}
{{playscript
 | gap = 8
 | Second Witch:
 | Paddock calls.
}}
{{playscript
 | gap = 8
 | Third Witch:
 | Anon.
}}
{{playscript
 | gap = 8
 | All:
 | Fair is foul, and foul is fair:<br />Hover through the fog and filthy air.
}}
First Witch: When shall we three meet again
In thunder, lightning, or in rain?
Second Witch: When the hurlyburly's done,
When the battle's lost and won.
Third Witch: That will be ere the set of sun.
First Witch: Where the place?
Second Witch: Upon the heath.
Third Witch: There to meet with Macbeth.
First Witch: I come, Graymalkin!
Second Witch: Paddock calls.
Third Witch: Anon.
All: Fair is foul, and foul is fair:
Hover through the fog and filthy air.

Lines continuing over two pages

தொகு

Alternative versions of this template exist for lines that extend over two pages in the Page namespace:

For example, assuming a line is broken in this manner:

Page 1 Page 2
Juliet: O Romeo, Romeo! wherefore art thou Romeo?

Deny thy father and refuse thy name;

Or, if thou wilt not, be but sworn my love,

And I'll no longer be a Capulet.

The first page should entered as:

{{playscript/s
 | Juliet:
 | O Romeo, Romeo! wherefore art thou Romeo?
Deny thy father and refuse thy name;}}

With a {{playscript/e}} in the footer.

NB: If the lines are expected to flow, with no line break, between pages, make sure that there is no line break before the end of the template. ie. The }} should immediately follow the text.

The second page should be entered as:

{{playscript/e
 |Or, if thou wilt not, be but sworn my love,
And I'll no longer be a Capulet.
}}

With a {{playscript/s}} in the header.

NB: Leaving a gap between the pipe and the start of the text can sometimes cause problems, so it is best avoided.

This template should only be used for short sections. Using this template for an entire play or act may cause performance problems in displaying the page properly (if at all).


"https://ta.wikisource.org/w/index.php?title=வார்ப்புரு:Playscript/doc&oldid=511955" இலிருந்து மீள்விக்கப்பட்டது