Editing Template:Dialogue

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
  +
<div class="quote">
<blockquote>
 
'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = &laquo;''{{{2}}}''&raquo;| no = {{{2}}} |"''{{{2}}}''"}}<br>
+
:'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = &laquo;''{{{2}}}''&raquo;| no = {{{2}}} |"''{{{2}}}''"}}
'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = &laquo;''{{{4}}}''&raquo;| no = {{{4}}} |"''{{{4}}}''"}}{{#if:{{{5|}}}|<br>
+
:'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = &laquo;''{{{4}}}''&raquo;| no = {{{4}}} |"''{{{4}}}''"}}{{#if:{{{5|}}}|
'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = &laquo;''{{{6}}}''&raquo;| no = {{{6}}} |"''{{{6}}}''"}}}}{{#if:{{{7|}}}|<br>
+
:'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = &laquo;''{{{6}}}''&raquo;| no = {{{6}}} |"''{{{6}}}''"}}}}{{#if:{{{7|}}}|
'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = &laquo;''{{{8}}}''&raquo;| no = {{{8}}} |"''{{{8}}}''"}}}}{{#if:{{{9|}}}|<br>
+
:'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = &laquo;''{{{8}}}''&raquo;| no = {{{8}}} |"''{{{8}}}''"}}}}{{#if:{{{9|}}}|
'''{{{9}}}''': {{#switch:{{{line5|}}}| trans = &laquo;''{{{10}}}''&raquo;| no = {{{10}}} |"''{{{10}}}''"}}}}{{#if:{{{11|}}}|<br>
+
:'''{{{9}}}''': {{#switch:{{{line5|}}}| trans = &laquo;''{{{10}}}''&raquo;| no = {{{10}}} |"''{{{10}}}''"}}}}{{#if:{{{11|}}}|
'''{{{11}}}''': {{#switch:{{{line6|}}}| trans = &laquo;''{{{12}}}''&raquo;| no = {{{12}}} |"''{{{12}}}''"}}}}{{#if:{{{13|}}}|<br>
+
:'''{{{11}}}''': {{#switch:{{{line6|}}}| trans = &laquo;''{{{12}}}''&raquo;| no = {{{12}}} |"''{{{12}}}''"}}}}{{#if:{{{13|}}}|
'''{{{13}}}''': {{#switch:{{{line7|}}}| trans = &laquo;''{{{14}}}''&raquo;| no = {{{14}}} |"''{{{14}}}''"}}}}{{#if:{{{15|}}}|<br>
+
:'''{{{13}}}''': {{#switch:{{{line7|}}}| trans = &laquo;''{{{14}}}''&raquo;| no = {{{14}}} |"''{{{14}}}''"}}}}{{#if:{{{15|}}}|
'''{{{15}}}''': {{#switch:{{{line8|}}}| trans = &laquo;''{{{16}}}''&raquo;| no = {{{16}}} |"''{{{16}}}''"}}}}{{#if:{{{17|}}}|<br>
+
:'''{{{15}}}''': {{#switch:{{{line8|}}}| trans = &laquo;''{{{16}}}''&raquo;| no = {{{16}}} |"''{{{16}}}''"}}}}{{#if:{{{17|}}}|
'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = &laquo;''{{{18}}}''&raquo;| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|<br>
+
:'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = &laquo;''{{{18}}}''&raquo;| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|
'''{{{19}}}''': {{#switch:{{{line10|}}}| trans = &laquo;''{{{20}}}''&raquo;| no = {{{20}}} |"''{{{20}}}''"}}}}
+
:'''{{{19}}}''': {{#switch:{{{line10|}}}| trans = &laquo;''{{{20}}}''&raquo;| no = {{{20}}} |"''{{{20}}}''"}}}}
:&#8213;{{{attr}}}
+
:&#8213;{{{attr}}}<!--
  +
-->{{#if:{{{src|}}}|{{#if:{{{url|}}}|<!--
</blockquote><!--
 
  +
--><sup class="noprint plainlinks">[{{{src|}}} <nowiki>[src]</nowiki>]</sup>|<!--
  +
--><sup class="noprint">[[{{{src|}}}|[src]]]</sup>}}|<includeonly>[[Category: Unsourced quotes]]</includeonly><!--
  +
-->}}</div><!--
   
--><noinclude> __NOTOC__[[category: templates]]
+
--><noinclude> __NOTOC__
   
== Usage ==
+
==Usage==
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|src=}}</nowiki></code>
+
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|attr=|audio=|url=|src=}}</nowiki></code>
 
*<tt>|linex=</tt> if this line is translated or you need the italics and the default quotation marks removed, enter <tt>|linex=trans</tt> or <tt>|linex=no</tt>, depending on what you want. <tt>x</tt> is the line number.
 
*<tt>|linex=</tt> if this line is translated or you need the italics and the default quotation marks removed, enter <tt>|linex=trans</tt> or <tt>|linex=no</tt>, depending on what you want. <tt>x</tt> is the line number.
  +
*<tt>|attr=</tt> enter attribution here.
  +
*<tt>|audio=</tt> if the dialogue has an audio version, enter the filename here without the "File:" prefix.
  +
*<tt>|url=</tt> if the source is a website, enter yes here.
 
*<tt>|src=</tt> enter source here; if the source is a website, enter the url here and add yes to the <tt>|url=</tt> parameter.
 
*<tt>|src=</tt> enter source here; if the source is a website, enter the url here and add yes to the <tt>|url=</tt> parameter.
 
'''The template currently supports up to ten speakers.'''
 
'''The template currently supports up to ten speakers.'''
   
== Examples ==
+
==Examples==
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys}}</nowiki></code>
+
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Wookieepedia}}</nowiki></code>
   
 
Result:
 
Result:
{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Coppermind:Welcome}}
+
{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Wookieepedia}}
   
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys}}</nowiki></code>
+
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys|src=Wookieepedia}}</nowiki></code>
   
 
Result:
 
Result:
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys}}
+
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Two guys|src=Wookieepedia}}
   
   
Code: <code><nowiki>{{Dialogue|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}}</nowiki></code>
+
Code: <code><nowiki>{{Dialogue|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=Wookieepedia}}</nowiki></code>
   
 
Result:
 
