Template:Quotation: Difference between revisions
From Step Mods | Change The Game
mNo edit summary |
TechAngel85 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><blockquote style="font-style:italic; padding:0em 2em 0em 1em; margin:1em 0em 1em | <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;">{{{ | <span style="font-size:1.2em;">{{{text|Quoted text.}}}</span> | ||
<p style="text-align:right; font-size:1.3em;">— {{{ | <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| | {{Quotation|source=|text=Text goes here.}} | ||
Text goes here. | |||
}} | |||
</pre> | </pre> | ||
=== Parameters === | === Parameters === | ||
; '' | ==== Required ==== | ||
; '''source=''' | |||
: Quotation source. | : Quotation source. | ||
; '' | ; '''text=''' | ||
: Quoted text. | : Quoted text. | ||
; icon | |||
==== Optional ==== | |||
; '''icon''' | |||
: Optional. Displays an icon to the left. | : Optional. Displays an icon to the left. | ||
== 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