Difference between revisions of "Blockquote"
Stratonian (talk | contribs) m (em dash) |
Stratonian (talk | contribs) m (better sourcing) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;"> | <blockquote style="overflow:hidden;margin:1em 0;padding:0 40px;"> | ||
− | ''" | + | ''"{{{1|{{error|No text given for quotation. Add a text parameter.}}}}}"'' |
− | {{#if: | + | {{#if:{{{2|}}}|<div style="line-height=1.5em;text-align:left;padding-left:1.6em;margin-top:0;">— <cite>{{#switch:{{lc:{{{2}}}}}<!-- handle source --> |
+ | | game = In-game description | ||
+ | | website = [{{{3|https://corepunk.com}}} Official website] | ||
+ | | #default = {{#ifeq:{{{3|}}}|{{{3}}}<!-- if 3rd parameter exists | ||
+ | -->|[{{{3}}} {{{2}}}]<!-- use 3rd parameter as link and 2nd parameter as label | ||
+ | -->|{{{2}}}<!-- else use 2nd parameter as link | ||
+ | -->}} | ||
+ | }}</cite></div>}} | ||
</blockquote></includeonly><noinclude>{{Blockquote/Documentation}}</noinclude> | </blockquote></includeonly><noinclude>{{Blockquote/Documentation}}</noinclude> |
Latest revision as of 14:48, 11 August 2023
Description[edit]
Displays large text passages as indented quotations.
Usage[edit]
{{blockquote|<This is a quotation>|<game>}}
{{blockquote|<This is a quotation>|<website>}}
{{blockquote|<This is a quotation>|<website>|<https://corepunk.com>}}
{{blockquote|<This is a quotation>|<custom label>|<https://corepunk.wiki>}}
{{blockquote|<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.
Errors[edit]
No text given for quotation. Add a text parameter.