Difference between revisions of "Quotation"

m ("Fixed" error with onlyinclude - tried to fix but the template isn't co-operating so I am using a workaround)
m (Added link to upcoming documentation page)
Line 5: Line 5:
 
| website  = Official website
 
| website  = Official website
 
| #default = {{{source|Quotation source}}}
 
| #default = {{{source|Quotation source}}}
}}</p></blockquote></includeonly><noinclude>
+
}}</p></blockquote></includeonly><noinclude>{{Quotation/Documentation}}</noinclude>
== Description ==
 
This template displays text passages as quotations from an official source.
 
== Parameters ==
 
{{bullet}} '''text''': The quoted text.
 
 
 
{{bullet}} '''source''': The quotation source. Can be a custom value or a predefined value:
 
:{{bullet}} '''game''': In-game description.
 
:{{bullet}} '''website''': Official website.
 
== Usage ==
 
<pre>{{quotation|text=This is a quotation|source=Source}}
 
{{quotation|text=This is a quotation|source=game}}
 
{{quotation|text=This is a quotation|source=website}}</pre></noinclude>
 

Revision as of 11:58, 23 January 2022

Description

Displays text passages as quotations from an official source.

Usage

{{quotation|<This is a quotation>|<game>}}
{{quotation|<This is a quotation>|<website>}}
{{quotation|<This is a quotation>|<website>|<https://corepunk.com>}}
{{quotation|<This is a quotation>|<custom label>|<https://corepunk.wiki>}}
{{quotation|<This is a quotation>|<https://corepunk.wiki>}}

Parameters

Arrow.png1: Quoted text.
Required.
Arrow.png2: Quotation label.
Optional.
Notes: Choose from game, website, a custom label, or a custom link.
Arrow.png3: Quotation source.
Optional.
Notes: A link to the quotation source. Use if parameter 2 isn't already a link.
Arrow.pngpopup: Whether to include the quotation in the popup that appears when the mouse hovers over a wikilink.
Optional.
Notes: Setting this parameter to any value adds the quote text to the popup.

Errors

No quote text provided. Add a text parameter.

See Also

Arrow.pngBlockquote