Template:NpcInfobox

(Add rank range and expiry, and standard, matched, and special enemy types)
m (Update spacing in attempt to fix errant spacing on including pages)
 
(6 intermediate revisions not shown)
Line 2: Line 2:
<div class="infobox">
<div class="infobox">
<div class="header"><span class="icon icon-alien">{{PAGENAME}}</span></div>
<div class="header"><span class="icon icon-alien">{{PAGENAME}}</span></div>
-
<div class="image-container">{{GameImage|npcs/{{{image|station3.png}}}}}</div>
+
<div class="image-container">{{GameImage|npcs/{{{image|station3.png}}}}} {{#if:{{{shield|}}}|<div style="position: absolute; top: 0; max-width: inherit;">{{GameImage|npcs/{{{shield}}}}}</div>|}}</div>
<div class="content">
<div class="content">
{{#ifeq:{{{type}}}|matched
{{#ifeq:{{{type}}}|matched
Line 8: Line 8:
|{{#if:{{{rank|}}}
|{{#if:{{{rank|}}}
|;Rank
|;Rank
-
:{{{rank}}} [[Category:Rank {{{rank}}} non-player enemies]]
+
:{{formatnum:{{{rank}}}}} [[Category:Rank {{formatnum:{{{rank}}}}} non-player enemies]]
|}}
|}}
}}
}}
-
 
+
{{#if:{{{rangeStart|}}}
 +
|{{#if:{{{rangeEnd|}}}
 +
|;<span title="The rank range within which players are eligible to find this enemy on their battle list">Range</span>
 +
:<small class="muted">{{formatnum:{{{rangeStart}}}}} - {{formatnum:{{{rangeEnd}}}}}</small>
 +
|}}
 +
|}}
{{#if:{{{class|}}}
{{#if:{{{class|}}}
|;Class
|;Class
:{{{class}}} [[Category:{{{class}}} non-player enemies]]
:{{{class}}} [[Category:{{{class}}} non-player enemies]]
|}}
|}}
-
 
{{#if:{{{rarity|}}}
{{#if:{{{rarity|}}}
|;Rarity
|;Rarity
:{{{rarity}}} [[Category:{{{rarity}}} non-player enemies]]
:{{{rarity}}} [[Category:{{{rarity}}} non-player enemies]]
|}}
|}}
-
 
{{#if:{{{faction|}}}
{{#if:{{{faction|}}}
|;Faction
|;Faction
:{{{faction}}} [[Category:{{{faction}}} non-player enemies]]
:{{{faction}}} [[Category:{{{faction}}} non-player enemies]]
|}}
|}}
-
 
{{#if:{{{type|}}}
{{#if:{{{type|}}}
|;Type
|;Type
Line 41: Line 43:
}}
}}
|}}
|}}
-
 
-
{{#if:{{{rangeStart|}}}
 
-
|{{#if:{{{rangeEnd|}}}
 
-
|;Rank Range
 
-
:{{{rangeStart}}} - {{{rangeEnd}}}
 
-
|}}
 
-
|}}
 
-
 
{{#if:{{{expiry|}}}
{{#if:{{{expiry|}}}
|;Expiry
|;Expiry
Line 56: Line 50:
</div>
</div>
</div>
</div>
-
 
{{#if:{{{description|}}}
{{#if:{{{description|}}}
|{{Quote|{{{description|}}}}}
|{{Quote|{{{description|}}}}}
Line 68: Line 61:
{{NpcInfobox
{{NpcInfobox
|image=terrancarrier.png
|image=terrancarrier.png
-
|shield=
+
|shield=tcarrier-shield.png
|description=The Terran Outsiders built the Telarys during the escalating  
|description=The Terran Outsiders built the Telarys during the escalating  
conflict within its borders, hoping to turn the tide of battle.
conflict within its borders, hoping to turn the tide of battle.
Line 85: Line 78:
{{NpcInfobox
{{NpcInfobox
|image=terrancarrier.png
|image=terrancarrier.png
-
|shield=
+
|shield=tcarrier-shield.png
|description=The Terran Outsiders built the Telarys during the escalating  
|description=The Terran Outsiders built the Telarys during the escalating  
conflict within its borders, hoping to turn the tide of battle.
conflict within its borders, hoping to turn the tide of battle.

Current revision as of 18:42, 9 May 2024


Displays an NPC infobox.

Example Usage

NpcInfobox
terrancarrier.png
tcarrier-shield.png
Rank
500
Range
300 - 30,000
Class
Capital Ship
Rarity
Extremely Rare
Faction
The Terran Outsiders
Type
Elite 3
Expiry
48 Hours

The Terran Outsiders built the Telarys during the escalating conflict within its borders, hoping to turn the tide of battle.

— In-game description



{{NpcInfobox
|image=terrancarrier.png
|shield=tcarrier-shield.png
|description=The Terran Outsiders built the Telarys during the escalating 
conflict within its borders, hoping to turn the tide of battle.
|rank=500
|class=Capital Ship
|rarity=Extremely Rare
|faction=The Terran Outsiders
|type=elite3
|rangeStart=300
|rangeEnd=30000
|expiry=48 Hours
}}

Looking for something?

Use the form below to search the wiki:

 

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!