Difference between revisions of "Quotation/Documentation"
Stratonian (talk | contribs) m (better parameter 3 documentation) |
Stratonian (talk | contribs) (→Parameters: new parameter) |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
{{T|quotation|This is a quotation|custom label|<nowiki>https://corepunk.wiki</nowiki>}}<br> | {{T|quotation|This is a quotation|custom label|<nowiki>https://corepunk.wiki</nowiki>}}<br> | ||
{{T|quotation|This is a quotation|<nowiki>https://corepunk.wiki</nowiki>}} | {{T|quotation|This is a quotation|<nowiki>https://corepunk.wiki</nowiki>}} | ||
− | |||
== Parameters == | == Parameters == | ||
{{parameter|1|Quoted text.}} | {{parameter|1|Quoted text.}} | ||
{{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== | ||
+ | :{{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]
3: Quotation source.
- Optional.
- Notes: A link to the quotation source. Use if parameter 2 isn't already a link.
popup: 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.