Template:Quote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
m (added usage info and a category)
mNo edit summary
Line 1: Line 1:
<div class="quote">
<div class="quote"><br />
:<span {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"|}}>{{#if:{{{noquote|}}}||"}}''{{{1}}}''{{#if:{{{trans|}}}||"}}</span>
:<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__
:&#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__

Revision as of 22:11, 31 July 2014


"{{{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