Template:Quote: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(cleaning up code; explaining things in remarks)
No edit summary
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<blockquote><!--
<blockquote>{{{1}}}<span class="author">''{{{2|}}} {{#if:{{{3|}}}|<sup class="noprint author">{{#if:el|[{{{3}}} [src]]|[[{{{3}}}|[src]]]}}</sup>|}}''</span></blockquote><noinclude>
 
Deprecated way of doing the big quotation marks.  Leaving it in
because it's interesting, from a coding standpoing.  Also, the
characters described, &#8220; and &#8221;, are different, more
rounded quotation marks. 
 
<span class="bqstart">&#8220;</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">&#8221;</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 ==
<pre><nowiki>{{quote|quote|attribution|source}}</nowiki></pre>
<pre><nowiki>{{quote|quote|attribution|source}}</nowiki></pre>


==Example==
== Example ==
====Code====
==== Code ====
<code><nowiki>{{Quote|The bravery of idiots is bravery nonetheless.|Staal|The Poison Sky}}</nowiki></code>
<code><nowiki>{{Quote|The bravery of idiots is bravery nonetheless.|Staal|The Poison Sky}}</nowiki></code>


====Result====
==== Result ====
{{Quote|The bravery of idiots is bravery nonetheless.|Staal|The Sontaran Stratagem}}
{{Quote|The bravery of idiots is bravery nonetheless.|Staal|The Sontaran Stratagem}}


==Links==
== Links ==
Links can be used as usual, but it's important '''not''' to link the source manually, as this is done automatically.
Links can be used as usual, but it's important '''not''' to link the source manually, as this is done automatically.
====Code====
==== Code ====
<code><nowiki>{{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}}</nowiki></code>
<code><nowiki>{{Quote|Now [[Adipose|they]] have the children, they won't need the nanny anymore!|The [[Tenth Doctor]] to [[Cofelia|Miss Foster]], before her death.|Partners in Crime}}</nowiki></code>


====Result====
==== Result ====
{{Quote|Now [[Adipose|they]] have the children, they won't need the nanny anymore!|[[Tenth Doctor|The Doctor]] to [[Cofelia]], before her death.|Partners in Crime}}
{{Quote|Now [[Adipose|they]] have the children, they won't need the nanny anymore!|The [[Tenth Doctor]] to [[Cofelia|Miss Foster]], before her death.|Partners in Crime}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 06:43, 15 March 2024

{{{1}}}

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 [The Sontaran Stratagem [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!|The [[Tenth 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 Tenth Doctor to Miss Foster, before her death. [Partners in Crime [src]]