Difference between revisions of "Template:Dialogue"

From The Coppermind
Jump to navigation Jump to search
m
Line 1: Line 1:
  +
<blockquote>
<div class="quote">
 
:'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = &laquo;''{{{2}}}''&raquo;| no = {{{2}}} |"''{{{2}}}''"}}
+
'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = &laquo;''{{{2}}}''&raquo;| no = {{{2}}} |"''{{{2}}}''"}}<br>
:'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = &laquo;''{{{4}}}''&raquo;| no = {{{4}}} |"''{{{4}}}''"}}{{#if:{{{5|}}}|
+
'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = &laquo;''{{{4}}}''&raquo;| no = {{{4}}} |"''{{{4}}}''"}}{{#if:{{{5|}}}|<br>
:'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = &laquo;''{{{6}}}''&raquo;| no = {{{6}}} |"''{{{6}}}''"}}}}{{#if:{{{7|}}}|
+
'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = &laquo;''{{{6}}}''&raquo;| no = {{{6}}} |"''{{{6}}}''"}}}}{{#if:{{{7|}}}|<br>
:'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = &laquo;''{{{8}}}''&raquo;| no = {{{8}}} |"''{{{8}}}''"}}}}{{#if:{{{9|}}}|
+
'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = &laquo;''{{{8}}}''&raquo;| no = {{{8}}} |"''{{{8}}}''"}}}}{{#if:{{{9|}}}|<br>
:'''{{{9}}}''': {{#switch:{{{line5|}}}| trans = &laquo;''{{{10}}}''&raquo;| no = {{{10}}} |"''{{{10}}}''"}}}}{{#if:{{{11|}}}|
+
'''{{{9}}}''': {{#switch:{{{line5|}}}| trans = &laquo;''{{{10}}}''&raquo;| no = {{{10}}} |"''{{{10}}}''"}}}}{{#if:{{{11|}}}|<br>
:'''{{{11}}}''': {{#switch:{{{line6|}}}| trans = &laquo;''{{{12}}}''&raquo;| no = {{{12}}} |"''{{{12}}}''"}}}}{{#if:{{{13|}}}|
+
'''{{{11}}}''': {{#switch:{{{line6|}}}| trans = &laquo;''{{{12}}}''&raquo;| no = {{{12}}} |"''{{{12}}}''"}}}}{{#if:{{{13|}}}|<br>
:'''{{{13}}}''': {{#switch:{{{line7|}}}| trans = &laquo;''{{{14}}}''&raquo;| no = {{{14}}} |"''{{{14}}}''"}}}}{{#if:{{{15|}}}|
+
'''{{{13}}}''': {{#switch:{{{line7|}}}| trans = &laquo;''{{{14}}}''&raquo;| no = {{{14}}} |"''{{{14}}}''"}}}}{{#if:{{{15|}}}|<br>
:'''{{{15}}}''': {{#switch:{{{line8|}}}| trans = &laquo;''{{{16}}}''&raquo;| no = {{{16}}} |"''{{{16}}}''"}}}}{{#if:{{{17|}}}|
+
'''{{{15}}}''': {{#switch:{{{line8|}}}| trans = &laquo;''{{{16}}}''&raquo;| no = {{{16}}} |"''{{{16}}}''"}}}}{{#if:{{{17|}}}|<br>
:'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = &laquo;''{{{18}}}''&raquo;| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|
+
'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = &laquo;''{{{18}}}''&raquo;| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|<br>
:'''{{{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|}}}|<!--
 
-->{{#if:{{{src|}}}|{{#if:{{{url|}}}|<!--
 
--><sup class="noprint plainlinks">[{{{src|}}} <nowiki>[src]</nowiki>]</sup>|<!--
 
--><sup class="noprint plainlinks">[{{{src|}}} <nowiki>[src]</nowiki>]</sup>|<!--
 
--><sup class="noprint">[[{{{src|}}}|[src]]]</sup>}}|<includeonly>[[Category: Unsourced quotes]]</includeonly><!--
 
--><sup class="noprint">[[{{{src|}}}|[src]]]</sup>}}|<includeonly>[[Category: Unsourced quotes]]</includeonly><!--
-->}}</div><!--
+
-->}}</blockquote><!--
   
 
--><noinclude> __NOTOC__
 
--><noinclude> __NOTOC__

Revision as of 17:45, 1 February 2014

{{{1}}}: "{{{2}}}"
{{{3}}}: "{{{4}}}"

―{{{attr}}}

Usage

{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|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.
  • |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|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Coppermind:Welcome}}

Result:

User 1: "Hello."
User 2: "Hey."

―Two guys[src]

Code: {{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys|src=Coppermind:Welcome}}

Result:

User 1: "Hello."
User 2: "Hey."
User 3: "Hey guys."

―Three guys[src]


Code: {{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=Coppermind:Welcome}}

Result:

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."

―Four guys with a total of five dialogues[src]

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=http://coppermind.net/wiki/Talk:Kaladin}}

Result:

User 1: "Hello."
User 2: "Hey."
User 3: "Hey guys."
User 4: "Wanna hear a joke?"

―Four guys with a total of four dialogues[src]

Using linex

Code: {{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|«''Hey!''» [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}

Result:

Alethi 1: "Hello."
Veden 1: «Hey!»
Alethi 2: [waves] "Hey guys."
Veden 2: «Hey!» [pounds chest]

―Conversation[src]

This page was taken from Wookiepedia