Template:Infobox building: Difference between revisions
Jump to navigation
Jump to search
RaiderAlpha (talk | contribs) mNo edit summary |
RaiderAlpha (talk | contribs) No edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Infobox | <onlyinclude>{{Infobox | ||
|abovestyle = | |bodystyle = {{Infobox style|infobox}} | ||
|headerstyle = | |abovestyle = {{Infobox style|infobox_title}} | ||
|labelstyle = | |headerstyle = {{Infobox style|infobox_header}} | ||
|labelstyle = {{Infobox style|infobox_label}} | |||
|above = {{#if:{{{name|}}}|{{{name|}}}|Building}} | |above = {{#if:{{{name|}}}|{{{name|}}}|Building}}{{#if:{{{icon|}}}|<br />[[File:{{{icon|}}}|144px|center]]|}} | ||
|image2 = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}} | |image2 = {{#if:{{{image|}}}|[[File:{{{image|}}}|{{#if:{{{imgsize|}}}|{{{imgsize|}}}|250px}}|center]]|}} | ||
|caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}} | |caption2 = {{#if:{{{imgdesc|}}}|{{{imgdesc|}}}|}} | ||
|header1 = {{#if:{{{is_defense|}}}|Defense|Building}} | |||
|header1 = {{#if:{{{is_defense|}}}|Defense|{{#if:{{{is_tech|}}}|Tech Building|Building}}}} | |||
|label2 = Faction | |label2 = Faction | ||
|data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | |data2 = {{#if:{{{faction|}}}|{{{faction|}}}|}} | ||
Line 19: | Line 20: | ||
|header8 = {{#if:{{{weapon|}}}|{{{weapon|}}}|}} | |header8 = {{#if:{{{weapon|}}}|{{{weapon|}}}|}} | ||
|label9 = | |label9 = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. {{#ifeq:{{{is_defense|}}}|2|Advanced automated defenses cannot gain veterancy|Automated defenses gain veterancy by killing infantry and destroying vehicles}}.">Damage</abbr> | ||
|data9 = {{#if:{{{damage|}}}|{{{damage|}}}|}} | |data9 = {{#if:{{{damage|}}}|{{{damage|}}}|}} | ||
|label10 = Projectile type | |label10 = Projectile type | ||
Line 33: | Line 34: | ||
|header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}} | |header15 = {{#if:{{{weapon_2|}}}|{{{weapon_2|}}}|}} | ||
|label16 = | |label16 = <abbr title="Full damage will be inflicted only if the target body is struck completely by the projectile. {{#ifeq:{{{is_defense|}}}|2|Advanced automated defenses cannot gain veterancy|Automated defenses gain veterancy by killing infantry and destroying vehicles}}.">Damage</abbr> | ||
|data16 = {{#if:{{{damage_2|}}}|{{{damage_2|}}}|}} | |data16 = {{#if:{{{damage_2|}}}|{{{damage_2|}}}|}} | ||
|label17 = Projectile type | |label17 = Projectile type | ||
Line 49: | Line 50: | ||
|label23 = Internal name | |label23 = Internal name | ||
|data23 = {{#if:{{{internalname|}}}|{{{internalname|}}}|}} | |data23 = {{#if:{{{internalname|}}}|{{{internalname|}}}|}} | ||
|label24 = Jargon | |label24 = [[Glossary of player terms|<font color="#fff">Jargon</font>]] | ||
|data24 = {{#if:{{{jargon|}}}|{{{jargon|}}}|}} | |data24 = {{#if:{{{jargon|}}}|{{{jargon|}}}|}} | ||
Line 57: | Line 58: | ||
<pre> | <pre> | ||
{{Infobox building | {{Infobox building | ||
|theme = | |||
|name = | |name = | ||
|slides = | |||
|icon = | |icon = | ||
|image = | |image = | ||
Line 65: | Line 68: | ||
<!-- General characteristics --> | <!-- General characteristics --> | ||
|is_defense = | |is_defense = | ||
|is_tech = | |||
|faction = | |faction = | ||
|role = | |role = |
Latest revision as of 10:57, 30 January 2021
Building | |
---|---|
Building |
Usage
To use this template, insert the following code into the page and fill out the fields:
{{Infobox building |theme = |name = |slides = |icon = |image = |imgsize = |imgdesc = <!-- General characteristics --> |is_defense = |is_tech = |faction = |role = |health = |seats = <!-- Primary armament --> |weapon = |damage = |proj_type = |proj_speed = |range = |rof = |clip = <!-- Secondary armament --> |weapon_2 = |damage_2 = |proj_type_2 = |proj_speed_2 = |range_2 = |rof_2 = |clip_2 = <!-- Miscellaneous --> |internalname = |jargon = }}