Difference between revisions of "InfoFighter"
From Sega Retro
Line 5: | Line 5: | ||
<div style="position: absolute; left: 0; top: 0; z-index: 1;">{{{portrait|}}}</div> | <div style="position: absolute; left: 0; top: 0; z-index: 1;">{{{portrait|}}}</div> | ||
{{#if:{{{sprite|}}} | <div style="margin-bottom: 2em; text-align: center;">{{{sprite|}}}</div> }} | {{#if:{{{sprite|}}} | <div style="margin-bottom: 2em; text-align: center;">{{{sprite|}}}</div> }} | ||
− | {{#if:{{{info1|}}} | <div style="border-color: # | + | {{#if:{{{info1|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info1name|}}}:</div><div style="padding-left: 1em;">{{{info1|}}}</div> }} |
− | {{#if:{{{info2|}}} | <div style="border-color: # | + | {{#if:{{{info2|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info2name|}}}:</div><div style="padding-left: 1em;">{{{info2|}}}</div> }} |
− | {{#if:{{{info3|}}} | <div style="border-color: # | + | {{#if:{{{info3|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info3name|}}}:</div><div style="padding-left: 1em;">{{{info3|}}}</div> }} |
− | {{#if:{{{info4|}}} | <div style="border-color: # | + | {{#if:{{{info4|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info4name|}}}:</div><div style="padding-left: 1em;">{{{info4|}}}</div> }} |
− | {{#if:{{{info5|}}} | <div style="border-color: # | + | {{#if:{{{info5|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info5name|}}}:</div><div style="padding-left: 1em;">{{{info5|}}}</div> }} |
− | {{#if:{{{info6|}}} | <div style="border-color: # | + | {{#if:{{{info6|}}} | <div style="border-color: {{#var:fgcolor}}; border-style: solid; border-width: 0 0 2px 4px; font-size: 0.75rem; font-weight: bold; margin: 1em 0 0 1em; padding-left: 0.5em;">{{{info6name|}}}:</div><div style="padding-left: 1em;">{{{info6|}}}</div> }} |
| style="background: linear-gradient(to right, {{#var:bgcolor}} 50%, transparent 100%); border: 0; color: {{#var:bgcolor}}; font-size: 2rem; font-weight: bold; font-variant: small-caps; height: 1em; line-height: 100%; padding: 0.25em 0.5em; text-align: right; text-shadow: 2px 2px {{#var:fgcolor}};" | {{{name|}}} | | style="background: linear-gradient(to right, {{#var:bgcolor}} 50%, transparent 100%); border: 0; color: {{#var:bgcolor}}; font-size: 2rem; font-weight: bold; font-variant: small-caps; height: 1em; line-height: 100%; padding: 0.25em 0.5em; text-align: right; text-shadow: 2px 2px {{#var:fgcolor}};" | {{{name|}}} | ||
|- | |- |