Result:
{{Dialogue|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}}
+
{{Dialogue|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=Wookieepedia}}
   
=== Using <tt>linex</tt> ===
+
===Using url as source===
  +
The code is basically the same, but you add a parameter, <tt>|url=yes</tt>, before the src parameter.
Code: <code><nowiki>{{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|&laquo;''Hey!''&raquo; [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}</nowiki></code>
 
  +
  +
Code: <code><nowiki>{{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=http://starwars.wikia.com/wiki/Talk:Anakin_Skywalker}}</nowiki></code>
  +
  +
Result:
  +
{{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=http://starwars.wikia.com/wiki/Talk:Anakin_Skywalker}}
  +
  +
===Using audio===
  +
Code: <code><nowiki>{{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&hellip; no. That's not true. That's impossible!|attr=[[Anakin Skywalker|Darth Vader]], revealing the truth to [[Luke Skywalker]]|audio=IAmYourFather.ogg|src=Star Wars Episode V: The Empire Strikes Back}}</nowiki></code>
  +
  +
Result:
  +
{{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&hellip; no. That's not true. That's impossible!|attr=[[Anakin Skywalker|Darth Vader]], revealing the truth to [[Luke Skywalker]]|audio=IAmYourFather.ogg|src=Star Wars Episode V: The Empire Strikes Back}}
  +
  +
===Using <tt>linex</tt>===
 
Code: <code><nowiki>{{Dialogue|Human 1|Hello.|Wookiee 1|line2=trans|Hey!|Human 2|line3=no|[waves] "''Hey guys.''"|Wookiee 2|line4=no|&laquo;''Rawr!''&raquo; [pounds chest]|attr=Conversation|src=Wookieepedia}}</nowiki></code>
   
 
Result:
 
Result:
{{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|&laquo;''Hey!''&raquo; [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}
+
{{Dialogue|Human 1|Hello.|Wookiee 1|line2=trans|Hey!|Human 2|line3=no|[waves] "''Hey guys.''"|Wookiee 2|line4=no|''&laquo;Rawr!&raquo;'' [pounds chest]|attr=Conversation|src=Wookieepedia}}
   
 
This page was taken from [http://starwars.wikia.com/wiki/Template:Dialogue Wookiepedia]
 
This page was taken from [http://starwars.wikia.com/wiki/Template:Dialogue Wookiepedia]
   
  +
[[Category: Templates|{{PAGENAME}}]]
== Articles using Template ==
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
 
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}
 

Please note that all contributions to The Coppermind are considered to be released under the CC4 by-nc-nd (see Coppermind:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: