Template:Quote/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
{| class=standard-table | style="width:100%;"
{| class=standard-table | style="width:100%;"
|-
|-
! Parameter
! width=15% | Parameter
! Description
! Description
! Example
! Example
! Preview
! width=30% | Preview
|-
|-
| align="center" | {{Code|{{param|1}}}} <br>or<br> {{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.
{{param|text}} allows you to use symbols such as equality and others in your quote.
| {{CodeBlock|<nowiki>{{Quote|Cry "Havoc" and let slip the dogs of war.}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Cry "Havoc" and let slip the dogs of war.}}</nowiki>}}
| {{CodeBlock|<nowiki>{{Quote|Quote text.}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Quote text.}}</nowiki>}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Cry "Havoc" and let slip the dogs of war.}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Cry "Havoc" and let slip the dogs of war.}}}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.}}}}
|-
| align="center" | {{Code|{{param|2}}}} or {{Code|{{param|sign}}}}
| Signature.
| {{CodeBlock|<nowiki>{{Quote|Quote text.|[[Gabe Newell]]}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Quote text.|sign=[[Gabe Newell]]}}</nowiki>}}
| {{Doc/PreviewBlock|margin=5px|{{Quote|Quote text.|[[Gabe Newell]]}}}} {{Doc/PreviewBlock|margin=5px|{{Quote|text=Quote text.|sign=[[Gabe Newell]]}}}}
|-
| align="center" | {{Code|{{param|3}}}} or {{Code|{{param|source}}}}
| Quote source.
Does not appear if the signature was not specified.
| {{CodeBlock|<nowiki>{{Quote
|Quote text.
|[[Gabe Newell]]
|Source}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote
|text=Quote text.
|sign=[[Gabe Newell]]
|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}}}}
|}
|}



Revision as of 05:16, 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

Parameter Description Example Preview
{{{1}}} or {{{text}}} Quote text.

{{{text}}} allows you to use symbols such as equality and others in your quote.

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