Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quote: Difference between revisions

Template page
Content added Content deleted
No edit summary
(Undo revision 2361 by SSSteve (talk))
Tag: Undo
Line 8: Line 8:
|-
|-
| colspan="3" | <p style="font-size:{{{sourceSize|85%}}}; {{#if:{{{sourceColor|}}}|color:{{{sourceColor}}};|}} line-height:1em; text-align:right"><cite style="font-style:normal;">{{ #if:{{{2|}}} |—{{{2| }}}}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
| colspan="3" | <p style="font-size:{{{sourceSize|85%}}}; {{#if:{{{sourceColor|}}}|color:{{{sourceColor}}};|}} line-height:1em; text-align:right"><cite style="font-style:normal;">{{ #if:{{{2|}}} |—{{{2| }}}}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
|}</onlyinclude>





Revision as of 01:37, September 10, 2023

   
 
{{{1}}}
 

 
 


Template structure

{{quote| 1 | 2 | 3 |color=silver|size=360%|textColor=red|textSize=200%|sourceColor=green|sourceSize=100%}}


Template usage

{{quote|Quote Text|Person|Source|color=silver|size=360%|textSize=85%|textColor=red|textSize=200%|sourceColor=green|sourceSize=100%}}

Notes

  1. The "color" and "size" parameters refer to the quotation marks—not the text.
  2. The "textColor" and "textSize" parameters refer to the text.
  3. The "sourceColor" and "sourceSize" parameters refer to the text for the quoted persons or source.
  4. If you want to change the color and size variables, you must declare the parameter explicitly (i.e. you must include "color=" or "size=").
  5. If you want to change the size parameter, then you must include a unit of measurement (e.g. %, px, pt).
  6. 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: <nowiki>
   
 
Quote text
 

 
 

—Person, Source

</onlyinclude>


Template structure

{{quote| 1 | 2 | 3 |color=silver|size=360%|textColor=red|textSize=200%|sourceColor=green|sourceSize=100%}}


Template usage

{{quote|Quote Text|Person|Source|color=silver|size=360%|textSize=85%|textColor=red|textSize=200%|sourceColor=green|sourceSize=100%}}

Notes

  1. The "color" and "size" parameters refer to the quotation marks—not the text.
  2. The "textColor" and "textSize" parameters refer to the text.
  3. The "sourceColor" and "sourceSize" parameters refer to the text for the quoted persons or source.
  4. If you want to change the color and size variables, you must declare the parameter explicitly (i.e. you must include "color=" or "size=").
  5. If you want to change the size parameter, then you must include a unit of measurement (e.g. %, px, pt).
  6. 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: <nowiki>Template loop detected: Template:Quote'
Cookies help us deliver our services. By using our services, you agree to our use of cookies.