Template:Quote: Difference between revisions
mNo edit summary |
m Removed background color to allow dynamic color shift in dark mode. |
||
| (14 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><blockquote class="source" style="border-left: none; padding-left: 0; {{#if:{{{align|}}}{{{width|}}}|float: {{{align}}}; width: {{{width}}};}} margin: 0.5em 0.5em | <includeonly><blockquote class="source" style="border-left: none; padding-left: 0; padding-right: 5px; {{#if:{{{align|}}}{{{width|}}}|float: {{{align}}}; width: {{{width}}};}} margin: 0.5em 0em 0.5em .1em; overflow: auto; {{{style|}}}"><div style="display: flex; align-items: flex-start; line-height: 1.4;"><!-- | ||
--><span | --><span | ||
class="quotation-mark" | class="quotation-mark" | ||
style=" | style=" | ||
color: #9DC6C2; | color: #9DC6C2; | ||
font-size: | font-size: 40px; | ||
font-family: 'Baskerville', 'Times New Roman', Times, serif; | font-family: 'Libre Baskerville', 'Times New Roman', Times, serif; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: . | line-height: .1em; | ||
text-align: left; | text-align: left; | ||
padding: | padding: 20px 3px 0px 0px; | ||
margin-left: | margin-left: 20px; | ||
" | " | ||
>&# | >“</span><!-- | ||
--><em style="font-size: 130%; font-family: 'Libre Baskerville', 'Times New Roman', Times, serif; display: inline; text-align: left;"> | --><em style="font-size: 130%; font-family: 'Libre Baskerville', 'Times New Roman', Times, serif; display: inline; text-align: left;"> | ||
| Line 23: | Line 22: | ||
vertical-align: bottom; | vertical-align: bottom; | ||
color: #9DC6C2; | color: #9DC6C2; | ||
font-size: | font-size: 38px; | ||
font-family: 'Baskerville', 'Times New Roman', Times, serif; | font-family: 'Libre Baskerville', 'Times New Roman', Times, serif; | ||
font-weight: bold; | font-weight: bold; | ||
line-height: . | line-height: .7em; | ||
padding: 0px 0px; | padding: 0px 0px 0px 0px; | ||
margin-left: - | margin-left: -4px; | ||
">&# | ">” | ||
</span></div><!-- | </span></div><!-- | ||
--><div style="margin-left: | --><div style="margin-left: 3.2em; display: inline-block; text-align: left;"><span style="font-size: 120%; font-family: 'Libre Baskerville', 'Times New Roman', Times, serif; font-variant: small-caps;">—{{#if:{{{2|}}}|{{{2}}}|}}</span>{{#if: {{{ref|}}} | {{{ref}}} }}<!-- | ||
--></div><!-- | |||
--></blockquote><!-- | --></blockquote><!-- | ||
| Line 48: | Line 49: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | style="text-align: left;" |<pre>{{quote | ||
|A thing someone said. | |A thing someone said. | ||
|Who Said It | |Who Said It | ||
}}</pre> | }}</pre> | ||
|{{quote | |||
|A thing someone said. | |A thing someone said. | ||
|Who Said It | |Who Said It | ||
| Line 62: | Line 63: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | style="text-align: left;" |<pre>{{quote | ||
|A thing someone said. | |A thing someone said. | ||
|Who Said It | |Who Said It | ||
| Line 68: | Line 69: | ||
|width=250px | |width=250px | ||
}}</pre> | }}</pre> | ||
| style=" | | 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 81: | Line 82: | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left | | 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> | ||
|{{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
}}
|
|
| 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.
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 | |
| You Type | You Get |
{{quote
|A thing someone said.
|Who Said It
|ref={{ref|text=A reference to the quote's origin.}}
}}
|
Notes
|
Articles Using Template
- St. Crispian's (transclusion) (← links | edit)
- Agnes (transclusion) (← links | edit)
- Parian (transclusion) (← links | edit)
- Matilde (transclusion) (← links | edit)
- Maxwell (transclusion) (← links | edit)
- Nigel Hawkes (transclusion) (← links | edit)
- Mary Bairrage (transclusion) (← links | edit)
- Madame Tasset (transclusion) (← links | edit)
- Saffronia March (transclusion) (← links | edit)
- Jack Hollingstell (transclusion) (← links | edit)
- Mr. Penury (transclusion) (← links | edit)
- The Tenant (transclusion) (← links | edit)
- Lapis Lazuli Minor (transclusion) (← links | edit)
- The Reed and Rite (transclusion) (← links | edit)
- Declan Lion (transclusion) (← links | edit)
- Emma's Mother (transclusion) (← links | edit)
- Fortitude Preparatory School for Girls (transclusion) (← links | edit)