Template:Dialogue: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
m (Robot: Cosmetic changes)
Line 2: Line 2:
:<span {{t|1=title="Source:&nbsp;{{{6}}}"|1{{{6|}}}=}}>'''{{{1}}}''': "''{{{2}}}''"
:<span {{t|1=title="Source:&nbsp;{{{6}}}"|1{{{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}}</code>


</noinclude>
</noinclude>

Revision as of 21:10, 30 January 2012

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

Usage instructions

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

Notes

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

Example

Code

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

Result

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