Welcome to the Imperial Archives! The main source of information in the Galactic Empire. Be sure to check out the Editing Protocol before making new pages or editing articles. If you need help feel free to contact the Archives manager at archives@swc-empire.com !

Difference between revisions of "Template:Quote box"

From Imperial Archives
Jump to: navigation, search
(This template seems pretty low-cost and may be useful given that we don't have any alternatives installed.)
 
m
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{|width="{{{width}}}" align="{{{align}}}" cellspacing="4" cellpadding="4" style="border: 4px solid #aaa; font-size: 90%; padding: 4px; margin: 1em; background-color: #f9f9f9;"
 
{|width="{{{width}}}" align="{{{align}}}" cellspacing="4" cellpadding="4" style="border: 4px solid #aaa; font-size: 90%; padding: 4px; margin: 1em; background-color: #f9f9f9;"
 
|-
 
|-
|align="center"|''{{{quote}}}''<br>&mdash;{{{source}}}
+
|align="{{{textalign}}}"|''{{{quote}}}''
 +
|-
 +
|align="right"|&mdash;{{{source}}}
 
|}<noinclude>
 
|}<noinclude>
 
----
 
----
Line 15: Line 17:
 
  width=
 
  width=
 
|align=
 
|align=
 +
|textalign=
 
|quote=
 
|quote=
 
|source=
 
|source=
Line 26: Line 29:
 
  width=45%
 
  width=45%
 
|align=right
 
|align=right
 +
|textalign=center
 
|quote=Cry "Havoc," and let slip the dogs of war.
 
|quote=Cry "Havoc," and let slip the dogs of war.
 
|source=[[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 
|source=[[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
Line 37: Line 41:
 
width=45%
 
width=45%
 
|align=right
 
|align=right
 +
|textalign=center
 
|quote=Cry "Havoc," and let slip the dogs of war.
 
|quote=Cry "Havoc," and let slip the dogs of war.
 
|source=[[w:William Shakespeare|William Shakespeare]], ''[[w:Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 
|source=[[w:William Shakespeare|William Shakespeare]], ''[[w:Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
 
|}}
 
|}}
  
[[Category:Article templates|Quotebox]]
+
[[Category:User templates]]
[[Category:Quotation templates|Quotebox]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:12, 11 September 2012

{{{quote}}}
—{{{source}}}

Instructions

The quote box template allows you to easily put a quote (and its source) inside a box. This is useful in articles where you are short on images and want to add some sort of graphic, or you just want to set off an important or interesting quote away from the main text.

As a stylistic device, the quoted text is italicized in the box by default, so you don't need to put quote marks (" ") around the quoted text; the italics do the work of quote marks in this context. (Should you want to defeat any part of the default italics in the quote, put two apostrophes on each side of the quoted text you do not want italicized, ''like this''.)

You can pick how wide you want the box (as px or a percentage), and how to align it (center, right, left). The parameters are:

{{Quote_box|
 width=
|align=
|textalign=
|quote=
|source=
|}}

For example, entering the following:

{{Quote_box|
 width=45%
|align=right
|textalign=center
|quote=Cry "Havoc," and let slip the dogs of war.
|source=[[William Shakespeare]], ''[[Julius Caesar (play)|Julius Caesar]]'', Act III, Scene I.
|}}


Produces this:

Cry "Havoc," and let slip the dogs of war.
William Shakespeare, Julius Caesar, Act III, Scene I.