Template:Quote: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{| style="margin:0.5em auto; max-width:50em;" | style="border:none; color:{{{color|#B2B7F2}}}; font-family:'Times New Roman',Times,serif; font-size:{{{size|3em}}}; font-weight:bold; line-height:41px; padding:0 16px 0 0; vertical-align:top; width:20px;" | “ | style="border:none; font-size:1.2em; font-style:italic; padding:0; vertical-align:middle;"|{{{1|Flub}}} | style="border:none; color:{{{color|#B2B7F2}}}; font-family:'Times New Roman',Times,serif; font-..." |
(No difference)
|
Revision as of 10:10, 1 July 2025
Usage
These usage notes will not be included in articles bearing this template.
This is a formatting template used to add a block quote to an article.
The format for using this template is as follows:
{{Quote|1=Hello.|2=John|3=Conversation with }}
- Displays:
“ | Hello. | ” |
John, Conversation with |
Template structure
{{quote| 1 | 2 | 3 |color=silver|size=360%}}
Notes
- The "color" and "size" parameters refer to the quotation marks—not the text.
- If you want to change the color and size variables, you must declare the parameter explicitly (i.e. you must include "color=" or "size=").
- If you want to change the size parameter, then you must include a unit of measurement (e.g. %, px, pt).
- "If a parameter value contains an equals sign, the parameter name must be declared explicitly." This means that if you want to include a URL in your quote, and if that URL contains an equals sign, then you must explicitly declare the parameter. All that means is that you should add "1=", "2=", or "3=", as appropriate, ahead of your quote text, speaker, or source, like this: {{quote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}
{{Quote|1=Hello.|2=John|3=URL with = sign|color=blue|size=500%}}
- Displays:
“ | Hello. | ” |
John, URL with = sign |