Difference between revisions of "Quotation"
(Test: Removing p tag so description extension doesn't pick it automatically) |
|||
Line 3: | Line 3: | ||
<div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;"> | <div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;"> | ||
<div style="position: absolute; margin-left: -0.2em;">“</div></div> | <div style="position: absolute; margin-left: -0.2em;">“</div></div> | ||
− | <div style="line-height: 1.53846em;">{{{1|{{error|No quote text provided. Add a text parameter.}}}}}</div> | + | <div class="mb-2" style="line-height: 1.53846em;">{{{1|{{error|No quote text provided. Add a text parameter.}}}}}</div> |
<div style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">{{#if:{{{2|}}}|— {{#switch:{{lc:{{{2}}}}} | <div style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">{{#if:{{{2|}}}|— {{#switch:{{lc:{{{2}}}}} | ||
| game = In-game description | | game = In-game description |
Revision as of 00:44, 2 March 2023
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
- 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
No quote text provided. Add a text parameter.