Template:TechCard: Difference between revisions

Jump to navigation Jump to search
added nofile variable
No edit summary
Line 1: Line 1:
<div style="clear:both;">
<div style="clear:both;">
{| class="infobox" style="font-family:Retail Demo, Open Sans, PT Serif; width:320px; padding:10px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold;"
{| style="float: right; font-family:Retail Demo, Open Sans, PT Serif; width:300px; padding:10px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold; margin: 0 0 1em 1em;"
! 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}}}
! 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}}}
{{#if: {{{nofile|}}} | |
{{#if: {{{nofile|}}} | |
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center; border:none; padding:6px" {{!}}
{{!}} colspan="2" style="text-align:center; border:none; padding:6px" {{!}}
[[File:{{{file|}}}|frameless|center|300px|alt={{{name|N/A}}}]]
[[File:{{{file|}}}|frameless|center|400px|alt={{{name|N/A}}}]]
}}
}}
|-
|-