Difference between revisions of "Quotation/Documentation"
Stratonian (talk | contribs) m (→Usage) |
Stratonian (talk | contribs) (→Parameters: new parameter) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Displays text passages as quotations from an official source. | Displays text passages as quotations from an official source. | ||
== Usage == | == Usage == | ||
− | |||
{{T|quotation|This is a quotation|game}}<br> | {{T|quotation|This is a quotation|game}}<br> | ||
− | {{T|quotation|This is a quotation|website|https://corepunk.com}} | + | {{T|quotation|This is a quotation|website}}<br> |
+ | {{T|quotation|This is a quotation|website|<nowiki>https://corepunk.com</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>}} | ||
+ | == Parameters == | ||
+ | {{parameter|1|Quoted text.}} | ||
+ | {{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|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.