Difference between revisions of "Template:Quoteurl"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
m (New page: <div class="quote"> :<span {{#if:{{{url|}}}|title="Source: {{{url}}}"|}}>"''{{{1}}}''"</span> :―{{{2}}}{{#if:{{{url|}}}|<sup class="noprint plainlinks">[{{{url|}}} [src]...)
 
m
 
Line 1: Line 1:
 
<div class="quote">
 
<div class="quote">
 
:<span {{#if:{{{url|}}}|title="Source:&nbsp;{{{url}}}"|}}>"''{{{1}}}''"</span>
 
:<span {{#if:{{{url|}}}|title="Source:&nbsp;{{{url}}}"|}}>"''{{{1}}}''"</span>
:&#8213;{{{2}}}{{#if:{{{url|}}}|<sup class="noprint plainlinks">[{{{url|}}} &#91;src&#93;]</sup>|<includeonly>[[Category:Unsourced quotes]]</includeonly>}}</div><noinclude>{{Eras|sprot}} __NOTOC__
+
:&#8213;{{{2}}}{{#if:{{{url|}}}|<sup class="noprint plainlinks">[{{{url|}}} &#91;src&#93;]</sup>|<includeonly>[[Category:Unsourced quotes]]</includeonly>}}</div><noinclude>
 
==Usage instructions==
 
==Usage instructions==
 
<pre><nowiki>{{Quoteurl|quote|attribution|url=source}}</nowiki></pre>
 
<pre><nowiki>{{Quoteurl|quote|attribution|url=source}}</nowiki></pre>

Latest revision as of 16:49, 13 March 2013

"{{{1}}}"
―{{{2}}}{{#if:|[ [src]]|}}

Contents

Usage instructions

{{Quoteurl|quote|attribution|url=source}}

Notes

  • This is for quotes whose source is a URL, to keep the source tag from breaking.
  • If any text is assigned to the source field, it will be rendered as a browser tooltip.

Example

Code

{{Quoteurl|Sweet Sith, I think I'm in love with my own creation.|[[Abel G. Peña]], on [[Ailyn Vel]]|url=http://blogs.starwars.com/abelgpena/13}}

Result

"Sweet Sith, I think I'm in love with my own creation."
Abel G. Peña, on Ailyn Vel{{#if:http://blogs.starwars.com/abelgpena/13%7C[src]|}}

See also

Note

As a heavily used, high-visibility template, this template is protected from editing by anonymous or newly registered users.