Template:Quotation: Difference between revisions

From Step Mods | Change The Game
No edit summary
mNo edit summary
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><blockquote class="blockquote font-italic m-auto w-75" style="border-left:1px solid #DDD;"><div class="d-flex"><div class="font-weight-bold h-100 m-auto" style="font-size:6em; width:10%;">{{{icon|“}}}</div><div><p>{{{text|Quoted text.}}}</p><p style="text-align:right; font-size:1.2em;">— {{{source|Quotation source}}}</p></div></div></blockquote></includeonly><noinclude>__NOTOC__ [[Category:Formatting Templates]]
<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''']


== Purpose & Usage ==
== Purpose & Usage ==
Line 8: Line 8:
=== Parameters ===
=== Parameters ===
==== Required ====
==== Required ====
; '''source='''
; {{fc|red|<nowiki>source=</nowiki>}}
: Quotation source.  
: Quotation source.  
; '''text='''
 
; {{fc|red|<nowiki>text=</nowiki>}}
: Quoted text.
: Quoted text.
==== Optional ====
; '''icon='''
: Optional. Displays an icon to the left.


== Examples ==
== Examples ==


'''Code:'''
=== Code ===
<pre>{{Quotation|source=AuthorName|text=Text goes here.}}</pre>
<pre>{{Quotation|source=AuthorName|text=Text goes here.}}</pre>
'''Result:'''
 
=== Result ===
 
{{Quotation|source=AuthorName|text=Text goes here.}}
{{Quotation|source=AuthorName|text=Text goes here.}}



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

Forum Topic

Purpose & Usage[edit source]

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

Parameters[edit source]

Required[edit source]

source=
Quotation source.
text=
Quoted text.

Examples[edit source]

Code[edit source]

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

Result[edit source]

Text goes here.

— AuthorName

See Also[edit source]

None