Difference between revisions of "Quotation/Documentation"

m (See also)
(→‎Parameters: new parameter)
 
Line 11: Line 11:
 
{{parameter|2|Quotation label.||Choose from ''game'', ''website'', a custom label, or a custom link.}}
 
{{parameter|2|Quotation label.||Choose from ''game'', ''website'', a custom label, or a custom link.}}
 
{{parameter|3|Quotation source.||A link to the quotation source. Use if parameter 2 isn't already a link.}}
 
{{parameter|3|Quotation source.||A link to the quotation source. Use if parameter 2 isn't already a link.}}
 +
{{parameter|popup|Whether to include the quotation in the popup that appears when the mouse hovers over a wikilink.||Setting this parameter to any value adds the quote text to the popup.}}
 +
 
==Errors==
 
==Errors==
 
'''No quote text provided. Add a text parameter.'''
 
'''No quote text provided. Add a text parameter.'''
 
==See Also==
 
==See Also==
 
:{{arrow}}[[Template:Blockquote]]
 
:{{arrow}}[[Template:Blockquote]]

Latest revision as of 22:49, 7 June 2024

Description[edit]

Displays text passages as quotations from an official source.

Usage[edit]

{{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[edit]

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[edit]

No quote text provided. Add a text parameter.

See Also[edit]

Arrow.pngBlockquote