Difference between revisions of "Template:Character.icon"

From Fate's Harvest
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| width=200px min-height=250px style="border-style: solid;  border-width: 1px; float: left; text-align: center; margin: 1em; min-height: 200px; line-height: 95%;"
+
{| width=200px min-height=250px style="background-color: {{#switch: {{{court}}}
 +
| Dawn = #ffd7d4;
 +
| Dusk = #a0a0d0;
 +
| Sun = #ffeeba;
 +
| Moon = #c6c9d4;
 +
| Spring = #daff9c;
 +
| Autumn = #ffa976;
 +
| Summer = #ff4b3b;
 +
| Winter = #c1d7ed;
 +
| #fff;
 +
}} border-style: solid;  border-width: 1px; float: left; text-align: center; margin: 1em; min-height: 200px; line-height: 95%;"
 
| {{#if: {{{icon}}} | [[image:{{{icon| }}}|120x120px|center|link={{{char-page-name| }}}]] | [[image:IconDefault.jpg|120x120px|center]]}}
 
| {{#if: {{{icon}}} | [[image:{{{icon| }}}|120x120px|center|link={{{char-page-name| }}}]] | [[image:IconDefault.jpg|120x120px|center]]}}
 
|-
 
|-

Revision as of 21:50, 30 March 2017