Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 04:56, 20 March 2026 by Admin (talk | contribs) (Created page with "<div class="quote"> :'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = «''{{{2}}}''»| no = {{{2}}} |"{{{2}}}"}} :'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = «''{{{4}}}''»| no = {{{4}}} |"{{{4}}}"}}{{#if:{{{5|}}}| :'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = «''{{{6}}}''»| no = {{{6}}} |"{{{6}}}"}}}}{{#if:{{{7|}}}| :'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = «''{{{8}}}''»| no = {{{8}}} |"{{{8}}}"}}}}{{#if:{{{9|}}}| :'...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{1}}}: "{{{2}}}"
{{{3}}}: "{{{4}}}"
―{{{attr}}}


Usage

{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|attr=|audio=|url=|src=}}

  • |linex= if this line is translated or you need the italics and the default quotation marks removed, enter |linex=trans or |linex=no, depending on what you want. x is the line number.
  • |attr= enter attribution here.
  • |audio= if the dialogue has an audio version, enter the filename here without the "File:" prefix.
  • |url= if the source is a website, enter yes here.
  • |src= enter source here; if the source is a website, enter the url here and add yes to the |url= parameter.

The template currently supports up to ten speakers.

Examples

Code: {{Dialogue/wikitext|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Main Page}}

Result: Template:Dialogue/wikitext

Please note that Template:T should be used instead of Template:T in quotes with two speakers.

Code: {{Dialogue/wikitext|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys|src=Main Page}}

Result: Template:Dialogue/wikitext


Code: {{Dialogue/wikitext|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Hey user 1, could you review my article?|User 1|Sure. I'll get to it ASAP.|attr=Four guys with a total of five dialogues|src=Main Page}}

Result: Template:Dialogue/wikitext

Using url as source

The code is basically the same, but you add a parameter, |url=yes, before the src parameter.

Code: {{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Wanna hear a joke?|attr=Four guys with a total of four dialogues|url=yes|src=https://starwars.fandom.com/wiki/Talk:Anakin_Skywalker}}

Result: Template:Dialogue/wikitext

Using audio

Code: {{Dialogue|Vader|Obi-Wan never told you what happened to your father.|Luke|He told me enough. He told me you killed him.|Vader|No. ''I'' am your father.|Luke|No… no. That's not true. That's impossible!|attr=[[w:c:starwars:Anakin Skywalker|Darth Vader]], revealing the truth to [[w:c:starwars:Luke Skywalker|Luke Skywalker]]|audio=IAmYourFather.ogg|url=yes|src=src=https://starwars.fandom.com/wiki/Star_Wars:_Episode_V_The_Empire_Strikes_Back}}

Result: Template:Dialogue/wikitext

Using linex

Code: {{Dialogue|Human 1|Hello.|Wookiee 1|line2=trans|Hey!|Human 2|line3=no|[waves] "''Hey guys.''"|Wookiee 2|line4=no|«''Rawr!''» [pounds chest]|attr=Conversation|src=Main Page}}

Result: Template:Dialogue/wikitext

See also