Difference between revisions of "Template:Quote"
From Geohashing
imported>Tjtrumpet2323 m (adding width parameter to usage notes to emphasize that... well... that it should be USED ;)) |
imported>R0d3n7z (fix stray quotation marks) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| cellspacing="4" cellpadding="4" style="width:{{{width}}}; float:{{{1| | + | {| cellspacing="4" cellpadding="4" style="width:{{#if: {{{width|}}}|{{{width}}}px|auto}}; float:{{{1|left}}}; border: 1px solid #aaa; font-size:90%; padding:4px; margin: {{ #switch: {{{1|left}}} | left = 1em 1em 1em 0em | center = 1em 1em 1em 1em | 1em 0em 1em 1em }}; background-color: #f9f9f9; clear:{{{1|left}}};" |
|width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:4px;"|“ | |width=20 valign="top" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:left; padding:4px;"|“ | ||
− | |style="border-style:none;padding:4px;"|<div | + | |style="border-style:none;padding:4px;"|<div>{{{2|...but don't quote me on that}}}</div> |
|width=20 valign="bottom" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:center; padding:4px;"|” | |width=20 valign="bottom" style="font-size:35px; font-family:'Times New Roman',serif; font-weight:bold; text-align:center; padding:4px;"|” | ||
|- | |- | ||
|colspan=3 style="text-align:right; padding-right: 2em;"|<div class="templatequotecite">—<cite>{{{3|Anon}}}</cite></div> | |colspan=3 style="text-align:right; padding-right: 2em;"|<div class="templatequotecite">—<cite>{{{3|Anon}}}</cite></div> | ||
|}<noinclude> | |}<noinclude> | ||
+ | <div style="clear: both;"></div> | ||
== Usage == | == Usage == | ||
<nowiki>{{quote|alignment|This is a quote|attribution|width=400}}</nowiki> | <nowiki>{{quote|alignment|This is a quote|attribution|width=400}}</nowiki> | ||
For use in quoting people within text. | For use in quoting people within text. | ||
* Alignment may be left/center/right. | * Alignment may be left/center/right. | ||
− | * Normal rules of wikitext apply within the quote. Make sure to preview however | + | * Width parameter is optional, but recommended, lest your quote stretch out horizontally to all of infinity. |
+ | * Normal rules of wikitext apply within the quote. Make sure to preview, however. | ||
</noinclude> | </noinclude> |
Latest revision as of 16:15, 30 March 2017
“ | ...but don't quote me on that
|
” |
—Anon
|
Usage
{{quote|alignment|This is a quote|attribution|width=400}}
For use in quoting people within text.
- Alignment may be left/center/right.
- Width parameter is optional, but recommended, lest your quote stretch out horizontally to all of infinity.
- Normal rules of wikitext apply within the quote. Make sure to preview, however.