Template:Quote/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(removed junk, added link to documentation)
m (12 revisions imported: Imported from https://strategywiki.org/)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<code>{&#123;[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]&#125;}</code> adds a blockquote to an article page, with the addition of an attribute and source.  Documentation has been transcluded can be found at [[Template:Quote/Usage]].
{{t|quote}} adds a blockquote to an article page, with the addition of an attribute and source.


==Usage==
==Usage==
This template accepts three parameters in the following order:
# The text of the quote.
# Originator of the quote (optional).
# Source information (optional). This is normally explanatory text about the orginator of the quote.
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces:
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces:


Line 15: Line 20:


==Example==
==Example==
{| class="wikitable"
{| {{prettytable}}
| '''Code'''
! Code
| '''Result'''
! Result
|-
|-
| valign="top" | <code>{&#123;{{BASEPAGENAME}}&#124;Play with fire and you get burned.|Magus|'&#39;<nowiki>[[Chrono Trigger]]</nowiki>&#39;'&#125;}</code>
| valign="top" | <code>{&#123;{{BASEPAGENAME}}&#124;Play with fire and you get burned.|Magus|'&#39;<nowiki>[[Chrono Trigger]]</nowiki>&#39;'&#125;}</code>
Line 23: Line 28:
|}
|}


<includeonly>
<noinclude>[[Category:Template documentation|Q]]</noinclude>
[[Category:Templates]]
</includeonly>

Latest revision as of 18:27, 28 October 2023

{{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