Difference between revisions of "Template:Quote"
MyWikiBiz, Author Your Legacy — Saturday November 16, 2024
Jump to navigationJump to searchBadmachine (talk | contribs) (https://web.archive.org/web/20130701080028/https://encyclopediadramatica.se/index.php?title=Template:Quote&action=edit) |
Badmachine (talk | contribs) (not needed) |
||
Line 30: | Line 30: | ||
# "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=silver|size=360%}} | # "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=silver|size=360%}} | ||
</nowiki> | </nowiki> | ||
− | # Do not add <nowiki> <big>, <small> or <center> </nowiki> tags inside the quote, the only acceptabe tags are <nowiki> <pre> and <br /></nowiki> all others screw up the formatting. | + | # Do not add <nowiki> <big>, <small> or <center> </nowiki> tags inside the quote, the only acceptabe tags are <nowiki> <pre> and <br /></nowiki> all others screw up the formatting. |
− |
Latest revision as of 07:44, 22 May 2014
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
- The "color" and "size" parameters refer to the quotation marks—not the text.
- The "textColor" and "textSize" parameters refer to the text.
- The "sourceColor" and "sourceSize" parameters refer to the text for the quoted persons or source.
- 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%}}
- Do not add <big>, <small> or <center> tags inside the quote, the only acceptabe tags are <pre> and <br /> all others screw up the formatting.