Difference between revisions of "Template:QuickProfile"

From LAH Wiki
Jump to: navigation, search
Line 2: Line 2:
 
|
 
|
 
{| style="text-align:left; border:1px solid dimgray; width:{{#if: {{{width|}}}|{{{width}}}|100%}}; align:={{{align}}}"
 
{| style="text-align:left; border:1px solid dimgray; width:{{#if: {{{width|}}}|{{{width}}}|100%}}; align:={{{align}}}"
|style="width:1px"|[[Image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|120px]]
+
|style="width:1px"|[[Image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|{{#if:{{{imagewidth|}}}|{{{imagewidth}}}|120px}}]]
 
|<includeonly>{{{body}}}</includeonly><noinclude>Example</noinclude>
 
|<includeonly>{{{body}}}</includeonly><noinclude>Example</noinclude>
 
|}
 
|}
Line 13: Line 13:
 
*'''align''' - how the template aligns to the page.
 
*'''align''' - how the template aligns to the page.
 
*'''width''' - the width of the template; if left blank, will default to 100%
 
*'''width''' - the width of the template; if left blank, will default to 100%
 +
*'''imagewidth''' - the width of the image.  Smaller is probably better.  If left blank, will default to 120px.
 
*'''imageFile''' - the image file. The <nowiki>[[Image:]]</nowiki> code is not necesary, and the template will resize it to 120px wide.
 
*'''imageFile''' - the image file. The <nowiki>[[Image:]]</nowiki> code is not necesary, and the template will resize it to 120px wide.
 
*'''body''' - The text to accompany the image.
 
*'''body''' - The text to accompany the image.
Line 23: Line 24:
 
|align=
 
|align=
 
|width=
 
|width=
 +
|imagewidth=
 
|imageFile=
 
|imageFile=
 
|body=
 
|body=

Revision as of 03:07, 21 July 2007

Personal tools