On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Quotation: Difference between revisions

From SuccuWiki - The Wiki of the Succubi
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:


{{#if:{{{2|<noinclude>x</noinclude>}}}
{{#if:{{{2|<noinclude>x</noinclude>}}}
  |<p style="text-align: right;"> — <cite>{{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}
  |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}
   |, ''{{{3}}}''
   |, ''{{{3}}}''
  }}{{#if:{{{4|<noinclude>x</noinclude>}}}
  }}{{#if:{{{4|<noinclude>x</noinclude>}}}
   |, {{{4}}}
   |, {{{4}}}
  }}</cite></p>
  }}</p>
}}</blockquote><noinclude>
}}</blockquote><noinclude>


{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 08:13, 12 March 2014

  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

— {{{2}}}, {{{3}}}, {{{4}}}

[edit] [history] [purge] Documentation icon Template documentation

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 the template used by the new VisualEditor.

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  {{{title}}}. etc.",
     "type": "string",
     "required": false
   }
 }

} </templatedata>