Difference between revisions of "Template:Quote"

From LAH Wiki
Jump to: navigation, search
Line 1: Line 1:
{| style="border:1px dotted dimgray; width:80%" cellpadding=0
+
{| style="border:1px dotted dimgray; width:{{{width}}}" cellpadding=0 align="{{#if:{{{align|}}}|{{{align}}}|center}}"
 
| "<includeonly>{{{quote}}}</includeonly><noinclude>Sample quote text.</noinclude>"
 
| "<includeonly>{{{quote}}}</includeonly><noinclude>Sample quote text.</noinclude>"
 
|-
 
|-
Line 5: Line 5:
 
|}
 
|}
 
<noinclude>
 
<noinclude>
A simple template for inserting quotes. It only has two fields to fill in.
+
A simple template for inserting quotes. It has the following parameters.
* '''quote''' - the text of the quote.  The template will add the quotation marks ("").
+
*'''width''' - the width of the template.
* '''who''' - the person to whom the quote is to be attributed. The template will add the dash (---).
+
*'''align''' - the alignment of the template.  if left blank, it will default to center.
 +
*'''quote''' - the text of the quote.  The template will add the quotation marks ("").
 +
*'''who''' - the person to whom the quote is to be attributed. The template will add the dash (---).
  
 
<pre>
 
<pre>
 
{{Quote
 
{{Quote
|quote=TEXT
+
|width=
|who=TEXT
+
|align=
 +
|quote=
 +
|who=
 
}}
 
}}
 
</pre>
 
</pre>
  
 
</noinclude>
 
</noinclude>

Revision as of 20:54, 17 July 2007

Personal tools