Template:Dialogue: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
mNo edit summary
 
(3 intermediate revisions by 3 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>{{A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}</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|A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}</code>
{{Dialogue|A person|This is an example.|Another person|Alright.|Two people|Nothing, it's just an example}}


</noinclude>
<noinclude>
[[Category:Maintenance templates]]
</noinclude>
</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]