Difference between revisions of "Template:CMBSite"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 41: Line 41:
 
! Count
 
! Count
 
{{!}}-
 
{{!}}-
{{#ifexpr: {{{TotalExpectedFrigatesMax}}} > 0 |
+
{{#if: {{{TotalExpectedFrigatesMax}}} |
{{!}}{{icon|red frigate|16}} Frigates
+
{{!}} {{icon|red frigate|16}} Frigates
 
{{!}} {{{TotalExpectedFrigatesMin}}}-{{{TotalExpectedFrigatesMax}}}x  
 
{{!}} {{{TotalExpectedFrigatesMin}}}-{{{TotalExpectedFrigatesMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedDestroyersMax}}} > 0 |
+
{{#if: {{{TotalExpectedDestroyersMax}}} |
{{!}}{{icon|red destroyer|16}} Destroyer
+
{{!}} {{icon|red destroyer|16}} Destroyer
 
{{!}} {{{TotalExpectedDestroyersMin}}}-{{{TotalExpectedDestroyersMax}}}x  
 
{{!}} {{{TotalExpectedDestroyersMin}}}-{{{TotalExpectedDestroyersMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedCruiserMax}}} > 0 |
+
{{#if: {{{TotalExpectedCruiserMax}}} |
{{!}}{{icon|red cruiser|16}} Cruiser
+
{{!}} {{icon|red cruiser|16}} Cruiser
 
{{!}} {{{TotalExpectedCruisersMin}}}-{{{TotalExpectedCruisersMax}}}x  
 
{{!}} {{{TotalExpectedCruisersMin}}}-{{{TotalExpectedCruisersMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedBattlecruisersMax}}} > 0 |
+
{{#if: {{{TotalExpectedBattlecruisersMax}}} |
{{!}}{{icon|red battlecruiser|16}} Battlecruiser
+
{{!}} {{icon|red battlecruiser|16}} Battlecruiser
 
{{!}} {{{TotalExpectedBattlecruisersMin}}}-{{{TotalExpectedBattlecruisersMax}}}x  
 
{{!}} {{{TotalExpectedBattlecruisersMin}}}-{{{TotalExpectedBattlecruisersMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedBattleshipsMax}}} > 0 |
+
{{#if: {{{TotalExpectedBattleshipsMax}}} |
{{!}}{{icon|red battleship|16}} Battleship
+
{{!}} {{icon|red battleship|16}} Battleship
 
{{!}} {{{TotalExpectedBattleshipsMin}}}-{{{TotalExpectedBattleshipsMax}}}x  
 
{{!}} {{{TotalExpectedBattleshipsMin}}}-{{{TotalExpectedBattleshipsMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedCapitalsMax}}} > 0 |
+
{{#if: {{{TotalExpectedCapitalsMax}}} |
{{!}}{{icon|red capital|16}} Capital
+
{{!}} {{icon|red capital|16}} Capital
 
{{!}} {{{TotalExpectedCapitalsMin}}}-{{{TotalExpectedCapitalsMax}}}x  
 
{{!}} {{{TotalExpectedCapitalsMin}}}-{{{TotalExpectedCapitalsMax}}}x  
 
{{!}}- |}}
 
{{!}}- |}}
{{#ifexpr: {{{TotalExpectedSentriesMax}}} > 0 |
+
{{#if: {{{TotalExpectedSentriesMax}}} |
{{!}}{{icon|red sentry|16}} Sentry
+
{{!}} {{icon|red sentry|16}} Sentry
 
{{!}} {{{TotalExpectedSentriesMin}}}-{{{TotalExpectedSentriesMax}}}x  
 
{{!}} {{{TotalExpectedSentriesMin}}}-{{{TotalExpectedSentriesMax}}}x  
 
{{!}}- |}}  
 
{{!}}- |}}  

Revision as of 22:22, 2 March 2016

Site Details
Type
Rating
Found in
Max ship size
Pirate faction
Damage to deal
Damage to
Resist
Sig. Strength
Template documentation (for the above template, sometimes hidden or invisible)
This template is deprecated and no longer in use.
Please visit Template:CMBSiteInfo for current info. User: Hirmuolio Pine (talk) 06:04, 30 June 2019 (CDT)
Description
This template is used for creating Combat sites headers. CMBSiteBox and TOC will be placed on right side of the page. This template will also include CSS for {{NPCTableHead}}
Syntax
Type {{CMBSite|<complex_name>}} at the beginning of combat site article.
See also
Sample output
{{CMBSite | Serpentis Hideout}}

gives...

Site Details
Type
Rating
Found in
Max ship size
Pirate faction
Damage to deal
Damage to
Resist
Sig. Strength
Visit Template:CMBSite/doc to edit this text! (How does this work?) (Refresh this text - why?)