Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Essay quote: Difference between revisions

Template page
No edit summary
(Undo revision 56389 by CriticalResist (talk))
Tag: Undo
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Essay_quote/style.css" />
<templatestyles src="Essay_quote/style.css" />


<div class="essay-quote essay-quote-{{{align}}}" style="margin-bottom:{{{bottom|}}}>
<div class="essay-quote essay-quote-{{{align}}}" style="margin-bottom:{{{bottom|}}}px;">
<span class="essay-quote-mark">“</span>
<span class="essay-quote-mark">“</span>
<span class="essay-quote-text">{{{quote}}}</span>
<span class="essay-quote-text">{{{quote}}}</span>
</div>
</div>
<!--
    @param quote    The portion you want to quote (recommend around 15 words max).
    @param align    Alignment on the page (left, right, or center)
    @param bottom  Optional. Change bottom margin (in px) in case layout is messed up when you add your template. Can be negative.
-->
<noinclude>
<templatedata>
{
"params": {
  "quote": {
    "label": "Quote",
    "description": "The portion you want to quote (recommend ~30 words max)",
    "type": "string",
    "required": true
  },
  "align": {
    "label": "Align",
    "description": "Alignment on the page (left, right, or center)",
    "type": "string",
    "required": true
  },
  "bottom": {
    "label": "Bottom",
    "description": "Optional. Change bottom margin (in px) in case layout is messed up when you add your template. Can be negative.",
    "type": "number",
    "required": false
  }
}
}
</templatedata>
</noinclude>

Latest revision as of 15:35, 20 September 2023

{{{quote}}}


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Quotequote

The portion you want to quote (recommend ~30 words max)

Stringrequired
Alignalign

Alignment on the page (left, right, or center)

Stringrequired
Bottombottom

Optional. Change bottom margin (in px) in case layout is messed up when you add your template. Can be negative.

Numberoptional