Difference between revisions of "Quotation"
Stratonian (talk | contribs) (removed parameters - no need for them) |
Stratonian (talk | contribs) m (comment) |
||
(5 intermediate revisions by 2 users not shown) | |||
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;"> | + | <div class="mb-2" style="line-height: 1.53846em;">{{{1|{{error|No quote text provided. Add a text parameter.}}}}}</div> |
− | {{{1|{{error|No quote text provided. Add a text parameter.}}}}} | + | <div style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">{{#if:{{{2|}}}|— {{#switch:{{lc:{{{2}}}}}<!-- handle source --> |
− | </div> | ||
− | < | ||
| game = In-game description | | game = In-game description | ||
− | | website = [https://corepunk.com Official website] | + | | website = [{{{3|https://corepunk.com}}} Official website] |
− | | #default = {{{2}}} | + | | #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 | ||
+ | -->}} | ||
+ | }}}}</div> | ||
</blockquote></includeonly><noinclude>{{Quotation/Documentation}}</noinclude> | </blockquote></includeonly><noinclude>{{Quotation/Documentation}}</noinclude> |
Latest revision as of 14:45, 11 August 2023
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.
Errors[edit]
No quote text provided. Add a text parameter.