Template:TechCard: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
added optional notes header, made stamina optional. added shadows to text
No edit summary
 
(10 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}}}
{{#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|N/A}}}]]
! class="techcard-label" | Tech Type:
| class="techcard-value" | [[{{{tech_type|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:
{{#if: {{{difficulty|}}} |
| 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-row"
|-
{{!}}class="techcard-label" {{!}} Difficulty:
! 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" | Difficulty:
{{!}}class="techcard-value" {{!}} {{{difficulty}}}
| style="font-size:16px; color:#FFEFD7; text-shadow:1.5px 1.5px 0.8px rgba(0,0,0,0.8);" | {{{difficulty|N/A}}}
}}
|-
{{#if: {{{character_dependent|}}} |
! 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" | Character Dependent:
{{!}}- class="techcard-row"
| style="font-size:16px; color:#FFEFD7; text-shadow:1.5px 1.5px 0.8px rgba(0,0,0,0.8);" | {{{character_dependent|N/A}}}
{{!}}class="techcard-label" {{!}} Character Dependent:
{{!}}class="techcard-value-bottom" {{!}} {{{character_dependent}}}
}}
|-
|-
{{#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" {{!}} Notes:
{{!}}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|}}} |
{{!}}- class="techcard-row"
{{!}}class="techcard-label" {{!}} Inputs:
{{!}}class="techcard-value" {{!}} {{{inputs}}}
}}
}}
! 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" | Inputs:
| style="font-size:16px; color:#FFEFD7; text-shadow:1.5px 1.5px 0.8px rgba(0,0,0,0.8);" | {{{inputs|N/A}}}
{{#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>

Latest revision as of 17:41, 9 July 2026

N/A

[[File:|frameless|center|400px|alt=N/A]]

Tech Type: N/A
Template documentation [view] [edit] [history] [purge]
CSS3 logo.svg
This template uses CSS found at TechCard/styles.css.

Template used for movement tech videos.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

Name of the tech

Unknownoptional
nofilenofile

Hide video file if unavailable (any value equals "true")

Suggested values
1 true
Unknownoptional
filefile

File name

Unknownoptional
tech_typetech_type

no description

Unknownoptional
difficultydifficulty

no description

Unknownoptional
character_dependentcharacter_dependent

no description

Suggested values
Yes No
Unknownoptional
staminastamina

Not needed if it's 0

Suggested values
1
Unknownoptional
inputsinputs

no description

Unknownoptional
notesnotes

no description

Unknownoptional