Template:Quote/doc: Difference between revisions
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}}}} | | 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| | | {{CodeBlock|<nowiki>{{Quote|Quote text.}}</nowiki>}}{{CodeBlock|<nowiki>{{Quote|text=Quote text.}}</nowiki>}} | ||
| {{Doc/PreviewBlock|margin=5px|{{Quote| | | {{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

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.
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 text. Quote text. | |
{{{2}}} or {{{sign}}} | Signature. | Quote text. Quote text. | |
{{{3}}} or {{{source}}} | Quote source.
Does not appear if the signature was not specified. |
Quote text. — Gabe Newell, Source Quote text. — Gabe Newell, Source |