Difference between revisions of "Template:Dialogue"
m (+usage) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<blockquote> |
|||
<div class="quote"> |
|||
'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = «''{{{2}}}''»| no = {{{2}}} |"''{{{2}}}''"}}<br> |
|||
'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = «''{{{4}}}''»| no = {{{4}}} |"''{{{4}}}''"}}{{#if:{{{5|}}}|<br> |
|||
'''{{{5}}}''': {{#switch:{{{line3|}}}| trans = «''{{{6}}}''»| no = {{{6}}} |"''{{{6}}}''"}}}}{{#if:{{{7|}}}|<br> |
|||
'''{{{7}}}''': {{#switch:{{{line4|}}}| trans = «''{{{8}}}''»| no = {{{8}}} |"''{{{8}}}''"}}}}{{#if:{{{9|}}}|<br> |
|||
'''{{{9}}}''': {{#switch:{{{line5|}}}| trans = «''{{{10}}}''»| no = {{{10}}} |"''{{{10}}}''"}}}}{{#if:{{{11|}}}|<br> |
|||
'''{{{11}}}''': {{#switch:{{{line6|}}}| trans = «''{{{12}}}''»| no = {{{12}}} |"''{{{12}}}''"}}}}{{#if:{{{13|}}}|<br> |
|||
'''{{{13}}}''': {{#switch:{{{line7|}}}| trans = «''{{{14}}}''»| no = {{{14}}} |"''{{{14}}}''"}}}}{{#if:{{{15|}}}|<br> |
|||
'''{{{15}}}''': {{#switch:{{{line8|}}}| trans = «''{{{16}}}''»| no = {{{16}}} |"''{{{16}}}''"}}}}{{#if:{{{17|}}}|<br> |
|||
'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = «''{{{18}}}''»| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|<br> |
|||
'''{{{19}}}''': {{#switch:{{{line10|}}}| trans = «''{{{20}}}''»| no = {{{20}}} |"''{{{20}}}''"}}}} |
|||
:―{{{attr}}} |
:―{{{attr}}} |
||
</blockquote><!-- |
|||
-->{{#if:{{{src|}}}|{{#if:{{{url|}}}|<!-- |
|||
--><sup class="noprint plainlinks">[{{{src|}}} <nowiki>[src]</nowiki>]</sup>|<!-- |
|||
--><sup class="noprint">[[{{{src|}}}|[src]]]</sup>}}|<includeonly>[[Category: Unsourced quotes]]</includeonly><!-- |
|||
-->}}</div><!-- |
|||
--><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 24: | 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 |
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys}}</nowiki></code> |
||
Result: |
Result: |
||
{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Coppermind:Welcome}} |
{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Coppermind:Welcome}} |
||
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys |
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys}}</nowiki></code> |
||
Result: |
Result: |
||
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys |
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys}} |
||
Code: <code><nowiki>{{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 |
Code: <code><nowiki>{{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}}</nowiki></code> |
||
Result: |
Result: |
||
{{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> === |
||
The code is basically the same, but you add a parameter, <tt>|url=yes</tt>, before the src parameter. |
|||
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Wanna hear a joke?|attr=Four guys with a total of four dialogues|url=yes|src=http://coppermind.net/wiki/Talk:Kaladin}}</nowiki></code> |
|||
Result: |
|||
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|User 4|Wanna hear a joke?|attr=Four guys with a total of four dialogues|url=yes|src=http://coppermind.net/wiki/Talk:Kaladin}} |
|||
===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|«''Hey!''» [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|«''Hey!''» [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}</nowiki></code> |
||
Line 57: | 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]
- Parlin (transclusion) (← links | edit)
- Kabsal (transclusion) (← links | edit)
- Moash (transclusion) (← links | edit)
- Rysn Ftori (transclusion) (← links | edit)
- Teleb (transclusion) (← links | edit)
- David Charleston (transclusion) (← links | edit)
- Rlain (transclusion) (← links | edit)
- Jon Acron (transclusion) (← links | edit)
- Khen (transclusion) (← links | edit)
- Battle of Alta Second (transclusion) (← links | edit)
- Jasnah Kholin/Quotes (transclusion) (← links | edit)
- Hoid/Quotes (transclusion) (← links | edit)
- Coalition of monarchs (transclusion) (← links | edit)
- Quilan (transclusion) (← links | edit)
- Visions (transclusion) (← links | edit)
- Maraga Dulcet (transclusion) (← links | edit)