Difference between revisions of "Template:Squote"

From CWCki
Jump to navigation Jump to search
m (1 revision)
Line 30: Line 30:
</noinclude>
</noinclude>


[[Category: Templates]]
<noinclude>[[Category: Templates]]</noinclude>

Revision as of 17:20, 25 February 2010

 
 
{{{1}}}
 

 


Template structure

{{Squote| 1 | 2 | 3 |color=silver|size=360%}}


Template usage

{{Squote|Quote Text|Person|Source|color=silver|size=360%}}


Notes

  1. The "color" and "size" parameters refer to the quotation marks—not the text.
  2. If you want to change the color and size variables, you must declare the parameter explicitly (i.e. you must include "color=" or "size=").
  3. If you want to change the size parameter, then you must include a unit of measurement (e.g. %, px, pt).
  4. "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: {{Squote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}