Diferencia entre revisiones de «Plantilla:Dialogue»
Ir a la navegación
Ir a la búsqueda
(Created page with "<div class="quote"> :'''{{{1}}}''': {{#switch:{{{line1|}}}| trans = «''{{{2}}}''»| no = {{{2}}} |"''{{{2}}}''"}} :'''{{{3}}}''': {{#switch:{{{line2|}}}| trans = &l...") |
|||
==Usage==
<code><nowiki>{{Dialogue|speaker1|speaker1 dialogue|speaker2|speaker2 dialogue|..(more speakers and dialogue)..
*<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>|src=</tt> enter source here; if the source is a website, enter the url here and add yes to the <tt>|url=</tt> parameter.
'''The template currently supports up to ten speakers.'''
==Examples==
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=
Result:
{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys|src=
Result:
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=
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|src=
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|src=
===Using url as source===
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://
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://
===Using <tt>linex</tt>===
Code: <code><nowiki>{{Dialogue|
Result:
{{Dialogue|
This page was taken from [http://starwars.wikia.com/wiki/Template:Dialogue Wookiepedia]
|