Template:Quotation: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 131: Line 131:
  }}</includeonly><noinclude>
  }}</includeonly><noinclude>
{{translation switching|ar ,de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
{{translation switching|ar ,de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
== Description ==
{{Template doc}}
<pre>{{Quotation|<source>|<text>}}</pre>
This template is used to mark text passages as quotations.
 
=== Parameters ===
; ''unnamed parameter'' 1
: Quotation source. Can be a custom value or a predefined value:
:* <code>game</code> - In-game description
:* <code>gametip</code> - In-game tip
:* <code>website</code> – Official website
 
; ''unnamed parameter'' 2
: Quoted text.
; icon
: Optional. Displays an icon to the left.
; icon-size
: Optional. Modifies the space for the icon.
; sound
: Optional. Specifies the sound of the quotation (please use only wiki stored sound links, not external).
 
=== Other parameters ===
* {{code|translate}}: set to 'yes' if the quote needs translating, will categorize page into [[:Category:Quotations needing translation]].
* {{code|en-sound}}: set to 'yes' if the sound file specified is in English.
 
[[Category:Formatting templates|Quotation]]
</noinclude>

Revision as of 23:53, 4 August 2020

Quoted text.
Quotation source
Note: portions of the template sample may not be visible without values provided. This is normal.

Documentation for Quotation

Description

{{Quotation|<source>|<text>}}

This template is used to mark text passages as quotations.

Parameters

unnamed parameter 1
Quotation source. Can be a custom value or a predefined value:
  • game - In-game description
  • gametip - In-game tip
  • website – Official website
unnamed parameter 2
Quoted text.
icon
Optional. Displays an icon to the left.
icon-size
Optional. Modifies the space for the icon.
sound
Optional. Specifies the sound of the quotation (please use only wiki stored sound links, not external).

Other parameters

</noinclude>

Template info.png This documentation is transcluded from Template:Quotation/doc.