Difference between revisions of "Template:CharacterInfobox"

From LAH Wiki
Jump to: navigation, search
Line 1: Line 1:
{| style="border:1px solid dimgray; width:220px" align={{{align}}}
+
{| style="border:1px solid dimgray; width:210px" align={{{align}}}
! style="font-size:120%; color:orange" align=center | {{{name}}}
+
! style="font-size:120%; color:orange" align=center | <includeonly>{{{</includeonly>name<includeonly>}}}</includeonly>
 
|-
 
|-
| style="background:black; border:1px solid dimgray" align=center v-align=middle| [[Image:{{{image}}}|200px]]<BR><span style="font-size:90%; color:white">{{{caption}}}</span>
+
| style="background:black; border:1px solid dimgray" align=center v-align=middle| <includeonly>[[Image:{{{</includeonly>image<includeonly>}}}|200px]]</includeonly><BR><span style="font-size:90%; color:white"><includeonly>{{{</includeonly>caption<includeonly>}}}</includeonly></span>
 
|-
 
|-
| {{{info}}}
+
| <includeonly>{{{</includeonly>info<includeonly>}}}</includeonly>
 
|}
 
|}
 +
<noinclude>
 +
 +
This is a template for character profiles. It has five fields to fill out;
 +
*name: the character's name
 +
*image: the file name of the desired image; an <NoWiki>[[Image]]</NoWiki> is not necessary
 +
*caption: a caption for the image
 +
*align: where the template should be aligned on the page; right is usually what is used, but due to layout issues the box might on occasion be aligned to the left.
 +
*info: This is where the data goes.  remember that to drop to the next line, a <NoWiki><BR></NoWiki> is necesary.
 +
The code for this template will look something link this:
 +
<pre>{{CharacterProfile|align=right
 +
|name=Loli
 +
|image=Loli_Avvie.png
 +
|caption=Loli Fairchilde
 +
|info='''Eye Color''': Lavender<BR>'''Hair Color''': Lavender
 +
}}
 +
</pre>
 +
</noinclude>

Revision as of 02:52, 15 July 2007

Personal tools