Template:TechCard: Difference between revisions

No edit summary
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="clear:both;">
<templatestyles src="TechCard/styles.css" />
{| class="infobox" style="font-family:Retail Demo, Open Sans, PT Serif; width:320px; padding:10px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold;"
<div class="techcard-wrapper">
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: 30px; font-family:Retail Demo, Open Sans, PT Serif; font-weight: bold; text-align:center; padding:6px; text-shadow: 2px 2px 4px rgba(0,0,0,0.8);" | {{{name|N/A}}}
{| class="techcard"
|-
! colspan="2" class="techcard-header" | {{{name|N/A}}}
! colspan="2" style="text-align:center; border:none; padding:6px | [[File:{{{file|}}}|frameless|center|300px|alt={{{name|N/A}}}]]
{{#if: {{{nofile|}}} | |
{{!}}-
{{!}} colspan="2" class="techcard-image" {{!}}
[[File:{{{file|}}}|frameless|center|400px|alt={{{name|N/A}}}]]
}}
|-
|-
! style="width:124px;font-size: 15px;text-shadow: 1.5px 1.5px 2px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px; padding-right:0.5em" | Tech Type:  
! class="techcard-label" | Tech Type:  
| style="font-size:16px; color:#FFEFD7; text-shadow:1.5px 1.5px 0.8px rgba(0,0,0,0.8);" | [[{{{tech_type|N/A}}}]]
| class="techcard-value" | [[{{{tech_type|N/A}}}]]
|-
|-
{{#if: {{{difficulty|}}} |
{{#if: {{{difficulty|}}} |
{{!}}-
{{!}}- class="techcard-row"
{{!}}-style="vertical-align:top;"
{{!}}class="techcard-label" {{!}} Difficulty:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Difficulty:
{{!}}class="techcard-value" {{!}} {{{difficulty}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; color:#FFEFD7;" {{!}} <span style="margin-left: 2px;">{{{difficulty}}}</span>
}}
}}
{{#if: {{{character_dependent|}}} |
{{#if: {{{character_dependent|}}} |
{{!}}-
{{!}}- class="techcard-row"
{{!}}-style="vertical-align:top;"
{{!}}class="techcard-label" {{!}} Character Dependent:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Character Dependant:
{{!}}class="techcard-value-bottom" {{!}} {{{character_dependent}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; color:#FFEFD7;" {{!}} <span style="margin-left: 2px;">{{{character_dependent}}}</span>
}}
}}
|-
|-
{{#if: {{{stamina|}}} |
{{#if: {{{stamina|}}} |
{{!}}-
{{!}}- class="techcard-row"
{{!}}-style="vertical-align:top;"
{{!}}class="techcard-label" {{!}} Stamina:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Stamina:
{{!}}class="techcard-value" {{!}} {{{stamina}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; color:#FFEFD7;" {{!}} <span style="margin-left: 2px;">{{{stamina}}}</span>
}}
}}
{{#if: {{{inputs|}}} |
{{#if: {{{inputs|}}} |
{{!}}-
{{!}}- class="techcard-row"
{{!}}-style="vertical-align:top;"
{{!}}class="techcard-label" {{!}} Inputs:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Inputs:
{{!}}class="techcard-value" {{!}} {{{inputs}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; color:#FFEFD7;" {{!}} <span style="margin-left: 2px;">{{{inputs}}}</span>
}}
}}
{{#if: {{{notes|}}} |
{{#if: {{{notes|}}} |
{{!}}-
{{!}}- class="techcard-row"
{{!}}-style="vertical-align:top;"
{{!}}class="techcard-label" {{!}} Notes:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} Notes:
{{!}}class="techcard-value" {{!}} {{{notes}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; color:#FFEFD7;" {{!}} <span style="margin-left: 2px;">{{{notes}}}</span>
}}
}}
|}
|}
</div>
</div><noinclude>{{Documentation}}</noinclude>