Template:Quote: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(changed to a different template, copied from wikipedia (TEST))
m (8 revisions imported: Imported from https://strategywiki.org/)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><blockquote class="templatequote" style="margin-top:0;">{{{1|Insert the text of the quote here, without quotation marks.<noinclude>{{lorem ipsum}}</noinclude>}}}{{#if:{{{2|<noinclude>Someone</noinclude>}}}|<p style="line-height:1em;text-align:left;padding-left:2em;"><small>—<cite style="font-style:normal;">{{{2}}}{{#if:{{{3|<noinclude>Source</noinclude>}}}|,&nbsp;{{{3}}}}}</cite></small></p>}}</blockquote></includeonly>
<includeonly><blockquote class="templatequote" style="margin-top:0;font-style:italic;padding-left:15px">{{{1|Insert the text of the quote here, without quotation marks.}}}{{#if:{{{2|<noinclude>Someone</noinclude>}}}|<p style="line-height:1em;text-align:left;padding-left:2em;"><small>—<cite style="font-style:normal;">{{{2}}}{{#if:{{{3|<noinclude>Source</noinclude>}}}|,&nbsp;{{{3}}}}}</cite></small></p>}}</blockquote></includeonly><noinclude>
 
{{Documentation}}
<noinclude>
{{cleanup|Move CSS to Common.css.}}
{{Template:Quote/Usage}}
[[Category:Templates|Q]]</noinclude>
</noinclude>

Latest revision as of 18:27, 28 October 2023

This page has been transcluded from Template:Quote/Documentation.


{{quote}} adds a blockquote to an article page, with the addition of an attribute and source.

Usage[edit source]

This template accepts three parameters in the following order:

  1. The text of the quote.
  2. Originator of the quote (optional).
  3. Source information (optional). This is normally explanatory text about the orginator of the quote.

{{Quote|Phrase}} produces:

Phrase

{{Quote|Phrase|Somebody}} produces:

Phrase

Somebody

{{Quote|Phrase|Somebody|''Source''}} produces:

Phrase

Somebody, Source

Example[edit source]

Code Result
{{Quote|Play with fire and you get burned.|Magus|''[[Chrono Trigger]]''}}

Play with fire and you get burned.

Magus, Chrono Trigger


cleanup
cleanup

This article could use a cleanup in order to be more legible and/or presentable. Please help improve this article in any way possible. Remember to follow our editing guidelines when improving existing articles. If you can improve this page, please edit it, or help by discussing possible changes on the talk page.

If you need help with wiki markup, see the wiki markup page. If you want to try out wiki markup without damaging a page, why not use the sandbox?
Cleanup required: Move CSS to Common.css.