Difference between revisions of "Template:Dialogue"

From The Coppermind
Jump to navigation Jump to search
m (maybe?)
m (+usage)
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
</blockquote><!--
 
</blockquote><!--
   
--><noinclude> __NOTOC__
+
--><noinclude> __NOTOC__[[category: templates]]
   
==Usage==
+
== Usage ==
 
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|src=}}</nowiki></code>
 
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|src=}}</nowiki></code>
 
*<tt>|linex=</tt> if this line is translated or you need the italics and the default quotation marks removed, enter <tt>|linex=trans</tt> or <tt>|linex=no</tt>, depending on what you want. <tt>x</tt> is the line number.
 
*<tt>|linex=</tt> if this line is translated or you need the italics and the default quotation marks removed, enter <tt>|linex=trans</tt> or <tt>|linex=no</tt>, depending on what you want. <tt>x</tt> is the line number.
Line 21: Line 21:
 
'''The template currently supports up to ten speakers.'''
 
'''The template currently supports up to ten speakers.'''
   
==Examples==
+
== Examples ==
 
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys}}</nowiki></code>
 
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys}}</nowiki></code>
   
Line 38: Line 38:
 
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Hey user 1, could you review my article?|User 1|Sure. I'll get to it ASAP.|attr=Four guys with a total of five dialogues}}
 
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Hey user 1, could you review my article?|User 1|Sure. I'll get to it ASAP.|attr=Four guys with a total of five dialogues}}
   
===Using <tt>linex</tt>===
+
=== Using <tt>linex</tt> ===
 
Code: <code><nowiki>{{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|&laquo;''Hey!''&raquo; [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}</nowiki></code>
 
Code: <code><nowiki>{{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|&laquo;''Hey!''&raquo; [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}</nowiki></code>
   
Line 46: Line 46:
 
This page was taken from [http://starwars.wikia.com/wiki/Template:Dialogue Wookiepedia]
 
This page was taken from [http://starwars.wikia.com/wiki/Template:Dialogue Wookiepedia]
   
  +
== Articles using Template ==
[[Category: Templates|{{PAGENAME}}]]
 
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Latest revision as of 08:52, 19 April 2020

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

―{{{attr}}}

Usage[edit]

{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..|src=}}

  • |linex= if this line is translated or you need the italics and the default quotation marks removed, enter |linex=trans or |linex=no, depending on what you want. x is the line number.
  • |src= enter source here; if the source is a website, enter the url here and add yes to the |url= parameter.

The template currently supports up to ten speakers.

Examples[edit]

Code: {{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys}}

Result:

User 1: "Hello."
User 2: "Hey."

―Two guys

Code: {{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys}}

Result:

User 1: "Hello."
User 2: "Hey."
User 3: "Hey guys."

―Three guys


Code: {{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Hey user 1, could you review my article?|User 1|Sure. I'll get to it ASAP.|attr=Four guys with a total of five dialogues}}

Result:

User 1: "Hello."
User 2: "Hey."
User 3: "Hey guys."
User 4: "Hey user 1, could you review my article?"
User 1: "Sure. I'll get to it ASAP."

―Four guys with a total of five dialogues

Using linex[edit]

Code: {{Dialogue|Alethi 1|Hello.|Veden 1|line2=trans|Hey!|Alethi 2|line3=no|[waves] "''Hey guys.''"|Veden 2|line4=no|«''Hey!''» [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}

Result:

Alethi 1: "Hello."
Veden 1: «Hey!»
Alethi 2: [waves] "Hey guys."
Veden 2: «Hey!» [pounds chest]

―Conversation

This page was taken from Wookiepedia

Articles using Template[edit]