Template:Quote/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
|Quote text.
|Quote text.
|[[Gabe Newell]]
|[[Gabe Newell]]
|Source}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote
|Source
}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote
|text=Quote text.
|text=Quote text.
|sign=[[Gabe Newell]]
|sign=[[Gabe Newell]]
|source=Source}}</nowiki>}}
|source=Source
}}</nowiki>}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.|[[Gabe Newell]]|Source}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.|sign=[[Gabe Newell]]|source=Source}}}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.|[[Gabe Newell]]|Source}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.|sign=[[Gabe Newell]]|source=Source}}}}
|}
|}

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