Template:Squote: Difference between revisions

From Reborniwiki
Jump to navigationJump to search
m 1 revision imported
Blanked the page
Tag: Blanking
 
Line 1: Line 1:
<!-- The nested div fixes a spacing problem in Firefox. -->
<!-- All the other changes are intended to address aesthetic considerations in various browsers -->
<center>
<div style="clear:none;"><div style="margin: 0 10%;">
{| style="border-collapse:collapse; background-color:transparent;"
| valign="top" style="overflow:hidden; margin: 0 0 1em 0; color:{{{color|silver}}}; font-size:{{{size|2.7em}}}; font-family:serif; font-weight:bold; text-align:left;" | <span style="line-height:0.4em;">&nbsp;</span><br />“
| valign="middle" style="overflow:hidden; padding:0 1em; text-align:left; font-size:1.15em;font-style:italic;line-height:1.5em" | &nbsp;<br />{{{1}}}<br />&nbsp;
| valign="bottom" style="overflow:hidden; color:{{{color|silver}}}; font-size:{{{size|2.7em}}}; font-family:serif; font-weight:bold; text-align:right;" | „<br /><span style="line-height:0.55em;">&nbsp;</span>
|-
| colspan="3" | <p style="font-size:85%; line-height:1em; text-align:right"><cite style="font-style:normal;">—{{{2| }}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
</center>


<noinclude>{{usage|1=This is a formatting template used to add a block quote to an article, but with a smaller font than what is used for [[Template:Quote]]
The format for using this template is as follows:<br />
'''<pre>{{Squote|1=I'LL BREAK YOU DEAD!|2=Christian Weston Chandler|3=Phone message to Jason Kendrick Howell}}</pre>'''
- Displays:{{Squote|I'LL BREAK YOU DEAD!|Christian Weston Chandler|Phone message to Jason Kendrick Howell}}
'''Template structure'''
<nowiki>{{Squote| 1 | 2 | 3 |color=silver|size=360%}}</nowiki>
'''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: <nowiki>{{quote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}</nowiki>
'''<pre>{{Squote|1=I'LL BREAK YOU DEAD!|2=Chris|3=URL with = sign|color=blue|size=500%}}</pre>'''
- Displays:{{Squote|1=I'LL BREAK YOU DEAD!|2=Chris|3=URL with = sign|color=blue|size=500%}}
}}
[[Category:Formatting and function templates|{{PAGENAME}}]]
See [[Template:Quote]] for displaying block quotes in a larger font size.
See [[Template:Tinyquote]] for displaying block quotes in an even smaller font size.</noinclude>

Latest revision as of 05:30, 15 March 2025