Template:Quote: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>FANDOM m (1 revision: Starter Wiki Refresh) |
m (1 revision imported) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| style="background:transparent" |
|||
{{#invoke:Quote|quote}}<noinclude>{{Documentation}}<!-- |
|||
|- |
|||
For a more traditional wikitext version of this template, see |
|||
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }} |
|||
https://starter.fandom.com/wiki/Template:Quote?oldid=4277 |
|||
| style="color: {{{color|blue}}}; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “ |
|||
⚫ | |||
| ''{{{1}}}'' |
|||
| style="color: {{{color|blue}}}; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „ |
|||
{{#if: {{{2|}}} | |
|||
{{!}}- |
|||
{{!}} <!-- empty cell --> |
|||
{{!}} style="text-align: right;" {{!}} <small>~ '''{{{2}}}{{ #if: {{{3|}}} | on {{{3}}}}}'''</small> |
|||
{{!}} <!-- empty cell to prevent potential rendering issues --> }} |
|||
⚫ | |||
{{doc}} |
|||
[[Category:Formatting templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 17:55, 12 December 2020
This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette.
Usage[]
{{Quote|This is a quote.}}
prints:
“ | This is a quote. | „ |
{{Quote|This is a quote.|Author}}
prints:
“ | This is a quote. | „ |
~ Author |
{{Quote|This is a quote.|Author|subject}}
prints:
“ | This is a quote. | „ |
~ Author on subject |
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}}
prints:
“ | This is a quote. | „ |
~ Some guy on subject |
{{Quote|This is a quote.|[[Main Page|Some guy]]|subject|Broom icon.svg}}
prints:
“ | This is a quote. | „ | |
~ Some guy on subject |
{{Quote|This is a quote.|color=black}}
prints:
“ | This is a quote. | „ |
Images are automatically scaled in width to 64px.
[view | edit | purge]The above documentation is transcluded fromTemplate:Quote/doc.