Template:Attr

From Tower Defense Simulator Wiki
Jump to navigation Jump to search

[[File:|15px||link=|class=]]

Template Documentation
Portions of this template may not be visible without parameter values provided

Description

[edit]

This template is used to easily add various attributes to enemy pages.

Syntax & Usage

[edit]
{{Attr|<attribute name>|<alternative text>}}

Attribute name is the name of the attribute, which can be found in the tables below. Alternative text is replacement text if the default text cannot be used for a specific situation.

Attributes

[edit]

The "User For" column lists the main uses of each value. Because of this, some of the colors listed here may be used for other purposes (such as using the "Krampus" value for the Krampus infobox title), even if not listed here.

Enemy Types
Value Example
Boss Error creating thumbnail: File missingBoss
Hidden Error creating thumbnail: File missingHidden
Fly Error creating thumbnail: File missingFlying
Ghost Error creating thumbnail: File missingGhost
Lead Error creating thumbnail: File missingLead
Immunities/Resistances
Value Example
Freeze Error creating thumbnail: File missingFreeze Immune
Burn Error creating thumbnail: File missingBurn Immune
Splash Error creating thumbnail: File missingSplash Damage Immune
Stun Error creating thumbnail: File missingStun Immune
Status Effects
Value Example
Bloated Error creating thumbnail: File missingBloated
Nimble Error creating thumbnail: File missingNimble
Slime Error creating thumbnail: File missingSlime
Health Regen Error creating thumbnail: File missingHealth Regen
Tank Error creating thumbnail: File missingTank
Aggro Error creating thumbnail: File missingAggro
Corpse Error creating thumbnail: File missingCorpse
Target Error creating thumbnail: File missingNo Target
Other/Boss Only
Value Example
Full Error creating thumbnail: File missingFull Immunity
Invincibility Error creating thumbnail: File missingInvincibility
God Error creating thumbnail: File missingGod
Toxic Gunner Error creating thumbnail: File missingToxic Gunner Slowdown Immune
Confusion Error creating thumbnail: File missingConfusion Immune
Nuke Error creating thumbnail: File missingNuke Fallout Damage Immune
Knockback Error creating thumbnail: File missingKnockback Immune
DJ Error creating thumbnail: File missingDJ Booth Slowdown Immune
Removed
Value Example
Basic Freeze Error creating thumbnail: File missingBasic Freeze Immune
Partial Collision Error creating thumbnail: File missingPartial Collision Immune
Collision Error creating thumbnail: File missingCollision Immune
Shield Error creating thumbnail: File missingShield
Partial Electric Error creating thumbnail: File missingPartial Electric Immune
Energy Error creating thumbnail: File missingEnergy Immune

Example

[edit]

Regular

[edit]
{{Zombie
|title1 = Fallen Hero
|image1 = FallenHeroRework.png
|mode_appearance = [[Fallen Mode|{{Colour|FallenMode}}]]<br/>Challenges<span class="mw-collapsible mw-collapsed">{{scroll|color = var(--InfoboxBorder)|height = auto|text = 
*[[Back to Basics (Challenge)|Back to Basics]]
}}</span>
|first_wave_appearance = 26
|base_hp = [[File:HealthIcon.png|20px|Health]]3,000<br/>Challenges<span class="mw-collapsible mw-collapsed">{{scroll|color = var(--InfoboxBorder)|height = auto|text = 
*[[File:HealthIcon.png|20px|Health]]2,000 ([[Back to Basics (Challenge)|Back to Basics]])}}</span>
|scale_hp = Trio - [[File:HealthIcon.png|20px|Health]]3,400<br/>Quad - [[File:HealthIcon.png|20px|Health]]3,700
|defense = {{Defense}}50%
|speed = [[File:SpeedIcon.png|20px|Health]]Slightly Fast (5)
|cash = {{Money|1,500}} every 50% health
|spawned_by = *[[Fallen King]]
*[[Awakened Fallen King]]
|hidden = No
|fly = No
|ghost = No
|lead = No
|immunity = {{Attr|Stun}}<br/>{{Attr|Freeze}}<br/>{{Attr|Bloated}} (Variable)<br/>{{Attr|Nimble}} (Variable)
}}

<infobox>

 <title source="title1"><default>Attr</default></title>
