Template:Quote: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(returning to last known version that handles all variables) |
(cleaning up code; explaining things in remarks) |
||
Line 1: | Line 1: | ||
< | <blockquote><!-- | ||
Deprecated way of doing the big quotation marks. Leaving it in | |||
<noinclude> | because it's interesting, from a coding standpoing. Also, the | ||
characters described, “ and ”, are different, more | |||
rounded quotation marks. | |||
<span class="bqstart">“</span> | |||
--><span style="font-size:150%;line-height:120%;">{{{1}}}</span><br><span style="text-align:right">{{{2}}} {{#if:{{{3|}}}|<sup class="noprint">[[{{{3|}}}|[src]]]</sup>|}}</span><!-- | |||
... and this is the deprecated right quotation mark | |||
<span class="bqend">”</span> | |||
--></blockquote><!-- | |||
In other words, the net code for this thing is super simple: | |||
<blockquote>{{{1}}} {{{2}}} {{{3}}}</blockquote> | |||
All the formatting is in the CSS instructions for blockquote. | |||
--><noinclude> | |||
__NOTOC__ | __NOTOC__ | ||
==Usage instructions== | ==Usage instructions== |
Revision as of 15:58, 17 March 2011
{{{1}}}
{{{2}}}
Usage instructions
{{quote|quote|attribution|source}}
Example
Code
{{Quote|The bravery of idiots is bravery nonetheless.|Staal|The Poison Sky}}
Result
The bravery of idiots is bravery nonetheless.
Staal [src]
Links
Links can be used as usual, but it's important not to link the source manually, as this is done automatically.
Code
{{Quote|Now [[Adipose|they]] have the children, they won't need the nanny anymore!|[[Tenth Doctor|The Doctor]] to [[Cofelia|Miss Foster]], before her death.|Partners in Crime}}
Result
Now they have the children, they won't need the nanny anymore!
The Doctor to Cofelia, before her death. [src]