Difference between revisions of "Template:QuickProfile"
From LAH Wiki
Line 1: | Line 1: | ||
+ | {| style="width:100%; border:3px solid transparent; background:transparent" | ||
+ | | | ||
{| 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>]] | + | |style="width:1px"|[[Image:<includeonly>{{{imageFile}}}</includeonly><noinclude>ExampleAvvy.png</noinclude>|120px]] |
|<includeonly>{{{body}}}</includeonly><noinclude>Example</noinclude> | |<includeonly>{{{body}}}</includeonly><noinclude>Example</noinclude> | ||
|}<noinclude> | |}<noinclude> | ||
+ | |} | ||
This is a template for a quick character, user or individual profile, or any other use that may use an image paired with a block of text or list. | This is a template for a quick character, user or individual profile, or any other use that may use an image paired with a block of text or list. | ||
The template uses the following parameters. | The template uses the following parameters. | ||
− | *'''align''' - | + | *'''align''' - how the template aligns to the page. |
− | *'''width''' - | + | *'''width''' - the width of the template; if left blank, will default to 100% |
− | *'''imageFile''' - | + | *'''imageFile''' - the image file. The <nowiki>[[Image:]]</nowiki> code is not necesary, and the template will resize it to 120px wide. |
− | *'''body''' - | + | *'''body''' - The text to accompany the image. |
− | + | ||
− | The | + | |
The code to insert into the article is | The code to insert into the article is |