Template:Dialogue: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(New page: <div class="quote"> :<span {{t|1=title="Source: {{{6}}}"|1{{{6|}}}=}}>'''{{{1}}}''': "''{{{2}}}''" :'''{{{3}}}''': "''{{{4}}}''"</span> :— {{{5}}}{{#if:{{{6|}}}|<sup class="nopr...)
 
mNo edit summary
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="quote">
<div class="quote">
:<span {{t|1=title="Source:&nbsp;{{{6}}}"|1{{{6|}}}=}}>'''{{{1}}}''': "''{{{2}}}''"
:<span {{#if:{{{6|}}}|title="Source:&nbsp;{{{6}}}"}}>'''{{{1}}}''': "''{{{2}}}''"
:'''{{{3}}}''': "''{{{4}}}''"</span>
:'''{{{3}}}''': "''{{{4}}}''"</span>
:&mdash; {{{5}}}{{#if:{{{6|}}}|<sup class="noprint">[[{{{6|}}}|[src]]]</sup>}}
:{{{5}}}{{#if:{{{6|}}}|<sup class="noprint">[[{{{6|}}}|[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|speaker1 dialogue1|speaker2|speaker2 dialogue1|attribution|source}}</nowiki></code>


===Notes===
=== Notes ===
*If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tool tip|tool tip]].
* If any text is assigned to the ''source'' field, it will be rendered as a browser [[Wikipedia:Tool tip|tool tip]].


==Example==
== Example ==
====Code====
==== Code ====
<code><nowiki>{{Dialogue|Leia Organa|I love you.|Han Solo|Yeah right.|[[Leia Organa Solo|Leia Organa]] and [[Han Solo]] in [[Cloud City]]|Star Wars Episode V: The Empire Strikes Back}}</nowiki></code>
<code><nowiki>{{A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}</nowiki></code>


====Result====
==== Result ====
{{Dialogue|Leia Organa|I love you.|Han Solo|Yeah right.|[[Leia Organa Solo|Leia Organa]] and [[Han Solo]] in [[Cloud City]]|Star Wars Episode V: The Empire Strikes Back}}
{{Dialogue|A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}
 
</noinclude>
<noinclude>
[[Category:Maintenance templates]]
</noinclude>

Latest revision as of 15:12, 22 July 2024

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

Usage instructions[[edit source]]

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

Notes[[edit source]]

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

Example[[edit source]]

Code[[edit source]]

{{A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}

Result[[edit source]]

A person: "This is an example."
Another person: "Alright."
— Two people[src]