Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Squote: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TKN
Reverted edits by LiteralKa (talk) to last revision by Typhoon
imported>Lolyunohavgudsoftware
No edit summary
Line 5: Line 5:
{| 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|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="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-style:italic;" | &nbsp;<br />{{{1}}}<br />&nbsp;
| valign="middle" style="overflow:hidden; padding:0 1em; text-align:{{{text-align|left}}};  font-style:italic;" | &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>
| 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;">{{ #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;">{{ #if:{{{2|}}} |—{{{2| }}}}}{{ #if:{{{3|}}} |, ''{{{3}}}''}}</cite></p>
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
|}</div></div><!-- {{subst:FULLPAGENAME}} -->
</center></onlyinclude>
</center></onlyinclude>{{TOCright}}


== Usage ==


'''Template structure'''
Apply to long quotes for keeping pages clean.


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


<pre>{{Squote| 1 | 2 | 3 |color=silver|size=360%}}</pre>


'''Template usage'''
=== Example 1 ===


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


'''Notes'''  
'''Notes'''  
Line 27: Line 29:
#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>{{Squote|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>{{Squote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}</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.<noinclude>
# Do not add <nowiki><big>, <small> or <center> </nowiki> tags inside the quote, the only acceptable tags are <nowiki> <pre> and <br /></nowiki> all others screw up the formatting.
 
=== Example 2 ===
 
{{squote|*Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR*|Someone|Somewhere|color=lightblue|size=360%}}<noinclude>
 
[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting Templates|{{PAGENAME}}]]</noinclude>

Revision as of 22:20, 5 March 2016

 
 
{{{1}}}
 

 

Usage

Apply to long quotes for keeping pages clean.

Syntax

{{Squote| 1 | 2 | 3 |color=silver|size=360%}}

Example 1

{{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: {{Squote|1=Quote text|2=Person|3=Source|color=silver|size=360%}}
  5. Do not add <big>, <small> or <center> tags inside the quote, the only acceptable tags are <pre> and <br /> all others screw up the formatting.

Example 2

 
 
*Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR* *Valid for a TL;DR*
 

 

—Someone, Somewhere