Template:Quote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(Sorry if this is against any rules, just wanted to update the page. :-))
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
To insert a quote in an article, use the following template:<br>
<div class="quote"><br />
<nowiki>{{quote|Phrase|Source}}</nowiki>
:<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__


It will produce:<br>
=== Usage Instructions ===
{{quote|Phrase|Source}}
'''Code''': <nowiki>{{Quote|dialogue|attribution|source}}</nowiki>


[[Category:Utility Templates]]
* 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''': <nowiki>{{Quote|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}</nowiki>
 
'''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