Difference between revisions of "PullQuote"
From Stephentown Genealogy: Roots & More
(Replaced content with "<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1<noinclude>| {{Lorem}}</noinclude>}}} {{#if:{{{2|<noinclud...") (Tag: Replaced) |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1 | + | <blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1|{{Lorem}}}}} |
| − | {{#if:{{{2| | + | {{#if: {{{2|}}} |
| − | |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3| | + | |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|}}} |
|, ''{{{3}}}'' | |, ''{{{3}}}'' | ||
| − | }}{{#if:{{{4| | + | }}{{#if:{{{4|}}} |
|, {{{4}}} | |, {{{4}}} | ||
}}</p> | }}</p> | ||
}}</blockquote> | }}</blockquote> | ||
| + | |||
| + | <noinclude>{{Template:PullQuote/doc}}</noinclude> | ||
Latest revision as of 01:58, 18 June 2018
Cras imperdiet arcu nibh, vitae consectetur tellus tempus nec. Aliquam.
Usage
{{PullQuote}} formats a light left border for short quoted material and has options for Author, Title and Publication data.
- You should not put quotation marks around the quote.
{{Quotation|Quoted material|Author|Title|Publication}}
{{Quotation|Quoted material|Author||skip italics to use '' '' for italics}}
{{Quotation|Quoted material|Author|Title|}}
{{Quotation|Quoted material}}
The equal sign (=)
If any of the parameters include an equal sign, this will make the template not recognize the parameter properly. To fix this the parameter needs to be prefixed with "1=", "2=", etc., depending on which parameter this applies to.
TemplateData
<templatedata> {
"description": "insert description here",
"params": {
"1": {
"label": "Quoted material",
"description": "",
"type": "string",
"required": true
},
"2": {
"label": "Author",
"description": "",
"type": "string",
"required": false
},
"3": {
"label": "Title",
"description": "",
"type": "string",
"required": false
},
"4": {
"label": "Publication",
"description": "Use <ref> and Template:Cite book etc.",
"type": "string",
"required": false
}
}
} </templatedata>
See also
Template:Quotation templates see also