More actions
m Forgot to remove comment markup. |
Right align the count column. |
||
| Line 5: | Line 5: | ||
|- | |- | ||
{{#if: {{{TotalExpFrigates|}}} | {{#if: {{{TotalExpFrigates|}}} | ||
| {{!}} [[image:icon_red_frigate.png|16px|link=]] Frigates {{!}}{{!}} {{{TotalExpFrigates}}} | | {{!}} [[image:icon_red_frigate.png|16px|link=]] Frigates {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpFrigates}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpDestroyers|}}} | {{#if: {{{TotalExpDestroyers|}}} | ||
| {{!}} [[image:icon_red_destroyer.png|16px|link=]] Destroyers {{!}}{{!}} {{{TotalExpDestroyers}}} | | {{!}} [[image:icon_red_destroyer.png|16px|link=]] Destroyers {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpDestroyers}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpCruisers|}}} | {{#if: {{{TotalExpCruisers|}}} | ||
| {{!}} [[image:icon_red_cruiser.png|16px|link=]] Cruiser {{!}}{{!}} {{{TotalExpCruisers}}} | | {{!}} [[image:icon_red_cruiser.png|16px|link=]] Cruiser {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpCruisers}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpBattlecruisers|}}} | {{#if: {{{TotalExpBattlecruisers|}}} | ||
| {{!}} [[image:icon_red_battlecruiser.png|16px|link=]] Battlecruisers {{!}}{{!}} {{{TotalExpBattlecruisers}}} | | {{!}} [[image:icon_red_battlecruiser.png|16px|link=]] Battlecruisers {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpBattlecruisers}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpBattleships|}}} | {{#if: {{{TotalExpBattleships|}}} | ||
| {{!}} [[image:icon_red_battleship.png|16px|link=]] Battleships {{!}}{{!}} {{{TotalExpBattleships}}} | | {{!}} [[image:icon_red_battleship.png|16px|link=]] Battleships {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpBattleships}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpDreadnoughts|}}} | {{#if: {{{TotalExpDreadnoughts|}}} | ||
| {{!}} [[image:icon_red_dreadnought.png|16px|link=]] Dreadnoughts {{!}}{{!}} {{{TotalExpDreadnoughts}}} | | {{!}} [[image:icon_red_dreadnought.png|16px|link=]] Dreadnoughts {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpDreadnoughts}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpCarriers|}}} | {{#if: {{{TotalExpCarriers|}}} | ||
| {{!}} [[image:icon_red_carrier.png|16px|link=]] Carriers {{!}}{{!}} {{{TotalExpCarriers}}} | | {{!}} [[image:icon_red_carrier.png|16px|link=]] Carriers {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpCarriers}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpTitans|}}} | {{#if: {{{TotalExpTitans|}}} | ||
| {{!}} [[image:icon_red_titan.png|16px|link=]] Titans {{!}}{{!}} {{{TotalExpTitans}}} | | {{!}} [[image:icon_red_titan.png|16px|link=]] Titans {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpTitans}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if: {{{TotalExpSentries|}}} | {{#if: {{{TotalExpSentries|}}} | ||
| {{!}} [[image:icon_red_tower.png|16px|link=]] Sentries {{!}}{{!}} {{{TotalExpSentries}}} | | {{!}} [[image:icon_red_tower.png|16px|link=]] Sentries {{!}}{{!}} style="text-align: right;" {{!}} {{{TotalExpSentries}}} | ||
}} | }} | ||
|} | |} | ||
Latest revision as of 08:49, 12 April 2025
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 |
|---|---|
| 3 | |
| 2 | |
| 4 | |
| 5 | |
| 6 | |
| 7 |