Difference between revisions of "Template:CMBSiteInfo"

From EVE University Wiki
Jump to: navigation, search
(Refactor to use meta template {{Infobox}} as by project "Cleanup Infobox Templates")
m
 
(13 intermediate revisions by 2 users 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]]
 
  | ded        = [[Combat sites#DED rated complexes|DED Rated Complex]]
 
  | ded        = [[Combat sites#DED rated complexes|DED Rated Complex]]
 
  | escalation
 
  | escalation
  | expedition  = [[Combat sites#expeditions|Expedition]]
+
  | expedition  = [[Combat sites#Expeditions|Expedition]]
  | unrated    = [[Combat sites#Unrated_complexes|Unrated Complex]]
+
  | unrated    = [[Combat sites#Unrated complexes|Unrated Complex]]
 +
| c1c
 +
| c1d
 +
| c1r        = [[Wormhole sites#Class 1|C1 WH Site]]
 +
| c2c
 +
| c2d
 +
| c2r        = [[Wormhole sites#Class 2|C2 WH Site]]
 +
| c3c
 +
| c3d
 +
| c3r        = [[Wormhole sites#Class 3|C3 WH Site]]
 +
| c4c
 +
| c4d
 +
| c4r        = [[Wormhole sites#Class 4|C4 WH Site]]
 +
| c5c
 +
| c5d
 +
| c5r        = [[Wormhole sites#Class 5|C5 WH Site]]
 +
| c6c
 +
| c6d
 +
| c6r        = [[Wormhole sites#Class 6|C6 WH Site]]
 
  }}
 
  }}
  
Line 57: Line 75:
 
  | sansha's nation = [[Sansha's Nation]]
 
  | sansha's nation = [[Sansha's Nation]]
 
  | serpentis = [[Serpentis]]
 
  | serpentis = [[Serpentis]]
 +
| sleepers = [[Sleepers]]
 
  | triglavians = [[Triglavian Collective]]
 
  | triglavians = [[Triglavian Collective]]
 
  | {{{faction|}}}
 
  | {{{faction|}}}
 
  }}
 
  }}
  
|  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 89:
 
|  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]]
 
  }}
 
 
  }}
 
  }}
  
|  label8  = Sig. strength
+
|  label8 = Faction
data8 = {{{signature strength|}}}
+
|  data8  = {{#switch: {{lc: {{{faction2}}} }}
 +
| angel
 +
| angels
 +
| angel cartel = [[Angel Cartel]]
 +
| amarr
 +
| amarr empire = [[Amarr Empire|Amarr]]
 +
| Ammatar = [[Ammatar]]
 +
| blood raider
 +
| blood raiders
 +
| blood raider covenant = [[The_Blood_Raider_Covenant|Blood Raiders]]
 +
| caldari
 +
| caldari state = [[Caldari State|Caldari]]
 +
| edencom = [[EDENCOM]]
 +
| gallente
 +
| gallente federation = [[Gallente Federation|Gallente]]
 +
| guristas
 +
| guristas pirates = [[Guristas Pirates|Guristas]]
 +
| khanid
 +
| khanid kingdom = [[Khanid Kingdom|Khanid]]
 +
| mercenary
 +
| mercenaries = Mercenary
 +
| minmatar
 +
| minmatar republic = [[Minmatar Republic|Minmatar]]
 +
| mordu
 +
| mordu's
 +
| mordu's legion = [[Mordu's Legion]]
 +
| rogue drones = [[Rogue Drones]]
 +
| sansha
 +
| sansha's
 +
| sansha's nation = [[Sansha's Nation]]
 +
| serpentis = [[Serpentis]]
 +
| triglavians = [[Triglavian Collective]]
 +
| {{{faction2|}}}
 +
}}
 +
 
 +
|  label9  = Best damage to deal
 +
|  data9  = {{#if:{{{damage2|}}}
 +
| {{{damage2}}}
 +
| {{#if: {{{faction2|}}} | {{Damage to deal | {{{faction2}}} }} }}
 +
}}
 +
 
 +
|  label10  = Damage to resist
 +
|  data10  = {{#if:{{{resist2|}}}
 +
| {{{resist2}}}
 +
| {{#if: {{{faction2|}}} | {{Damage to resist | {{{faction2}}} }} }}
 +
}}
 +
 
 +
|  label11 = Sig. strength
 +
data11 = {{{signature strength|}}}
  
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:08, 18 April 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?)