Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<onlyinclude>{{infobox
+
<onlyinclude><table style="float:right; clear:right; margin:0.5em 0 1.3em 1.4em; border-spacing:4px; background:#3F4454; color:white; text-align:left; font-size:small; line-height:1.4em; width:200px;">
| name = {{{name|}}}
+
<tr>
| color = {{{color|}}}
+
<th colspan="2" style="text-align:center; font-size:x-large; background:#3F4562; border:1px solid #8B94AA; padding:3px 2px; line-height:1.4em;">{{#if:{{{color|}}}|{{font color|{{{color}}}|{{{name|Character full name}}}}}|{{{name|Character full name}}}}}</th>
| image_character = {{{image_character|}}}
+
</tr>
| aliases = {{{aliases|}}}
+
{{#if:{{{image|}}}|
| gender = {{{gender|}}}
+
<tr>
| hair = {{{hair|}}}
+
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|232px|alt="{{PAGENAME}} illustration"]]</td>
| eyes = {{{eyes|}}}
+
</tr>
| relatives = {{{relatives|}}}
+
}}
| dating = {{{dating|}}}
+
{{#if:{{{gender|}}}{{{hair|}}}{{{eyes|}}}|
| pregnancy = {{{pregnancy|}}}
+
<tr>
| morning = {{{morning|}}}
+
<th colspan="2" style="text-align:center; border-top:1px solid #8B94AA; border-bottom:1px solid #8B94AA; padding:0.2em 0;">Appearance</th>
| afternoon = {{{afternoon|}}}
+
</tr>
| evening = {{{evening|}}}
+
{{#if:{{{gender|}}}|
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
+
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Gender</th>
 +
<td>{{{gender}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{hair|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Hair color</th>
 +
<td>{{{hair}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{eyes|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Eye color</th>
 +
<td>{{{eyes}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
{{#if:{{{pregnancy|}}}{{{dating|}}}{{{relatives|}}}|
 +
<tr>
 +
<th colspan="2" style="text-align:center; border-top:1px solid #8B94AA; border-bottom:1px solid #8B94AA; padding:0.2em 0;">Information</th>
 +
</tr>
 +
{{#if:{{{relatives|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Relatives</th>
 +
<td>{{{relatives}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{dating|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Dating</th>
 +
<td>{{{dating}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{pregnancy|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Pregnancy</th>
 +
<td>{{{pregnancy}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
{{#if:{{{morning|}}}{{{afternoon|}}}{{{evening|}}}|
 +
<tr>
 +
<th colspan="2" style="text-align:center; border-top:1px solid #8B94AA; border-bottom:1px solid #8B94AA; padding:0.2em 0;">Schedule</th>
 +
</tr>
 +
{{#if:{{{morning|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Morning</th>
 +
<td>{{{morning}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{afternoon|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Afternoon</th>
 +
<td>{{{afternoon}}}</td>
 +
</tr>
 +
}}
 +
{{#if:{{{evening|}}}|
 +
<tr>
 +
<th scope="row" style="width:69px; vertical-align:top;">Evening</th>
 +
<td>{{{evening}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
</table></onlyinclude><noinclude>[[Category:Templates]]</noinclude>

Revision as of 14:59, 23 June 2020

Character full name