Difference between revisions of "Template:QuoteBox2"

From Conservapedia
Jump to: navigation, search
m (Reverted edits by Learntogether (Talk); changed back to last version by BrianCo)
Line 1: Line 1:
<div style="position:absolute;top:0px;left:0px;height:100%;width:100%;background-color:black;color:pink">
+
{{#ifeq:{{{align}}}|center|<center>}}
[[Image:Hitler6-thumb.jpg|center]]
+
{|width="{{{width}}}" align="{{{align|right}}}" cellspacing="4" cellpadding="4" style="border: 2px solid #aaa; font-size: 90%; padding: 4px; margin: 0 1em; margin-{{align}}:0; background-color: #f9f9f9;clear:{{{align}}};"
<pre style="background-color:black;color:pink">
+
|-
    .      .    .  .                        .         
+
|align="center"|''{{{quote}}}''<br>&mdash; {{{source}}}
,-. |-.    |-. . |- |  ,-. ,-.    ,-. . . ,-. |-.    ,-.
+
|}
| | | |    | | | |  |  |-' |      `-. | | |  | |    ,-|
+
<noinclude>
`-' ' '   ' ' ' `' `' `-' '      `-' `-^ `-' ' '    `-^
+
This is a more advanced version of the <nowiki>{{QuoteBox}}</nowiki> allowing some configuration and positioning and adding the source of the quote
                                                       
+
                                                       
+
                      .                                       
+
,-. . . ,-. ,-. ,-. ,-|    . . ,-. . . ,-. ,-.    ,-,-. ,-. ,-.
+
|  | | | | | | |-' | |    | | | | | | | | | |    | | | ,-| | |
+
'  `-^ `-| `-| `-' `-^    `-| `-' `-^ ' ' `-|    ' ' ' `-^ ' '
+
        ,|  ,|            /|              ,|                 
+
        `'  `'            `-'              `'                 
+
            .                      .                                      . 
+
. . ,-. . . ' ,-. ,-.    ,-,-. ,-. | , . ,-. ,-.    ,-,-. ,-.    . , , ,-. |-
+
| | | | | |  |  |-'    | | | ,-| |< | | | | |    | | | |-'    |/|/  |-' | 
+
`-| `-' `-^  '  `-'    ' ' ' `-^ ' ` ' ' ' `-|    ' ' ' `-'    ' '  `-' `'
+
/|                                          ,|                             
+
`-'                                          `'                             
+
     
+
:; ,-.
+
  `-|  
+
:; `-'
+
,'   
+
</pre>
+
  
</div>
+
 
 +
{{TemplateDoc|pages=Article pages|purpose=Featured quote|cat=}}
 +
{{Parms|
 +
{{Parm|width|Width of box|no|specify as % (of page width) or px (pixels)}}
 +
{{Parm|align|Alignment of box|no|default right (left or center other options)}}
 +
{{Parm|quote|Quotation text|yes|automatically italicized, omit any quote marks }}
 +
{{Parm|source|Source of quote|preferred|who made the quote or where it came from }}
 +
}}
 +
== Sample Data Block ==
 +
 
 +
The following may be copied and pasted at a suitable position in the text. 
 +
 
 +
<pre>
 +
{{QuoteBox2
 +
|width=
 +
|align=
 +
|quote=
 +
|source=
 +
|}}
 +
</pre></noinclude>

Revision as of 03:09, 26 July 2007

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

This is a more advanced version of the {{QuoteBox}} allowing some configuration and positioning and adding the source of the quote



Template: QuoteBox2
Use on Article pages
Use for Featured quote
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
width Width of box no specify as % (of page width) or px (pixels)
align Alignment of box no default right (left or center other options)
quote Quotation text yes automatically italicized, omit any quote marks
source Source of quote preferred who made the quote or where it came from

Sample Data Block

The following may be copied and pasted at a suitable position in the text.

{{QuoteBox2
|width=
|align=
|quote=
|source=
|}}