Difference between revisions of "Template:Quotation/doc"
From MyWiki
(Sync with enwiki.) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 08:36, 21 July 2017
Usage[edit]
- You should not put quotation marks around the quote.
-
{{Quotation|Quoted material|Author|Title|Publication}}
Quoted material— Author, Title, Publication
-
{{Quotation|Quoted material|Author||skip italics to use '' '' for italics}}
Quoted material— Author, skip italics to use for italics
-
{{Quotation|Quoted material|Author|Title|}}
Quoted material— Author, Title
-
{{Quotation|Quoted material}}
Quoted material
The equal sign (=)[edit]
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[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Quotation/doc
<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[edit]
Similar templates comparison:
- Template:Epigraph – quote without border, page-wide, normal-sized attribution
- Template:Quote – quote without border, page-wide, smaller-sized attribution
- Template:Quotation – quote with border, page-wide
- Template:Quote box – quote with border, in a reduced floating box
- Template:Cquote – pull-quote between graphic quotation marks, page-wide
- Template:Rquote – pull-quote between graphic quotation marks, in a reduced floating area
- Category:Quotation templates – more templates