Difference between revisions of "Template:Dialogue2"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
m
m (trying something)
 
(2 intermediate revisions by one user not shown)
Line 3: Line 3:
 
:'''{{{3}}}''': "''{{{4}}}''"
 
:'''{{{3}}}''': "''{{{4}}}''"
 
:'''{{{1}}}''': "''{{{5}}}''"</span>
 
:'''{{{1}}}''': "''{{{5}}}''"</span>
:&mdash; {{{6}}}
+
:&mdash; {{{6}}}{{#if:{{{7|}}}|<sup>[[{{{7|}}}|[src]]]</sup>}}
</div><noinclude>{{Eras|sprot}} __NOTOC__
+
</div><noinclude>
 
==Usage instructions==
 
==Usage instructions==
<code><nowiki>{{Dialogue2|speaker1|speaker1 dialogue1|speaker2|speaker2 dialogue1|speaker1 dialogue2|attribution}}</nowiki></code>
+
<code><nowiki>{{Dialogue2|speaker1|speaker1 dialogue1|speaker2|speaker2 dialogue1|speaker1 dialogue2|attribution|source}}</nowiki></code>
  
 
===Notes===
 
===Notes===
*If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tooltip|tooltip]].
+
*If any text is assigned to the ''source'' field, it will be rendered as a browser tooltip.
  
 
==Example==
 
==Example==
 
====Code====
 
====Code====
<code><nowiki>{{Dialogue2|Palpatine|There is a great disturbance in the Force.|Darth Vader|I have felt it.|We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker.|[[Emperor]] [[Palpatine]] confers with [[Darth Vader]]}}</nowiki></code>
+
<code><nowiki>{{Dialogue2|Palpatine|There is a great disturbance in the Force.|Darth Vader|I have felt it.|We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker.|[[Emperor]] [[Palpatine]] confers with [[Darth Vader]]|Star Wars Episode V: The Empire Strikes Back}}</nowiki></code>
  
 
====Result====
 
====Result====
{{Dialogue2|Palpatine|There is a great disturbance in the Force.|Darth Vader|I have felt it.|We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker.|[[Emperor]] [[Palpatine]] confers with [[Darth Vader]]}}
+
{{Dialogue2|Palpatine|There is a great disturbance in the Force.|Darth Vader|I have felt it.|We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker.|[[Emperor]] [[Palpatine]] confers with [[Darth Vader]]|Star Wars Episode V: The Empire Strikes Back}}
 +
 
 +
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:48, 13 March 2013

{{{1}}}: "{{{2}}}"
{{{3}}}: "{{{4}}}"
{{{1}}}: "{{{5}}}"
— {{{6}}}{{#if:|[[|[src]]]}}

Contents

Usage instructions

{{Dialogue2|speaker1|speaker1 dialogue1|speaker2|speaker2 dialogue1|speaker1 dialogue2|attribution|source}}

Notes

  • If any text is assigned to the source field, it will be rendered as a browser tooltip.

Example

Code

{{Dialogue2|Palpatine|There is a great disturbance in the Force.|Darth Vader|I have felt it.|We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker.|[[Emperor]] [[Palpatine]] confers with [[Darth Vader]]|Star Wars Episode V: The Empire Strikes Back}}

Result

Palpatine: "There is a great disturbance in the Force."
Darth Vader: "I have felt it."
Palpatine: "We have a new enemy: the young rebel who destroyed the Death Star. I have no doubt that this boy is the offspring of Anakin Skywalker."
Emperor Palpatine confers with Darth Vader{{#if:Star Wars Episode V: The Empire Strikes Back|[src]}}