Template:TechCard: Difference between revisions

From The Deadlock Wiki
Jump to navigation Jump to search
Compsoter (talk | contribs)
m Added extra padding to left side text (hero infoboxes normally have icons immediately after so it looks fine there, but for this one its usually text)
No edit summary
 
(16 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; font-family:Retail Demo, Open Sans, PT Serif; font-weight: bold; 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: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;" | [[{{{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: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:
{{#if: {{{stamina|}}} |
| style="font-size:16px;" | {{{difficulty}}}
{{!}}- class="techcard-row"
|-
{{!}}class="techcard-label" {{!}} Stamina:
! 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-value" {{!}} {{{stamina}}}
| style="font-size:16px;" | {{{character_dependent}}}
}}
|-
{{#if: {{{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:
{{!}}- class="techcard-row"
| style="font-size:16px;" | {{{inputs}}}
{{!}}class="techcard-label" {{!}} Inputs:
{{!}}class="techcard-value" {{!}} {{{inputs}}}
}}
{{#if: {{{notes|}}} |
{{!}}- class="techcard-row"
{{!}}class="techcard-label" {{!}} Notes:
{{!}}class="techcard-value" {{!}} {{{notes}}}
}}
|}
|}
</onlyinclude>
</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