Template:Quotation: Difference between revisions

From Step Mods | Change The Game
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly><blockquote style="font-style:italic; padding:0em 2em 0em 1em; margin:1em 0em 1em {{{icon-size|4em}}};{{#if:{{{icon|}}}|| border-left:1px solid #DDD;}}"><div style="position:absolute; margin:-.2em 0 0 -{{{icon-size|.8em}}}; font:bold 6em Times New Roman, Times, Georgia, serif; color:#C0C0C0;">{{ #if: {{{icon-size|}}} | <div style="position:absolute; margin:0 0 0 -.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div>
<includeonly><blockquote style="font-style:italic; padding:0em 2em 0em 1em; margin:1em 0em 1em 4em;{{#if:{{{icon|}}}|| border-left:1px solid #DDD;}}"><div style="position:absolute; margin:-.2em 0 0 -.8em; font-weight:bold; font-size:6em; color:#C0C0C0;"><div style="position:absolute; margin:0 0 0 -.2em;">{{{icon|“}}}</div></div>
<span style="font-size:1.2em;">{{{2|Quoted text.}}}</span>
<span style="font-size:1.2em;">{{{text|Quoted text.}}}</span>
<p style="text-align:right; font-size:1.3em;">— {{{1|Quotation source}}}</p>
<p style="text-align:right; font-size:1.3em;">— {{{source|Quotation source}}}</p>
</blockquote>
</blockquote>
</includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]].
</includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]].
Line 7: Line 7:
== Purpose & Usage ==
== Purpose & Usage ==
<pre>
<pre>
{{Quotation|Source|
{{Quotation|source=|text=Text goes here.}}
Text goes here.
}}
</pre>
</pre>


=== Parameters ===
=== Parameters ===
; ''unnamed parameter'' 1
==== Required ====
; '''source='''
: Quotation source.  
: Quotation source.  
; ''unnamed parameter'' 2
; '''text='''
: Quoted text.
: Quoted text.
; icon
 
==== Optional ====
; '''icon'''
: Optional. Displays an icon to the left.
: Optional. Displays an icon to the left.
; icon-size
: Optional. Modifies the space for the icon.


== Examples ==
== Examples ==

Revision as of 19:30, June 19, 2021

.

Purpose & Usage

{{Quotation|source=|text=Text goes here.}}

Parameters

Required

source=
Quotation source.
text=
Quoted text.

Optional

icon
Optional. Displays an icon to the left.

Examples

Code:

{{Quotation|Source|Text goes here.}}

Result:

Quoted text.

— Quotation source


See Also

None