Difference between revisions of "Template:Quote"

From DoomWiki.org

(hmm, rename maintenance category for consistency)
m (Minor improvements)
Line 1: Line 1:
 
<div class="quote">
 
<div class="quote">
<div>&nbsp;</div>
 
 
:<span {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"}}>''"{{{1}}}"''</span>
 
:<span {{#if:{{{3|}}}|title="Source:&nbsp;{{{3}}}"}}>''"{{{1}}}"''</span>
:&#8213; {{{2}}}{{#if:{{{3|}}}|&nbsp;<sup class="noprint">[[{{{3|}}}|[src]]]</sup>|<includeonly>[[Category:Articles with unsourced quotes]]</includeonly>}}
+
::&#8213; {{{2}}}{{#if:{{{3|}}}|&nbsp;<sup class="noprint">[[{{{3|}}}|[source]]]</sup>|<includeonly>[[Category:Articles with unsourced quotes]]</includeonly>}}</div><noinclude>__NOTOC__
 
 
<div>&nbsp;</div></div><noinclude>__NOTOC__
 
 
==Usage instructions==
 
==Usage instructions==
 
<pre><nowiki>{{Quote|quote|attribution|source}}</nowiki></pre>
 
<pre><nowiki>{{Quote|quote|attribution|source}}</nowiki></pre>

Revision as of 18:43, 5 July 2014

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

Usage instructions

{{Quote|quote|attribution|source}}

Notes

If any text is assigned to the source field, it will be rendered as a browser tooltip.

Source

This template is from Half-Life wiki.

Examples

Codes

{{Quote|Your duty was to die, soldier.|[[Sabaoth]]}}
{{Quote|Your duty was to die, soldier.|[[Sabaoth]]|Doom 3}}

Results

 
"Your duty was to die, soldier."
Sabaoth
 
 
"Your duty was to die, soldier."
Sabaoth [src]