Template:Quote: Difference between revisions

From /i/nsurgency W/i/ki
Jump to navigationJump to search
>Hitlerlol
No edit summary
>Admin
m Protected "Template:Quote" [edit=sysop:move=sysop]
 
(11 intermediate revisions by 5 users not shown)
Line 4: Line 4:
<div style="clear:none; max-width:50em;"><div style="margin: 0 10%;">
<div style="clear:none; max-width:50em;"><div style="margin: 0 10%;">
{| style="border-collapse:collapse; background-color:transparent;"
{| style="border-collapse:collapse; background-color:transparent;"
| valign="top" style="overflow:hidden; margin: 0 0 1em 0; color:{{{color|white}}}; font-size:{{{size|3.6em}}}; font-family:serif; font-weight:bold; text-align:left;" | <span style="font-color: white; line-height:0.4em;">&nbsp;</span><br />“
| valign="top" style="overflow:hidden; margin: 0 0 1em 0; color:{{{color|silver}}}; font-size:{{{size|3.6em}}}; font-family:serif; font-weight:bold; text-align:left;" | <span style="line-height:0.4em;">&nbsp;</span><br />“
| valign="middle" style="font-color: white; overflow:hidden; padding:0 1em; text-align:left;  font-style:italic;" | &nbsp;<br /><big><big><span style='font-color: #ffffff;'>{{{1}}}</span></big></big><br />&nbsp;
| valign="middle" style="overflow:hidden; padding:0 1em; text-align:left;  font-style:italic;" | &nbsp;<br /><big><big>{{{1}}}</big></big><br />&nbsp;
| valign="bottom" style="overflow:hidden; color:{{{color|white}}}; font-size:{{{size|3.6em}}}; font-family:serif; font-weight:bold; text-align:right;" | „<br /><span style="line-height:0.55em;">&nbsp;</span>
| valign="bottom" style="overflow:hidden; color:{{{color|silver}}}; font-size:{{{size|3.6em}}}; 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;">{{ #if:{{{2|}}} |—{{{2| }}}}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
| colspan="3" | <p style="font-size:85%; line-height:1em; text-align:right"><cite style="font-style:normal;">- {{{2|}}}</cite></p>
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
</center></onlyinclude>
</center></onlyinclude>
Line 15: Line 15:
'''Template structure'''
'''Template structure'''


<nowiki>{{quote| 1 | 2 | 3 |color=white|size=360%}}</nowiki>
<nowiki>{{quote| 1 | 2 | 3 |color=silver|size=360%}}</nowiki>




'''Template usage'''  
'''Template usage'''  


<nowiki>{{Squote|Quote Text|Person|Source|color=white|size=360%}}</nowiki>
<nowiki>{{Squote|Quote Text|Person|Source|color=silver|size=360%}}</nowiki>


'''Notes'''  
'''Notes'''  
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=white|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>{{quote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}</nowiki>

Latest revision as of 00:24, 15 February 2009

 
 
{{{1}}}
 

 

-


Template structure

{{quote| 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: {{quote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}