Template:Quotation/doc: Difference between revisions
Jump to navigation
Jump to search
(Gleki uploaded a new version of "File:selsku lanci fra.svg") |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
<!-- | |||
PLEASE ADD CATEGORIES AND INTERWIKIS LINKS AT THE END OF THIS PAGE | |||
--> | |||
== Usage == | |||
* '''You should not put quotation marks around the quote.''' | |||
* <big><code><nowiki>{{Quotation|Quoted material|Author|Title|Publication}}</nowiki></code></big> | |||
{{Quotation|Quoted material|Author|Title|Publication}} | |||
* <big><code><nowiki>{{Quotation|Quoted material|Author||skip italics to use '' '' for italics}}</nowiki></code></big> | |||
{{Quotation|Quoted material|Author||skip italics to use '' '' for italics}} | |||
* <big><code><nowiki>{{Quotation|Quoted material|Author|Title|}}</nowiki></code></big> | |||
{{Quotation|Quoted material|Author|Title|}} | |||
* <big><code><nowiki>{{Quotation|Quoted material}}</nowiki></code></big> | |||
{{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== | |||
{{TemplateDataHeader}} | |||
<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 {{Cite book}} etc.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
== See also == | |||
{{Quotation templates see also}} | |||
<includeonly> | |||
<!-- CATEGORIES AND INTERWIKIS LINKS HERE, THANKS --> | |||
[[Category:Quotation templates]] | |||
</includeonly> |
Latest revision as of 12:04, 1 March 2014
![]() | This is a documentation subpage for Template:Quotation. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- 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 (=)
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
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Quotation
<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 Empty citation (help) etc.", "type": "string", "required": false } }
} </templatedata>
See also
- Template:Bq—quote without border, page-wide; like (and compatible with parameters of) the older {{Quote}} but with more features; conversion from all others listed here is trivially easy (retaining key data, losing decoration, etc.)
- Template:Centered pull quote—pull quote between large quotation marks, page-wide; should rarely be used in articles and is not for block quotations, only pull quotes
- 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:Rquote—pull quote between large quotation marks, in a reduced floating area; also rarely appropriate in articles
- Template:notci—for quoting other editors (or guidelines, etc.) on talk pages (in a block)
- Template:Tq—for quoting on talk pages, inline
- Category:Quotation templates