Difference between revisions of "Template:CMBSiteInfo"

From EVE University Wiki
Jump to: navigation, search
m (Fix typo.)
m (Update link.)
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|  label1  = Type
 
|  label1  = Type
 
|  data1  = {{#switch: {{lc: {{{type}}} }}
 
|  data1  = {{#switch: {{lc: {{{type}}} }}
  | anomaly    = [[Combat sites#Combat anomalies|Combat Anomaly]]
+
  | anomaly    = [[Combat sites#Anomalies|Combat Anomaly]]
 
  | chemical    = [[Combat sites#Chemical Labs|Chemical Lab]]
 
  | chemical    = [[Combat sites#Chemical Labs|Chemical Lab]]
 
  | cosmos      = [[Combat sites#COSMOS sites|COSMOS site]]
 
  | cosmos      = [[Combat sites#COSMOS sites|COSMOS site]]
Line 61: Line 61:
 
  }}
 
  }}
  
|  label6  = [[Damage types|Damage to deal]]
+
|  label6  = [[Damage types|Best damage to deal]]
 
|  data6  = {{#if:{{{damage|}}}
 
|  data6  = {{#if:{{{damage|}}}
 
  | {{{damage}}}
 
  | {{{damage}}}
  | {{#switch: {{lc: {{{faction}}} }}
+
  | {{#if: {{{faction|}}} | {{Damage to deal | {{{faction}}} }} }}
  | angel
 
  | angels
 
  | angel cartel = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | amarr
 
  | amarr empire = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | blood raider
 
  | blood raiders
 
  | blood raider covenant = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | caldari
 
  | caldari state = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | concord = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | edencom = Varies
 
  | eom
 
  | equilibrium of mankind = {{Damagetype|Kin}}
 
  | gallente
 
  | gallente federation = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | guristas
 
  | guristas pirates = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | khanid
 
  | khanid kingdom = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | mercenary
 
  | mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | minmatar
 
  | minmatar republic = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | mordu's
 
  | mordu's legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
 
  | rogue drones = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | sansha
 
  | sansha's
 
  | sansha's nation = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | serpentis = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | syndicate
 
  | the syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | thukker tribe = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | triglavians = {{Damagetype|Ex}}<br>{{Damagetype|Th}}
 
  }}
 
 
  }}
 
  }}
  
Line 107: Line 70:
 
|  data7  = {{#if:{{{resist|}}}
 
|  data7  = {{#if:{{{resist|}}}
 
  | {{{resist}}}
 
  | {{{resist}}}
  | {{#switch: {{lc: {{{faction}}} }}
+
  | {{#if: {{{faction|}}} | {{Damage to resist | {{{faction}}} }} }}
  | angel
 
  | angels
 
  | angel cartel = 62% {{Damagetype|Ex}}<br>22% {{Damagetype|Kin}}
 
  | amarr
 
  | amarr empire = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | blood raider
 
  | blood raiders
 
  | blood raider covenant = 50% {{Damagetype|Em}}<br>48% {{Damagetype|Th}}
 
  | caldari state
 
  | caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | concord = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | edencom = Varies
 
  | eom
 
  | equilibrium of mankind = {{Damagetype|Kin}}
 
  | gallente
 
  | gallente federation = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | guristas
 
  | guristas pirates = 79% {{Damagetype|kin}}<br>18% {{Damagetype|Th}}
 
  | khanid
 
  | khanid kingdom = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | mercenary
 
  | mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | minmatar
 
  | minmatar republic = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | mordu's
 
  | mordu's legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
 
  | rogue drones = [[NPC damage types#NPC damage types|Varied]]
 
  | sansha
 
  | sansha's
 
  | sansha's nation = 53% {{Damagetype|Em}}<br>47% {{Damagetype|Th}}
 
  | serpentis = 55% {{Damagetype|Kin}}<br>45% {{Damagetype|Th}}
 
  | syndicate
 
  | the syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | thukker tribe = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | triglavians = [[NPC Damage Types#NPC damage types|Omni]]
 
  }}
 
 
  }}
 
  }}
  
Line 183: Line 109:
 
  }}
 
  }}
  
|  label9  = [[Damage types|Damage to deal]]
+
|  label9  = Best damage to deal
 
|  data9  = {{#if:{{{damage2|}}}
 
|  data9  = {{#if:{{{damage2|}}}
 
  | {{{damage2}}}
 
  | {{{damage2}}}
  | {{#switch: {{lc: {{{faction2}}} }}
+
  | {{#if: {{{faction2|}}} | {{Damage to deal | {{{faction2}}} }} }}
  | angel
 
  | angels
 
  | angel cartel = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | amarr
 
  | amarr empire = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | blood raider
 
  | blood raiders
 
  | blood raider covenant = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | caldari
 
  | caldari state = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | concord = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | edencom = Varies
 
  | eom
 
  | equilibrium of mankind = {{Damagetype|Kin}}
 
  | gallente
 
  | gallente federation = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | guristas
 
  | guristas pirates = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | khanid
 
  | khanid kingdom = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | mercenary
 
  | mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | minmatar
 
  | minmatar republic = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | mordu's
 
  | mordu's legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
 
  | rogue drones = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | sansha
 
  | sansha's
 
  | sansha's nation = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | serpentis = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | syndicate
 
  | the syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | thukker tribe = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | triglavians = {{Damagetype|Ex}}<br>{{Damagetype|Th}}
 
  }}
 
 
  }}
 
  }}
  
|  label10  = [[Damage types|Damage to resist]]
+
|  label10  = Damage to resist
 
|  data10  = {{#if:{{{resist2|}}}
 
|  data10  = {{#if:{{{resist2|}}}
 
  | {{{resist2}}}
 
  | {{{resist2}}}
  | {{#switch: {{lc: {{{faction2}}} }}
+
  | {{#if: {{{faction2|}}} | {{Damage to resist | {{{faction2}}} }} }}
  | angel
 
  | angels
 
  | angel cartel = 62% {{Damagetype|Ex}}<br>22% {{Damagetype|Kin}}
 
  | amarr
 
  | amarr empire = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | blood raider
 
  | blood raiders
 
  | blood raider covenant = 50% {{Damagetype|Em}}<br>48% {{Damagetype|Th}}
 
  | caldari state
 
  | caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | concord = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | edencom = Varies
 
  | eom
 
  | equilibrium of mankind = {{Damagetype|Kin}}
 
  | gallente
 
  | gallente federation = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | guristas
 
  | guristas pirates = 79% {{Damagetype|kin}}<br>18% {{Damagetype|Th}}
 
  | khanid
 
  | khanid kingdom = {{Damagetype|Em}}<br>{{Damagetype|Th}}
 
  | mercenary
 
  | mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | minmatar
 
  | minmatar republic = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | mordu's
 
  | mordu's legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
 
  | rogue drones = [[NPC damage types#NPC damage types|Varied]]
 
  | sansha
 
  | sansha's
 
  | sansha's nation = 53% {{Damagetype|Em}}<br>47% {{Damagetype|Th}}
 
  | serpentis = 55% {{Damagetype|Kin}}<br>45% {{Damagetype|Th}}
 
  | syndicate
 
  | the syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
 
  | thukker tribe = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
 
  | triglavians = [[NPC Damage Types#NPC damage types|Omni]]
 
  }}
 
 
  }}
 
  }}
  

Revision as of 09:56, 7 February 2024

Site Details
Site name ?
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template produces an infobox at the right side of the page containing basic information about a particular combat site.
This template also includes {{NPCTableCSS}}.
Dependencies
Uses
{{Infobox}}
{{Damage to deal}}
{{Damage to resist}}
Syntax
{{CMBSiteInfo
| name= 
| type= 
| rating= 
| location= 
| ship limit= 
| faction= 
| damage= 
| resist= 
| faction2= 
| damage2= 
| resist2= 
| signature strength= 
}}
Unused parameters will not be shown in the infobox and may be removed.
name
Name of the site. (Required)
type
Site type. One of anomaly, chemical, COSMOS, DED, expedition or unrated. This parameter produces a link to the relative article. The parameter is not case-sensitive.
rating
The site rating. e.g. 5/10
location
Where the site is found e.g. Highsec or a specific system or constellation etc.
ship limit
Maximum allowed ship size.
faction
The opposing faction in the site. Either one of the well-known factions in the table or free form. The well-known factions produce a link to the relative wiki article. The well-known factions are not case-sensitive.
Well-known factions
Full name Valid alternative(s)
Amarr Empire Amarr
Ammatar
Angel Cartel Angel, Angels
Blood Raider Covenant Blood Raider, Blood Raiders
Caldari State Caldari
EDENCOM
Gallente Federation Gallente
Guristas pirates Guristas
Khanid Kingdom Khanid
Mercenaries Mercenary
Minmatar Republic Minmatar
Mordu's Legion Mordu, Mordu's
Rogue Drones
Sansha's Nation Sansha, Sansha's
Serpentis
Triglavians
faction2
See faction


For damage and resist use {{Damagetype}}. When one of the well-known factions is used and nothing is entered the factions default values will be used.
damage
Best damage to deal (optional)
damage2
see damage
resist
Damage to resist (optional)
resist2
See resist


signature strength
Signature strength


Sample
Site Details
Serpentis Lookout
Type Unrated Complex
Found in High
Max ship size Battlecruiser
Faction Serpentis
Best damage to deal Kinetic damage KinThermal damage Th
Damage to resist Thermal damage ThKinetic damage Kin
Sig. strength 10% in High Sec
{{CMBSiteInfo
| name= Serpentis Lookout
| type= unrated
| rating= 
| location= High
| ship limit= Battlecruiser
| faction= Serpentis
| damage= 
| resist= 
| signature strength= 10% in High Sec 
}}
gives...
Visit Template:CMBSiteInfo/doc to edit this text! (How does this work?) (Refresh this text - why?)