- Rank
- 500
- Range
- 300 - 30,000
- Class
- Capital Ship
- Rarity
- Extremely Rare
- Faction
- The Terran Outsiders
- Type
- Elite 3
- Expiry
- 48 Hours
Template:NpcInfobox
Thaumanovic (Talk | contribs) (Fix category links) |
Thaumanovic (Talk | contribs) (Add rank range and expiry, and standard, matched, and special enemy types) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
<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}}}}}</div> | ||
<div class="content"> | <div class="content"> | ||
- | {{#if:{{{rank|}}} | + | {{#ifeq:{{{type}}}|matched |
+ | |Matched | ||
+ | |{{#if:{{{rank|}}} | ||
|;Rank | |;Rank | ||
:{{{rank}}} [[Category:Rank {{{rank}}} non-player enemies]] | :{{{rank}}} [[Category:Rank {{{rank}}} non-player enemies]] | ||
|}} | |}} | ||
+ | }} | ||
+ | |||
{{#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|}}} | + | |
- | ;Type | + | {{#if:{{{type|}}} |
+ | |;Type | ||
:{{#switch: {{{type}}} | :{{#switch: {{{type}}} | ||
- | |elite3=[[:Category:Elite 3 | + | |standard=[[:Category:Standard enemies|Standard]] [[Category:Standard enemies]] |
- | |elite5=[[:Category:Elite 5 | + | |matched=[[:Category:Matched enemies|Standard]] [[Category:Matched enemies]] |
- | |boss10=[[:Category:Boss 10 | + | |special=[[:Category:Special enemies|Standard]] [[Category:Special enemies]] |
- | |boss12=[[:Category:Boss 12 | + | |elite3=[[:Category:Elite 3 enemies|Elite 3]] [[Category:Elite 3 enemies]] |
- | |boss15=[[:Category:Boss 15 | + | |elite5=[[:Category:Elite 5 enemies|Elite 5]] [[Category:Elite 5 enemies]] |
+ | |boss10=[[:Category:Boss 10 enemies|Boss 10]] [[Category:Boss 10 enemies]] | ||
+ | |boss12=[[:Category:Boss 12 enemies|Boss 12]] [[Category:Boss 12 enemies]] | ||
+ | |boss15=[[:Category:Boss 15 enemies|Boss 15]] [[Category:Boss 15 enemies]] | ||
|#default=??? | |#default=??? | ||
}} | }} | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{rangeStart|}}} | ||
+ | |{{#if:{{{rangeEnd|}}} | ||
+ | |;Rank Range | ||
+ | :{{{rangeStart}}} - {{{rangeEnd}}} | ||
+ | |}} | ||
+ | |}} | ||
+ | |||
+ | {{#if:{{{expiry|}}} | ||
+ | |;Expiry | ||
+ | :{{{expiry}}} | ||
|}} | |}} | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
- | </div | + | </div> |
- | </div | + | </div> |
{{#if:{{{description|}}} | {{#if:{{{description|}}} | ||
|{{Quote|{{{description|}}}}} | |{{Quote|{{{description|}}}}} | ||
|}} | |}} | ||
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | Displays an NPC infobox. | ||
+ | |||
+ | == Example Usage == | ||
+ | |||
+ | {{NpcInfobox | ||
+ | |image=terrancarrier.png | ||
+ | |shield= | ||
+ | |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 | ||
+ | }} | ||
+ | |||
+ | |||
+ | <pre> | ||
+ | {{NpcInfobox | ||
+ | |image=terrancarrier.png | ||
+ | |shield= | ||
+ | |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 | ||
+ | }} | ||
+ | </pre> | ||
+ | </noinclude> |
Revision as of 22:55, 5 May 2024
Displays an NPC infobox.
Example Usage
NpcInfobox
“
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= |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 }}