Template:Quote: Difference between revisions
From /i/nsurgency W/i/ki
Jump to navigationJump to search
>Hitlerlol No edit summary |
>Hitlerlol No edit summary |
||
Line 26: | Line 26: | ||
# 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 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 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: <nowiki>{{quote|1=Quote text|2=Person|3=Source|color= | # "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|1=Quote text|2=Person|3=Source|color=white|size=360%}}</nowiki> |
Revision as of 06:12, 11 October 2008
Template structure
{{quote| 1 | 2 | 3 |color=white|size=360%}}
Template usage
{{Squote|Quote Text|Person|Source|color=white|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=white|size=360%}}