Template:Quotation/doc

From MyWiki
Revision as of 08:36, 21 July 2017 by Rmattila (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Usage[edit]

See en:Template:Quotation.

  • 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]

Template:Tnavbar

Similar templates comparison: