Template:Quotation: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Created page with "<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div><div style="line-height: 1.53846em;"> {{{2|Q..."
 
Mgpt (talk | contribs)
some fixes, icon doesnt work
Line 1: Line 1:
<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|}}}</div> | {{{icon|“}}} }}</div><div style="line-height: 1.53846em;">
<blockquote style="padding: 0em 2em 0em 1em; margin: 0em 4em 1em; border-left: 1px solid silver;">
{{{2|Quoted text.}}}
<div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 5em Times New Roman, Times, Georgia, serif; color: silver;">“</div>
</div>{{#ifeq: {{{1}}} | <!-- blank --> || <p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{1|}}} }}
<div style="line-height: 1.53846em; font-style: italic;"><!--
| game    = In-game description
-->{{{2|Quoted text.}}}</div>
| website  = Official website
{{#ifeq:{{{1}}}|<!-- blank -->||<p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style: italic;">— {{#switch:{{lc:{{{1|}}}}}
| #default = {{{1|Quotation source}}}
| game    = In-game description
}}</p> }}
| website  = Official website
{{#if: {{{3|}}}|<p style="margin-bottom:0;">{{{3|}}}</p>|}}
| #default = {{{1|Quotation source.}}}}}</p>}}
</blockquote><noinclude>
{{#if:{{{3|}}}|<p style="margin-bottom: 0; font-style: italic;">{{{3|}}}</p>|}}
 
</blockquote><noinclude>{{Documentation}}</noinclude>
== Description ==
<pre>
{{Quotation|<source>|
<text>
}}
</pre>
This template is used to mark text passages as quotations from official source.
 
=== Parameters ===
;1 ''(unnamed parameter)''
: Quotation source. Can be a custom value or a predefined value. If left blank, hides the source line.
:* <code>game</code> - In-game description
:* <code>website</code> – Official website
:* <code>manual</code> – Game manual
;2 ''(unnamed parameter)''
: Quoted text.
;3 ''(unnamed parameter)''
: Optional. P.S.
; icon
: Optional. Displays an icon to the left.
; icon-size
: Optional. Modifies the space for the icon.
 
[[Category:Formatting templates|Quotation]]
</noinclude>

Revision as of 12:38, 24 September 2024

Quoted text.

— Quotation source.

Template documentation [view] [edit] [history] [purge]

Usage

This template is used to mark text passages as quotations.

{{Quotation|<source>|<text>}}
Charges into close combat

Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his back-line teammates can lay out damage with impunity.

Hard hitting, hard headed, and hard drinking; Detective Abrams has been a fixture on the New York investigating scene for years. From stolen art, to missing persons, to ritual murders; Abrams didn't just take any case that came across his desk... he solved them.

But his days of following cheating spouses came to an end the day he opened his office door and found The Tome sitting on his desk.

No instruction was left for him save for a brief note scrawled in onyx blood that read "Don't let them have it". Abrams hasn't figured out where the thing came from; but seeing as his home has been broken into, his office tossed on 3 different occasions, and his car firebombed he has a vested interest in figuring out what the hell is going on.

A FATE'S TALE

Parameters

1 (unnamed parameter)
Quotation source. Can be a custom value or a predefined value. If left blank, hides the source line.
  • game - In-game description
  • website – Official website
  • manual – Game manual
2 (unnamed parameter)
Quoted text.
3 (unnamed parameter)
Optional. P.S.