Difference between revisions of "Quotation"

(em dash & other improvements)
m
Line 6: Line 6:
 
{{{text|{{{1|{{error|No quote text provided. Add a text parameter.}}}}}}}}
 
{{{text|{{{1|{{error|No quote text provided. Add a text parameter.}}}}}}}}
 
</div>
 
</div>
<p style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">{{#if:{{{source|{{{2|}}}}}}|—&nbsp;{{#switch:{{lc:{{{source|{{{2}}}}}}}}}}
+
<p style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">{{#if:{{{source|{{{2|}}}}}}|—&nbsp;{{#switch:{{lc:{{{source|{{{2}}}}}}}}
 
| game    = In-game description
 
| game    = In-game description
 
| website  = [https://corepunk.com Official website]
 
| website  = [https://corepunk.com Official website]
 
| #default = {{{source|{{{2|}}}}}}
 
| #default = {{{source|{{{2|}}}}}}
}}</p>
+
}}}}</p>
 
</blockquote></includeonly><noinclude>{{Quotation/Documentation}}</noinclude>
 
</blockquote></includeonly><noinclude>{{Quotation/Documentation}}</noinclude>

Revision as of 19:06, 28 February 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

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