Template:Quote

From OniGalore
Revision as of 01:11, 11 April 2023 by Iritscen (talk | contribs) (deleted unneeded/non-working parameters; documented width parameter and linked to other quote templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A simple quote template. Transcluding {{Quote|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.|Citation source (2nd parameter, optional)}} produces:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Citation source (2nd parameter, optional)


You can also supply the parameter "w=x%" to set the quote to that width, otherwise it will use "width:auto".

Also see the more complex Template:Quotebox which supplies a shaded background for the quote, and Template:Pullquote.