Template:Quote/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:


== Parameters and Examples ==
== Parameters and Examples ==
{{ModernNote|Named parameters allow you to use equality symbols and much more. Numbered parameters can be used instead.}}
{| class=standard-table | style="width:100%;"
{| class=standard-table | style="width:100%;"
|-
|-
Line 12: Line 13:
| align="center" | {{Code|{{param|1}}}} or {{Code|{{param|text}}}}
| align="center" | {{Code|{{param|1}}}} or {{Code|{{param|text}}}}
| Quote text.
| Quote text.
{{param|text}} allows you to use symbols such as equality and others in your quote.
| {{CodeBlock|<nowiki>{{Quote|Quote text.}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Quote text.}}</nowiki>}}
| {{CodeBlock|<nowiki>{{Quote|Quote text.}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Quote text.}}</nowiki>}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.}}}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.}}}}

Revision as of 05:22, 1 February 2023

Edit-copy.png
This is a documentation subpage for Template:Quote.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Adds a block quotation to an article page.

Parameters and Examples

Template:ModernNote

Parameter Description Example Preview
{{{1}}} or {{{text}}} Quote text.
{{Quote|Quote text.}}
{{Quote|text=Quote text.}}
Quote text.
Quote text.
{{{2}}} or {{{sign}}} Signature.
{{Quote|Quote text.|[[Gabe Newell]]}}
{{Quote|text=Quote text.|sign=[[Gabe Newell]]}}
Quote text.
Quote text.
{{{3}}} or {{{source}}} Quote source.

Does not appear if the signature was not specified.

{{Quote |Quote text. |[[Gabe Newell]] |Source}}
{{Quote |text=Quote text. |sign=[[Gabe Newell]] |source=Source}}
Quote text.
Gabe Newell, Source
Quote text.
Gabe Newell, Source