Template:Quote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
No edit summary
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code>''"{{{1}}}"''</code><br>
<div class="quote"><br />
:<code>- '''[[{{{2}}}|{{{3|{{{2|}}}}}}]] {{#if:{{{4|}}}|on {{{4|}}}}}'''</code><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|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}</nowiki>


<code><nowiki>{{Quote|Phrase|Somebody|Somebody's full name}}</nowiki></code> produces:
'''Result''': {{Quote|I am your father.|Darth Vader|url=http://starwars.wikia.com/wiki/Star_Wars_Episode_V:_The_Empire_Strikes_Back}}


{{Quote|Phrase|Somebody|Somebody's full name}}
=== See also ===
*[[:Template:Dialogue]]


 
[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
<code><nowiki>{{Quote|Phrase|Somebody|Somebody's full name|topic}}</nowiki></code> produces:
 
{{Quote|Phrase|Somebody|Somebody's full name|topic}}
 
:&mdash; {{{2}}}<noinclude>[[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