- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Tinyquote: Difference between revisions
Jump to navigation
Jump to search
imported>GirlOnInternet Reverted edits by Gravity Energy Storage (talk) to last revision by CrackRabbit |
No edit summary |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 28: | Line 28: | ||
#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>{{tinyquote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}</nowiki> | # "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>{{tinyquote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}</nowiki> | ||
[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude> | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
[[Category:Quote Templates|{{PAGENAME}}]] | |||
</noinclude> | |||
Latest revision as of 19:25, 11 August 2024
Template structure
{{tinyquote| 1 | 2 | 3 |color=silver|size=360%}}
Template usage
{{tinyquote|Quote Text|Person|Source|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: {{tinyquote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}