Diferencia entre revisiones de «Plantilla:Dialogue»

757 bytes eliminados ,  hace 2 años
m
Texto reemplazado: «category: templates » por «Categoría:Plantillas »
m
m (Texto reemplazado: «category: templates » por «Categoría:Plantillas »)
 
(No se muestran 4 ediciones intermedias de otro usuario)
'''{{{17}}}''': {{#switch:{{{line9|}}}| trans = &laquo;''{{{18}}}''&raquo;| no = {{{18}}} |"''{{{18}}}''"}}}}{{#if:{{{19|}}}|<br>
'''{{{19}}}''': {{#switch:{{{line10|}}}| trans = &laquo;''{{{20}}}''&raquo;| no = {{{20}}} |"''{{{20}}}''"}}}}
:&#8213;{{{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><!--
-->}}</blockquote><!--
 
--><noinclude> __NOTOC__[[Categoría:Plantillas]]
 
== Usage ==
<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.
'''The template currently supports up to ten speakers.'''
 
== Examples ==
Code: <code><nowiki>{{Dialogue|User 1|Hello.|User 2|Hey.|attr=Two guys|src=Coppermind:Welcome}}</nowiki></code>
 
Result:
{{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|src=Coppermind:Welcome}}</nowiki></code>
 
Result:
{{Dialogue|User 1|Hello.|User 2|Hey.|User 3|Hey guys.|attr=Three guys|src=Coppermind:Welcome}}
 
 
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=Coppermind:Welcome}}</nowiki></code>
 
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=Coppermind:Welcome}}
 
===Using urlUsing as<tt>linex</tt> 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://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|&laquo;''Hey!''&raquo; [pounds chest]|attr=Conversation|src=Coppermind:Welcome}}</nowiki></code>
 
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}}
5572

ediciones