Template:Quote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
mNo edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
:"''{{{1}}}''"
<div class="quote"><br />
:&mdash; {{{2}}}<noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
:<span {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"|}}>{{#if:{{{noquote|}}}||"}}''{{{1}}}''{{#if:{{{trans|}}}||"}}</span>
:&#8213;{{{2}}}<span class="noprint">{{#if:{{{audio|}}}|&nbsp;&mdash; [[File:Gnome-speakernotes.png|20px|(audio)]][[Media:{{{audio}}}|Listen]] <small>([[:File:{{{audio}}}|file info]])</small>|}}{{#if:{{{url|}}}|<sup class="plainlinks">[{{{url|}}} <nowiki>[src]</nowiki>]</sup>|{{#if:{{{3|}}}|<sup>[[{{{3|}}}|[src]]]</sup>|}}}}</span></div><noinclude>__NOTOC__


== Usage ==
=== Usage Instructions ===
'''Code''': <nowiki>{{Quote|dialogue|attribution|source}}</nowiki>


<code><nowiki>{{quote|phrase|somebody}}</nowiki></code> produces:
* In case the source is an url, add an optional parameter, |url=, where you enter the source url.
* The source is optional. If you leave that parameter blank, it will not show up on your page.
* If any text is assigned to the source field, it will be rendered as a browser tooltip.


{{quote|phrase|somebody}}
=== Examples ===
==== URL Source ====


<code><nowiki>{{quote|phrase|[[somebody]]}}</nowiki></code> produces:
'''Code''': <nowiki>{{Quote|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}</nowiki>


{{quote|phrase|[[somebody]]}}
'''Result''': {{Quote|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}
 
=== See also ===
*[[:Template:Dialogue]]  
 
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 04:46, 1 February 2015


"{{{1}}}"
―{{{2}}}

Usage Instructions

Code: {{Quote|dialogue|attribution|source}}

  • In case the source is an url, add an optional parameter, |url=, where you enter the source url.
  • The source is optional. If you leave that parameter blank, it will not show up on your page.
  • If any text is assigned to the source field, it will be rendered as a browser tooltip.

Examples

URL Source

Code: {{Quote|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}

Result:


"I am your father."
―Darth Vader[src]

See also