Template:Dialogue: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
(fixing issue with template)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="quote"><br />
<div class="quote"><br />
:<span {{T|1=title="Source:&nbsp;{{{6}}}"|1{{{6|}}}=}}>'''{{{1}}}''': "''{{{2}}}''"
:'''{{{1}}}''': "''{{{2}}}''"
:'''{{{3}}}''': "''{{{4}}}''"</span>
:'''{{{3}}}''': "''{{{4}}}''"
:&#8213;{{{5}}}
:&#8213;{{{5}}}{{#if:{{{src|}}}|{{#if:{{{url|}}}|<sup class="noprint plainlinks">[{{{src|}}} <nowiki>[src]</nowiki>]</sup>|<sup class="noprint">[[{{{src|}}}|[src]]]</sup>}}|}}
</div><noinclude>__NOTOC__
</div><noinclude>__NOTOC__
==Usage instructions==
==Usage instructions==
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue1|speaker2|speaker2 dialogue1|attribution|source}}</nowiki></code>
<code><nowiki>{{Dialogue|speaker1|dialogue1|speaker2|dialogue2|attribution}}</nowiki></code>
 
===Notes===
*If any text is assigned to the ''source'' field, it will be rendered as a browser tool tip.


==Example==
==Example==
====Code====
====Code====
<code><nowiki>{{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City|Star Wars Episode V: The Empire Strikes Back}}</nowiki></code>
Without Source:
<code><nowiki>{{Dialogue|Leia Organa|I love you.|Han Solo|I know.|attr=Leia Organa and Han Solo in Cloud City}}</nowiki></code>
 
With Source:
<code><nowiki>{{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City|url=yes|src=http://starwars.wikia.com/wiki/Star_Wars:_Episode_V_The_Empire_Strikes_Back}}</nowiki></code>


====Result====
====Result====
{{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City|Star Wars Episode V: The Empire Strikes Back}}
Without Source: {{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City}}
 
With Source: {{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City|url=yes|src=http://starwars.wikia.com/wiki/Star_Wars:_Episode_V_The_Empire_Strikes_Back}}
 
 


[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 04:30, 1 February 2015


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

Usage instructions

{{Dialogue|speaker1|dialogue1|speaker2|dialogue2|attribution}}

Example

Code

Without Source: {{Dialogue|Leia Organa|I love you.|Han Solo|I know.|attr=Leia Organa and Han Solo in Cloud City}}

With Source: {{Dialogue|Leia Organa|I love you.|Han Solo|I know.|Leia Organa and Han Solo in Cloud City|url=yes|src=http://starwars.wikia.com/wiki/Star_Wars:_Episode_V_The_Empire_Strikes_Back}}

Result

Without Source:


Leia Organa: "I love you."
Han Solo: "I know."
―Leia Organa and Han Solo in Cloud City

With Source:


Leia Organa: "I love you."
Han Solo: "I know."
―Leia Organa and Han Solo in Cloud City[src]