More languages
More actions
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quote | quote | The portion you want to quote (recommend ~30 words max) | String | required |
Align | align | Alignment on the page (left, right, or center) | String | required |
Bottom | bottom | Optional. Change bottom margin (in px) in case layout is messed up when you add your template. Can be negative. | Number | optional |