Template:Quotation: Difference between revisions

From Step Mods | Change The Game
No edit summary
mNo edit summary
 
(67 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<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-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 6em Times New Roman, Times, Georgie, serif; color: #C0C0C0;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -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>
== Purpose & Usage ==
</blockquote>
<noinclude>
== Description ==
<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.
== Examples ==
; icon-size
 
: Optional. Modifies the space for the icon.</noinclude>
=== Code ===
<pre>{{Quotation|source=AuthorName|text=Text goes here.}}</pre>
 
=== Result ===
 
{{Quotation|source=AuthorName|text=Text goes here.}}
 
== See Also ==
<!--
*[[:RELATED TEMPLATE NAME AND ARGUMENTS]]
-->
None
 
</noinclude>

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