Template:Quote: Difference between revisions
VibranceBot (talk | contribs) m (use Template:sup) |
(changed inline style to use css class) |
||
Line 22: | Line 22: | ||
}} | }} | ||
{{ll|Category:Templates}} | {{ll|Category:Templates}} | ||
</noinclude><includeonly><div | </noinclude><includeonly><div class="quote"> | ||
<div | <div class="quote-mark">“</div> | ||
<div | <div class="quote-text">{{{text|}}}{{#if:{{{author|}}}|<div class="quote-author">— {{{author}}}</div>}}</div> | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 07:29, 29 March 2024
This template is used to provide a pre-made style for quotes.
Usage
Parameters
text
Required- The text of the quote.
author
- The author of the quote.
Examples
{{Quote|text=This is a quote}}
“
This is a quote
{{Quote|text=This is a quote|author=Author}}
“
This is a quote
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>
tag in this template into the page you created.{{Translation guide}}
template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.
See also
Editors can experiment in this template's sandbox.