Template:Quote

From OniGalore
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.