Template:Quote: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Doc}}
{{Doc}}<includeonly><onlyinclude><div style="position:relative; padding-left:14px"><!--
<includeonly><onlyinclude><!--
--> <div style="width:4px; height:100%; background-color:#4f545c; border-radius:4px; position:absolute; left:0"></div><!--
--><div style="position:relative; padding-left:14px"><!--
--> {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text}}}}}}|<span style=color:rgb(231,76,60)>Error</span>: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}<!--
--><div style="width:4px; height:100%; background-color:#4f545c; border-radius:4px; position:absolute; left:0"></div><!--
--> {{#if:{{{2|{{{sign|}}}}}}|<div>— {{{2|{{{sign}}}}}}{{#if:{{{3|{{{source|}}}}}}|, ''{{{3|{{{source}}}}}}''}}</div>}}</div></onlyinclude></includeonly>
-->{{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text}}}}}}|<span style=color:rgb(231,76,60)>Error</span>: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}<!--
-->{{#if:{{{2|{{{sign|}}}}}}|<div>— {{{2|{{{sign}}}}}}{{#if:{{{3|{{{source|}}}}}}|, ''{{{3|{{{source}}}}}}''}}</div>}}
</div></onlyinclude></includeonly>

Latest revision as of 06:43, 17 July 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Adds a block quotation to an article page.

Parameters and Examples

Note.pngNote:Named parameters allow you to use equality symbols and much more. Numbered parameters can be used instead.
Parameter Description Example Preview
No parameters Outputs an error message
{{Quote}}
Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)
{{{1}}} or {{{text}}} Quote text.
{{Quote|Quote text.}}
{{Quote|1=Quote text.}}
{{Quote|text=Quote text.}}
Quote text.
Quote text.
Quote text.
{{{2}}} or {{{sign}}} Quote 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