FANDOM


m (separate ME1 category. original adversaries category expanded over time.)
(Infobox updated using the portable infobox migration tool)
Line 1: Line 1:
{| class="infobox-enemy enemy-ME" cellspacing="2" valign="middle"
+
<infobox theme="Adversary">
{{#if: {{{image|}}}|
+
<image source="image"/>
{{!}}-
+
<title source="name"><default>Unknown</default></title>
{{!}} class="col-image" align="center" colspan="2"{{!}}[[File:{{{image}}}|240px]]
+
<data source="shields"><default></default><format>[[File:ME-Enemy Container-H.png|link=]]{{#switch: {{{shields|0}}}
}}
 
|-
 
! class="col-header" colspan="2" | <div class="lifebar-box">
 
<div class="lifebar-text">{{{name|Unknown}}}</div>
 
<div class="lifebar-image">[[File:ME-Enemy Container-H.png|link=]]{{#switch: {{{shields|0}}}
 
 
|1 = [[File:ME-Enemy Container-S.png|link=]]
 
|1 = [[File:ME-Enemy Container-S.png|link=]]
 
|2 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]
 
|2 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]
Line 9: Line 9:
 
|5 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]
 
|5 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]
 
|6 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]}} <!-- need sub-template to make this not crappy. -->
 
|6 = [[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]][[File:ME-Enemy Container-S.png|link=]]}} <!-- need sub-template to make this not crappy. -->
</div>
+
</format></data>
</div>
+
<data source="race"><label>Race</label><format>{{#replace:{{{race|}}}|/|,&thinsp;&thinsp;}}</format></data>
|-
+
<data source="type"><label>Type</label><default>Unknown</default></data>
{{#if: {{{race|}}} | <nowiki/>
+
<data source="armament"><label>Armament</label><default>Unknown</default></data>
{{!}}class="col-left" {{!}}'''Race'''
+
<data source="abilities"><label>Abilities</label><default>Unknown</default><format>{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|0}}}}{{#if:{{#explode:{{{abilities}}}|,|1}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|1}}}}}}{{#if:{{#explode:{{{abilities}}}|,|2}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|2}}}}}}{{#if:{{#explode:{{{abilities}}}|,|3}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|3}}}}}}{{#if:{{#explode:{{{abilities}}}|,|4}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|4}}}}}}{{#if:{{#explode:{{{abilities}}}|,|5}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|5}}}}}}</format></data>
{{!}} class="col-right" {{!}}{{#replace:{{{race|}}}|/|,&thinsp;&thinsp;}}
+
<data source="health">
{{!}}- }}
+
<label><span class="health">Health</span></label>
| class="col-left" |'''Type'''
+
</data>
| class="col-right" |{{{type|Unknown}}}
+
<data source="shields">
|-
+
<label><span class="shields">Shields</span></label>
| class="col-left" |'''Armament'''
+
<default>0</default>
| class="col-right" |{{{armament|Unknown}}}
+
<format>{{#switch: {{{shields|0}}}
|-
 
| class="col-left" |'''Abilities'''
 
| class="col-right" |{{#if:{{{abilities|}}}|
 
{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|0}}}}{{#if:{{#explode:{{{abilities}}}|,|1}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|1}}}}}}{{#if:{{#explode:{{{abilities}}}|,|2}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|2}}}}}}{{#if:{{#explode:{{{abilities}}}|,|3}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|3}}}}}}{{#if:{{#explode:{{{abilities}}}|,|4}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|4}}}}}}{{#if:{{#explode:{{{abilities}}}|,|5}}|<br />{{PowerDetails|game=ME|{{#explode:{{{abilities}}}|,|5}}}}}}|Unknown}}
 
|-
 
| class="col-left health"|'''Health'''
 
| class="col-right" |{{{health|}}}
 
|-
 
{{#ifexpr: {{{shields|0}}} > 0|
 
{{!}} class="col-left shields"{{!}}'''Shields'''
 
{{!}} class="col-right"{{!}} {{#switch: {{{shields|0}}}
 
 
|1 = Marginal
 
|1 = Marginal
 
|2 = Very Low
 
|2 = Very Low
Line 26: Line 26:
 
|4 = Moderate
 
|4 = Moderate
 
|5 = High
 
|5 = High
|6 = Very High }}
+
|6 = Very High }}</format>
{{!}}- }}
+
</data>
| class="col-left" |'''Locations'''
+
<data source="locations"><label>Locations</label><default>Unknown</default></data>
| class="col-right" |{{{locations|Unknown}}}
+
</infobox>
|}
+
<includeonly>{{#ifeq: {{ns:0}} | {{NAMESPACE}} |<!--no categories for things not in the main space, please. -->
<includeonly>
 
{{#ifeq: {{ns:0}} | {{NAMESPACE}} |<!--no categories for things not in the main space, please. -->
 
 
{{#if:{{{race|}}}|
 
{{#if:{{{race|}}}|
 
{{#switch:{{#explode:{{{race}}}|/|0}}
 
{{#switch:{{#explode:{{{race}}}|/|0}}

Revision as of 15:17, March 21, 2017



Usage

{{Adversary
| image     =
| name      = 
| race      = Specify race, with capital first letter, separate more than one race 
              with a /. "e.g. Human/Turian". Leave blank if inapplicable, e.g. for
              varren enemies or turrets.
| type      = "Synthetic"; "Organic"; "Organic, Biotic"; "Organic, Tech"; or 
              "Vehicle"
| armament  = If possible, specify which model of weapon an enemy uses, otherwise, 
              specific generic Shotguns, Assault Rifles, etc.
| abilities = Specifiy a power from the Powers page separated by a comma with no 
              space afterwards "e.g. 'Singularity,Throw,Overload,Sabotage'". 
              If you need to add a new power, check Template:Power Details and add 
              it in there.
| health    = Until numbers are extracted, use "High", "Moderate" or "Low".
              "Very High" is reserved for bosses.
| shields   = Number from 0-6, specifying the shield strength of an enemy. 
              Default 0. This also determines how many shield boxes are displayed
              in the "health bar".
| locations = If the planet names are known, put them in here.
}}

Blank Values

{{Adversary
| image     =
| name      = 
| race      = 
| type      = 
| armament  =
| abilities = 
| health    = 
| shields   = 
| locations = 
}}
Community content is available under CC-BY-SA unless otherwise noted.