Difference between revisions of "Template:Expected NPC"
From EVE University Wiki
(Fix to reference correct enemy capital icon) |
(Changed to use the new icons) |
||
Line 5: | Line 5: | ||
! Count | ! Count | ||
{{!}}- | {{!}}- | ||
− | {{#if: {{{TotalExpFrigates|}}} | {{!}}{{!}} {{icon|frigate|16}} Frigates {{!}}{{!}} {{{TotalExpFrigates}}} | + | {{#if: {{{TotalExpFrigates|}}} | {{!}}{{!}} {{icon|red frigate|16}} Frigates {{!}}{{!}} {{{TotalExpFrigates}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpDestroyers|}}} | {{!}}{{!}} {{icon|destroyer|16}} Destroyer {{!}}{{!}} {{{TotalExpDestroyers}}} | + | {{#if: {{{TotalExpDestroyers|}}} | {{!}}{{!}} {{icon|red destroyer|16}} Destroyer {{!}}{{!}} {{{TotalExpDestroyers}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpCruisers|}}} | {{!}}{{!}} {{icon|cruiser|16}} Cruiser {{!}}{{!}} {{{TotalExpCruisers}}} | + | {{#if: {{{TotalExpCruisers|}}} | {{!}}{{!}} {{icon|red cruiser|16}} Cruiser {{!}}{{!}} {{{TotalExpCruisers}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpBattlecruisers|}}} | {{!}}{{!}} {{icon|battlecruiser|16}} Battlecruiser {{!}}{{!}} {{{TotalExpBattlecruisers}}} | + | {{#if: {{{TotalExpBattlecruisers|}}} | {{!}}{{!}} {{icon|red battlecruiser|16}} Battlecruiser {{!}}{{!}} {{{TotalExpBattlecruisers}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpBattleships|}}} | {{!}}{{!}} {{ | + | {{#if: {{{TotalExpBattleships|}}} | {{!}}{{!}} {{iconred |battleship|16}} Battleship {{!}}{{!}} {{{TotalExpBattleships}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpCapitals|}}} | {{!}}{{!}} {{icon| | + | {{#if: {{{TotalExpCapitals|}}} | {{!}}{{!}} {{icon|red red dreadnought|16}} Capital {{!}}{{!}} {{{TotalExpCapitals}}} |
{{!}}- |}} | {{!}}- |}} | ||
− | {{#if: {{{TotalExpSentries|}}} | {{!}}{{!}} {{icon|sentry|16}} Sentry {{!}}{{!}} {{{TotalExpSentries}}} | + | {{#if: {{{TotalExpSentries|}}} | {{!}}{{!}} {{icon|red sentry|16}} Sentry {{!}}{{!}} {{{TotalExpSentries}}} |
{{!}}- | {{!}}- | ||
|}} | |}} |
Revision as of 13:39, 23 September 2018
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to create the table for expected enemy numbers for combat sites. It takes CSS for formatting from
{{NPCTableCSS}}
(Included in{{CMBSiteInfo}}
and the deprecated{{CMBSite}}
so include one of them to get a slightly different looking table.
- Dependencies
-
- Uses
- {{NPCTableCSS}}
- Syntax
{{Expected NPC | TotalExpFrigates = | TotalExpDestroyers = | TotalExpCruisers = | TotalExpBattlecruisers = | TotalExpBattleships = | TotalExpDreadnoughts = | TotalExpCarriers = | TotalExpTitans = | TotalExpSentries = }}
- Parameters
- Empty or omitted parameters will not be shown.
- TotalExpFrigates
- The total number of expected frigates
- TotalExpDestroyers
- The total number of expected destroyers
- TotalExpCruisers
- The total number of expected cruisers
- TotalExpBattlecruisers
- The total number of expected battlecruisers
- TotalExpBattleships
- The total number of expected battleships
- TotalExpDreadnoughts
- The total number of expected dreadnoughts
- TotalExpCarriers
- The total number of expected Carriers
- TotalExpTitans
- The total number of expected Titans
- TotalExpSentries
- The total number of expected sentries
- Sample
{{Expected NPC | TotalExpFrigates = 3 | TotalExpDestroyers = 2 | TotalExpCruisers = | TotalExpBattlecruisers = 4 | TotalExpBattleships = 5 | TotalExpDreadnoughts = 6 | TotalExpSentries = 7 }}
- gives...
Enemy Type | Count |
---|---|
Frigates | 3 |
Destroyer | 2 |
Battlecruiser | 4 |
Template:Iconred Battleship | 5 |
Sentry | 7 |