Template:Quote: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Protected "Template:Quote": Critical template [edit=sysop:move=sysop])
m (8 revisions imported: Imported from https://strategywiki.org/)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<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.<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><noinclude>
<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>
{{Template:Quote/Usage}}
{{Documentation}}
{{cleanup|Move CSS to Common.css.}}
{{cleanup|Move CSS to Common.css.}}
[[Category:Templates|Q]]</noinclude>
[[Category:Templates|Q]]</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.