<image source="image1"></image> <panel> <section> <label>Modern</label> <image source="modern_image"/> </section> <section> <label>Legacy</label> <image source="legacy_image"/> </section> </panel> <label>Mode Appearance</label> <label>Wave Debut</label> <group> <header>Statistics</header> <panel> <section> <label>Regular</label> <label>Base Health</label> <label>Base Shield</label> <label>Health Scaling</label> <label>Mega Health</label> <label>Defense</label> <label>Speed</label> <format>Error creating thumbnail: File missingSlightly Fast (5) </format> <label>Cash Given</label> <label>Spawned By</label> <label>Hidden?</label> <label>Flying?</label> <label>Ghost?</label> <label>Lead?</label> <label>Attributes</label> </section> <section> <label>Event</label> <label>Base Health</label> <label>Base Shield</label> <label>Health Scaling</label> <label>Mega Health</label> <label>Defense</label> <label>Speed</label> <format>Error creating thumbnail: File missingSlightly Fast (5) </format> <label>Cash Given</label> <label>Spawned By</label> <label>Hidden?</label> <label>Flying?</label> <label>Ghost?</label> <label>Lead?</label> <label>Attributes</label> </section> </panel> </group> <group> <panel> <header>Ability</header> <section> <label>Regular</label> <label>Ability</label> <label>Ability 2</label> <label>Ability 3</label> <label>Ability 4</label> <label>Ability 5</label> <label>Ability 6</label> <label>Ability 7</label> <label>Ability 8</label> <label>Ability 9</label> <label>Ability 10</label> </section> <section> <label>Event</label> <label>Ability</label> <label>Ability 2</label> <label>Ability 3</label> <label>Ability 4</label> <label>Ability 5</label> <label>Ability 6</label> <label>Ability 7</label> <label>Ability 8</label> <label>Ability 9</label> <label>Ability 10</label> </section> </panel> </group> <group row-items="2" collapse="closed"> <header>PVP</header> <label>Send Cost</label> <label>Wave Unlock</label> <label>Economy Bonus</label> <label>Send Coolown</label> <label>Send Number</label> <label>Spawn Timer</label> <label>Stat Changes</label> </group> <group collapse="closed"> <header>Music</header> <format>{{{music-1}}}</format> <format>{{{music-2}}}</format> <format>{{{music-3}}}</format> <format>{{{music-4}}}</format> <format>{{{music-5}}}</format> <format>{{{music-6}}}</format> <format>{{{music-7}}}</format> <format>{{{music-8}}}</format> </group> </infobox>

Alternative Text

[edit]
{{Zombie
|title1 = Fallen Soul
|image1 = [[FallenSoulRework.png]]
|mode_appearance = [[Fallen Mode|{{Colour|FallenMode}}]]
|first_wave_appearance = 10
|base_hp = [[File:HealthIcon.png|20px|Health]]40
|scale_hp = Trio - [[File:HealthIcon.png|20px]]50<br/>Quad - [[File:HealthIcon.png|20px]]55
|speed =[[File:SpeedIcon.png|20px|Health]]Above Average 
|cash = {{Money|35}} on death
|hidden = {{Attr|Hidden|Yes}}
|fly = No
|ghost = No
|lead = No
|immunity = {{Attr|Bloated}} (Variable)
}}

<infobox>

 <title source="title1"><default>Attr</default></title>
<image source="image1"></image> <panel> <section> <label>Modern</label> <image source="modern_image"/> </section> <section> <label>Legacy</label> <image source="legacy_image"/> </section> </panel> <label>Mode Appearance</label> <label>Wave Debut</label> <group> <header>Statistics</header> <panel> <section> <label>Regular</label> <label>Base Health</label> <label>Base Shield</label> <label>Health Scaling</label> <label>Mega Health</label> <label>Defense</label> <label>Speed</label> <format>Error creating thumbnail: File missingAbove Average </format> <label>Cash Given</label> <label>Spawned By</label> <label>Hidden?</label> <label>Flying?</label> <label>Ghost?</label> <label>Lead?</label> <label>Attributes</label> </section> <section> <label>Event</label> <label>Base Health</label> <label>Base Shield</label> <label>Health Scaling</label> <label>Mega Health</label> <label>Defense</label> <label>Speed</label> <format>Error creating thumbnail: File missingAbove Average </format> <label>Cash Given</label> <label>Spawned By</label> <label>Hidden?</label> <label>Flying?</label> <label>Ghost?</label> <label>Lead?</label> <label>Attributes</label> </section> </panel> </group> <group> <panel> <header>Ability</header> <section> <label>Regular</label> <label>Ability</label> <label>Ability 2</label> <label>Ability 3</label> <label>Ability 4</label> <label>Ability 5</label> <label>Ability 6</label> <label>Ability 7</label> <label>Ability 8</label> <label>Ability 9</label> <label>Ability 10</label> </section> <section> <label>Event</label> <label>Ability</label> <label>Ability 2</label> <label>Ability 3</label> <label>Ability 4</label> <label>Ability 5</label> <label>Ability 6</label> <label>Ability 7</label> <label>Ability 8</label> <label>Ability 9</label> <label>Ability 10</label> </section> </panel> </group> <group row-items="2" collapse="closed"> <header>PVP</header> <label>Send Cost</label> <label>Wave Unlock</label> <label>Economy Bonus</label> <label>Send Coolown</label> <label>Send Number</label> <label>Spawn Timer</label> <label>Stat Changes</label> </group> <group collapse="closed"> <header>Music</header> <format>{{{music-1}}}</format> <format>{{{music-2}}}</format> <format>{{{music-3}}}</format> <format>{{{music-4}}}</format> <format>{{{music-5}}}</format> <format>{{{music-6}}}</format> <format>{{{music-7}}}</format> <format>{{{music-8}}}</format> </group> </infobox>