Template:Dialogue
More actions
This template creates a formatted dialogue/conversation box for scripts and multi-line exchanges. For excerpts that feature single-person speakers, please use {{quote}}.
Note: This template requires the CSS classes defined in MediaWiki:Citizen.css. Make sure the dialogue styling CSS has been added before using this template.
Usage
{{dialogue
|context=On Galactica's Flight Deck
|contextstyle=h2
|lines=
'''Lee Adama:''' Hey, did you see the note from the XO?
'''Kara Thrace:''' I saw it. No way.
'''Lee Adama:''' Kara, everyone else--
'''Kara Thrace:''' I don't fly with stims. They fudge with your reflexes, your reaction time.
|source="[[Act of Contrition]]"
}}
Or with H1 style for major scene breaks:
{{dialogue
|context=Act III, Scene 2
|contextstyle=h1
|lines=
'''Adama:''' So say we all.
'''Crew:''' So say we all!
|source="[[Miniseries]]"
}}
Or with italic style (default) for descriptive text:
{{dialogue
|context=When Lee and Kara discuss combat protocols:
|lines=
'''Lee Adama:''' Come on, Kara, give me a break.
'''Kara Thrace:''' Why are we arguing about this?
|source="[[Act of Contrition]]"
}}
Parameters
- context: Optional scene description or header text (e.g., "On Galactica's Flight Deck" or "When Adama visits Roslin:")
- contextstyle: Style of context - "h1" (larger header style), "h2" (smaller header style), or "italic" (descriptive text). Default: "italic"
- lines: The dialogue content (required) - Use bold for speaker names, italics for stage directions
- source: Optional episode/source citation
Formatting Guidelines
- Speaker names : Use triple apostrophes for bold:
Name: - Stage directions/actions : Use double apostrophes for italics:
(action) - Line breaks : Use a blank line (double carriage return) between each line of dialogue
- Context styles : Choose how to display the context line:
|contextstyle=italic(default) - Gray italic text for descriptive scene setting|contextstyle=h2- Yellow header style for scene locations or minor breaks|contextstyle=h1- Larger yellow header style for major scene breaks or act titles
Note: The template uses MediaWiki's <poem> tag internally, which preserves line breaks. Simply leave a blank line between each dialogue line.
Examples
Simple dialogue
Adama: So say we all.
Crew: So say we all!
Dialogue with H2 context style
On Galactica's Flight Deck
Roslin: You have your pound of flesh.
Adama: This was never personal.
Roslin: It always was.
Dialogue with H1 context style
Act II - The Confrontation
Roslin: You have your pound of flesh.
Adama: This was never personal.
Roslin: It always was.
Dialogue with italic context (default)
Roslin: You have your pound of flesh.
Adama: This was never personal.
Roslin: It always was.
Dialogue with stage directions
Starbuck: What do you hear?
Kat: Nothing but the rain.
(Starbuck smiles)
Starbuck: Then grab your gun and bring in the cat.
Extended conversation
Flight Deck Discussion
Lee Adama: Hey, did you see the note from the XO?
Kara Thrace: I saw it. No way.
Lee Adama: Kara, everyone else--
Kara Thrace: I don't fly with stims. They fudge with your reflexes, your reaction time.
Lee Adama: Come on, Kara, give me a break. Just--
Kara Thrace: Why are we arguing about this?
Lee Adama: I have no idea.
Kara Thrace: Neither do I. You're the CAG, act like one.
Creates a formatted dialogue/conversation box for scripts and multi-line exchanges with BSG Wiki styling
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Context | context | Optional scene description, location, or title (e.g., 'On Galactica's Flight Deck' or 'When Adama visits Roslin:') | String | optional |
| Context Style | contextstyle | Display style for the context line
| String | suggested |
| Dialogue Lines | lines 1 | The dialogue content. Use '''bold''' for speaker names and ''italics'' for stage directions. Leave blank lines between each line of dialogue. | Content | required |
| Source | source 2 | Optional episode or source citation (e.g., '[[Miniseries]]' or '[[Act of Contrition]]') | Page name | optional |