Template:Quote/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(copied/modified documentation from wikipedia)
m (12 revisions imported: Imported from https://strategywiki.org/)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly>
{{t|quote}} adds a blockquote to an article page, with the addition of an attribute and source.
<includeonly>{{esoteric}}</includeonly>


<code>{&#123;[[Template:{{PAGENAME}}|{{lcfirst:{{PAGENAME}}}}]]&#125;}</code> adds a blockquote to an article page, with the addition of an attribute and source.
==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.


==Usage==
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces:
<code><nowiki>{{Quote|Phrase}}</nowiki></code> produces:


Line 18: 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;[[Chrono Trigger]]&#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>
| {{msg:{{BASEPAGENAME}}|Play with fire and you get burned.|Magus|''[[Chrono Trigger]]''}}
| {{msg:{{BASEPAGENAME}}|Play with fire and you get burned.|Magus|''[[Chrono Trigger]]''}}
|}
|}


<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