Template:Quotation: Difference between revisions

From Step Mods | Change The Game
No edit summary
mNo edit summary
 
(66 intermediate revisions by 2 users not shown)
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 class="blockquote font-italic m-auto p-3 w-75"><div class="d-flex w-100"><div class="font-weight-bold m-auto orangetx" style="font-size:3rem; width:7%;"><i class="far fa-comment"></i></div><div class="pl-3" style="border-left:1px solid #787878; width:90%;"><p>{{{text|Quoted text.}}}</p><p class="m-0" style="text-align:right; font-size:1rem;">— {{{source|Quotation source}}}</p></div></div></blockquote></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]][https://stepmodifications.org/forum/topic/19101-quotation/ '''Forum Topic''']
<span style="font-size:1.2em;">{{{2|Quoted text.}}}</span>
<p style="text-align:right; font-size:1.3em;">— {{{1|Quotation source}}}</p>
</blockquote>
</includeonly><noinclude>__NOTOC__


== 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 ====
; {{fc|red|<nowiki>source=</nowiki>}}
: Quotation source.  
: Quotation source.  
; ''unnamed parameter'' 2
 
; {{fc|red|<nowiki>text=</nowiki>}}
: Quoted text.
: Quoted text.
; icon
: Optional. Displays an icon to the left.
; icon-size
: Optional. Modifies the space for the icon.


== Examples ==
== Examples ==
<!--
 
'''Code:'''
=== Code ===
<pre>{{TEMPLATE NAME AND ARGUMENTS}}</pre>
<pre>{{Quotation|source=AuthorName|text=Text goes here.}}</pre>
'''Result:'''
 
{{TEMPLATE NAME AND ARGUMENTS}}
=== Result ===
-->
 
None
{{Quotation|source=AuthorName|text=Text goes here.}}


== See Also ==
== See Also ==

Latest revision as of 04:55, October 5, 2023

Forum Topic

Purpose & Usage

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

Parameters

Required

source=
Quotation source.
text=
Quoted text.

Examples

Code

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

Result

Text goes here.

— AuthorName

See Also

None