Difference between revisions of "Template:Infobox character"

From Summertime Saga Wiki
Jump to: navigation, search
m
 
(11 intermediate revisions by 2 users not shown)
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>
| image_character = {{{image_character|}}}
+
<th colspan="2" style="text-align:center; font-size:x-large; background:#3F4562; border:thin solid #8B94AA; padding:3px 2px; line-height:1.4em;">{{#if:{{{color|}}}|{{font color|{{{color}}}|{{{name|Character full name}}}}}|{{{name|Character full name}}}}}</th>
| aliases = {{{aliases|}}}
+
</tr>
| gender = {{{gender|}}}
+
{{#if:{{{image|}}}|
| hair = {{{hair|}}}
+
<tr>
| eyes = {{{eyes|}}}
+
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|200px|alt="{{PAGENAME}} illustration"]]</td>
| relatives = {{{relatives|}}}
+
</tr>
| morning = {{{morning|}}}
+
}}
| afternoon = {{{afternoon|}}}
+
{{#if:{{{gender|}}}{{{hair|}}}{{{eyes|}}}|
| evening = {{{evening|}}}
+
<tr>
}}</onlyinclude><noinclude>[[Category:Templates]]</noinclude>
+
<th colspan="2" style="text-align:center; border-top:thin solid #8B94AA; border-bottom:thin solid #8B94AA; padding:0.2em 0;">Appearance</th>
 +
</tr>
 +
{{#if:{{{gender|}}}|
 +
<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:thin solid #8B94AA; border-bottom:thin 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:thin solid #8B94AA; border-bottom:thin 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>

Latest revision as of 21:25, 12 September 2023

Character full name