Difference between revisions of "Template:Quote"

From LAH Wiki
Jump to: navigation, search
m (Accidental redundancy)
 
Line 1: Line 1:
{| style="border:1px dotted dimgray; width:80%" cellpadding=0
+
{| style="border:1px solid transparent; background:transparent; width:{{{width}}}" align={{#if:{{{align|}}}|{{{align}}}|center}}
| "{{{quote}}}"
+
|
|-
+
{| style="border:1px dotted dimgray; width:100%" cellpadding=0
| align=right|--- {{{who}}}
+
|"<includeonly>{{{quote}}}</includeonly><noinclude>Sample quote text.</noinclude>"<includeonly>{{#if: {{{who|}}}|<br><div align="right">---{{{who}}}</div>}}</includeonly><noinclude><br><div align=right>---Who</div></noinclude>
 
|}
 
|}
<NoInclude>
+
|}
A test template, but is usable; the code is <noWiki>{{Quote|quote=TEXT|who=TEXT}}</noWiki>
+
<noinclude>
</NoInclude>
+
A simple template for inserting quotes into user pages and talk pages.  It has the following parameters.
 +
*'''width''' - the width of the template. Optional.
 +
*'''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 (—). Optional.
 +
 
 +
The code to include in the page is:
 +
 
 +
<pre>
 +
{{Quote
 +
|width=
 +
|align=
 +
|quote=
 +
|who=
 +
}}
 +
</pre>
 +
 
 +
</noinclude>

Latest revision as of 23:50, 11 October 2007

Personal tools