Template:TechCard: Difference between revisions

No edit summary
No edit summary
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>
<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; text-align:center; padding:6px;" | {{{name}}}
{| class="techcard"
! colspan="2" class="techcard-header" | {{{name|N/A}}}
{{#if: {{{nofile|}}} | |
{{!}}-
{{!}} colspan="2" class="techcard-image" {{!}}
[[File:{{{file|}}}|frameless|center|400px|alt={{{name|N/A}}}]]
}}
|-
|-
! colspan="2" style="text-align:center; border:none; padding:6px;" | [[File:{{{file}}}|frameless|center|300px|alt={{{name}}}]]
! class="techcard-label" | Tech Type:
| class="techcard-value" | [[{{{tech_type|N/A}}}]]
|-
|-
! style="width:150px; font-weight:bold; font-size:16px;" {{!}} Tech Type
{{#if: {{{difficulty|}}} |
| style="font-size:16px;" {{!}} [[{{{tech_type}}}]]
{{!}}- class="techcard-row"
{{!}}class="techcard-label" {{!}} Difficulty:
{{!}}class="techcard-value" {{!}} {{{difficulty}}}
}}
{{#if: {{{character_dependent|}}} |
{{!}}- class="techcard-row"
{{!}}class="techcard-label" {{!}} Character Dependent:
{{!}}class="techcard-value-bottom" {{!}} {{{character_dependent}}}
}}
|-
|-
! style="width:150px; font-weight:bold; font-size:16px;" {{!}} Difficulty
{{#if: {{{stamina|}}} |
| style="font-size:16px;" {{!}} {{{difficulty}}}
{{!}}- class="techcard-row"
|-
{{!}}class="techcard-label" {{!}} Stamina:
! style="width:150px; font-weight:bold; font-size:16px;" {{!}} Character Dependent
{{!}}class="techcard-value" {{!}} {{{stamina}}}
| style="font-size:16px;" {{!}} {{{character_dependent}}}
}}
|-
{{#if: {{{inputs|}}} |
! style="width:150px; font-weight:bold; font-size:16px;" {{!}} Inputs
{{!}}- class="techcard-row"
| style="font-size:16px;" {{!}} {{{inputs}}}
{{!}}class="techcard-label" {{!}} Inputs:
{{#if: {{{credits|}}} |
{{!}}class="techcard-value" {{!}} {{{inputs}}}
{{!}}-
}}
{{!}} style="width:150px; font-weight:bold; font-size:16px;" {{!}} Credits
{{#if: {{{notes|}}} |
{{!}} style="font-size:16px;" {{!}} {{{credits}}}
{{!}}- class="techcard-row"
{{!}}class="techcard-label" {{!}} Notes:
{{!}}class="techcard-value" {{!}} {{{notes}}}
}}
}}
|}
|}
</onlyinclude>
</div><noinclude>{{Documentation}}</noinclude>