Template:Quote: Difference between revisions

From The Reed and Rite
m Mixed up location text-align style should be in.
m Removed background color to allow dynamic color shift in dark mode.
 
Line 49: Line 49:
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white;" |<pre>{{quote
| style="text-align: left;" |<pre>{{quote
|A thing someone said.
|A thing someone said.
|Who Said It
|Who Said It
}}</pre>
}}</pre>
| style="background-color: white;" |{{quote
|{{quote
|A thing someone said.
|A thing someone said.
|Who Said It
|Who Said It
Line 63: Line 63:
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white;" |<pre>{{quote
| style="text-align: left;" |<pre>{{quote
|A thing someone said.  
|A thing someone said.  
|Who Said It
|Who Said It
Line 69: Line 69:
|width=250px
|width=250px
}}</pre>
}}</pre>
| style="background-color: white; text-align:justify;" |Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis.Tempus leo eu aenean sed diam urna tempor.
| style="text-align:justify;" |Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis.Tempus leo eu aenean sed diam urna tempor.
{{quote
{{quote
|A thing someone said.  
|A thing someone said.  
Line 82: Line 82:
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white;" |<pre>{{quote
| style="text-align: left;" |<pre>{{quote
|A thing someone said.
|A thing someone said.
|Who Said It
|Who Said It
|ref={{ref|text=A reference to the quote's origin.}}
|ref={{ref|text=A reference to the quote's origin.}}
}}</pre>
}}</pre>
| style="background-color: white;" |{{quote
|{{quote
|A thing someone said.
|A thing someone said.
|Who Said It
|Who Said It

Latest revision as of 22:35, 27 May 2025

Description

This template allows you to insert a quote on a page either as a block element or an inline element.

Usage

Block Quote
This method will insert the quote as a block element. Meaning no text will surround it when used.
You Type You Get
{{quote
|A thing someone said.
|Who Said It
}}

A thing someone said.

—Who Said It
Inline Quote
To insert a quote as an inline element (have text wrap around it), pass both align= and width=. align= can be passed with either left or right. width= can be either a set pixel amount (e.g., 250px), or a percentage (e.g., 35%)
You Type You Get
{{quote
|A thing someone said. 
|Who Said It
|align=right
|width=250px
}}
Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis.Tempus leo eu aenean sed diam urna tempor.

A thing someone said.

—Who Said It
Pulvinar vivamus fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos. Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis convallis.Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus fringilla lacus nec metus bibendum egestas.
Quote Reference
To include a footnote, pass ref=, with either the {{ref}}, {{Emma ref}}, or {{book ref}} templates.
You Type You Get
{{quote
|A thing someone said.
|Who Said It
|ref={{ref|text=A reference to the quote's origin.}}
}}

A thing someone said.

—Who Said It[1]

Notes

  1. ^ A reference to the quote's origin.

Articles Using Template