Difference between revisions of "Template:CMBSiteInfo"

From EVE University Wiki
Jump to: navigation, search
m (capitalization)
m
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="float: right; margin: 0 2em 2em;">
+
<includeonly>{{NPCTableCSS}}</includeonly>{{Infobox
{| class=wikitable style="margin: 1em auto 1em auto; width: 250px; font-size: 0.9em; line-height: 1.4em;"
+
| name          = <!-- left empty, to NOT have edit links at the bottom of the box.-->
|+ style="padding: 0.5em;" | '''Site Details '''
+
 
|-
+
| title          = Site Details
| style="background: #222; text-align: center; padding: 0.5em;" colspan="2" | '''<big>{{{name}}}</big>'''
+
| above          = {{{name|{{Co|gray|Site name ?}}}}}
|-
+
 
| style="background: #222; width: 1%; padding: 0.5em;" | '''Type'''
+
| label1  = Type
| style="padding: 0.5em;" | {{#switch: {{{type}}}
+
|   data1  = {{#switch: {{lc: {{{type}}} }}
  | ded        =[[Combat_sites#DED_rated_complexes|DED Rated Complex]]
+
| anomaly    = [[Combat sites#Anomalies|Combat Anomaly]]
  | unrated    =[[Combat_sites#Unrated_complexes|Unrated Complex]]
+
| chemical    = [[Combat sites#Chemical Labs|Chemical Lab]]
  | expedition =[[Combat_sites#expeditions|Expedition]]
+
| cosmos      = [[Combat sites#COSMOS sites|COSMOS site]]
  | anomaly    =[[Combat_sites#Combat_anomalies|Combat Anomaly]]
+
  | ded        = [[Combat sites#DED rated complexes|DED Rated Complex]]
  | chemical    =[[Combat_sites#Chemical_Labs|Chemical Lab]]
+
| escalation
  | cosmos      =[[Combat_sites#COSMOS_sites|COSMOS site]]
+
| expedition  = [[Combat sites#Expeditions|Expedition]]
}}
+
  | unrated    = [[Combat sites#Unrated complexes|Unrated Complex]]
|-
+
  | c1c
| style="background: #222; padding: 0.5em;" | '''Rating'''
+
| c1d
| style="padding: 0.5em;" | {{#if:{{{rating|}}}|{{{rating}}}|}}
+
  | c1r        = [[Wormhole sites#Class 1|C1 WH Site]]
|-
+
  | c2c
| style="background: #222; padding: 0.5em;" | '''Found in'''
+
| c2d
| style="padding: 0.5em;" | {{{location}}}
+
| c2r        = [[Wormhole sites#Class 2|C2 WH Site]]
|-
+
  | c3c
| style="background: #222; padding: 0.5em; white-space:nowrap" | '''Max ship size'''
+
| c3d
| style="padding: 0.5em;" | {{{ship limit}}}
+
| c3r        = [[Wormhole sites#Class 3|C3 WH Site]]
|-
+
  | c4c
| style="background: #222; padding: 0.5em;white-space:nowrap" | '''Faction'''
+
| c4d
| style="padding: 0.5em;" | {{#switch: {{{faction}}}
+
| c4r        = [[Wormhole sites#Class 4|C4 WH Site]]
  | Serpentis = [[Serpentis]]
+
| c5c
  | Angel
+
| c5d
  | Angel Cartel = [[Angel_Cartel|Angel]]
+
| c5r        = [[Wormhole sites#Class 5|C5 WH Site]]
  | Guristas pirates
+
| c6c
| Guristas = [[Guristas_Pirates|Gurista]]
+
| c6d
| Sansha
+
| c6r        = [[Wormhole sites#Class 6|C6 WH Site]]
| Sansha's Nation = [[Sansha%27s_Nation|Sansha]]
+
}}
| Blood Raider Covenant
+
 
| Blood Raiders = [[The_Blood_Raider_Covenant|Blood Raider]]
+
|  label2  = Rating
| Mordu
+
|   data2  = {{{rating|}}}
| Mordu's
+
 
| Mordu's Legion = [[Mordu's Legion]]
+
| label3  = Found in
| Amarr Empire
+
|   data3  = {{{location|}}}
  | Amarr = [[Amarr Empire|Amarr]]
+
 
 +
| label4  = Max ship size
 +
|   data4  = {{{ship limit|}}}
 +
 
 +
| label5  = Faction
 +
|   data5  = {{#switch: {{lc: {{{faction}}} }}
 +
  | angel
 +
  | angels
 +
  | angel cartel = [[Angel Cartel]]
 +
  | amarr
 +
  | amarr empire = [[Amarr Empire|Amarr]]
 
  | Ammatar = [[Ammatar]]
 
  | Ammatar = [[Ammatar]]
  | Minmatar
+
  | blood raider
  | Minmatar Republic = [[Minmatar Republic|Minmatar]]
+
  | blood raiders
  | Gallente Federation
+
  | blood raider covenant = [[The_Blood_Raider_Covenant|Blood Raiders]]
| Gallente = [[Gallente Federation|Gallente]]
+
  | caldari
  | Caldari State
+
  | caldari state = [[Caldari State|Caldari]]
  | Caldari = [[Caldari State|Caldari]]
+
  | edencom = [[EDENCOM]]
  | Khanid Kingdom
+
  | gallente
| Khanid = [[Khanid Kingdom|Khanid]]
+
  | gallente federation = [[Gallente Federation|Gallente]]
  | Mercenaries = Mercenary
+
| guristas
  | Rogue Drones = [[Rogue Drones|Rogue Drone]]
+
| guristas pirates = [[Guristas Pirates|Guristas]]
}}
+
| khanid
|-
+
  | khanid kingdom = [[Khanid Kingdom|Khanid]]
| style="background: #222; padding: 0.5em; white-space:nowrap;" | '''[[Damage_types|Damage to deal]]'''
+
  | mercenary
| style="padding: 0.5em;" | {{#if:{{{deal|}}}|{{{deal}}}|{{#switch: {{{faction}}}
+
  | mercenaries = Mercenary
  | Serpentis = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | minmatar
  | Angel
+
  | minmatar republic = [[Minmatar Republic|Minmatar]]
  | Angel Cartel = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
+
  | mordu
  | Syndicate
+
  | mordu's
  | The Syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | mordu's legion = [[Mordu's Legion]]
  | Guristas pirates
+
  | rogue drones = [[Rogue Drones]]
  | Guristas = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | sansha
  | Sansha
+
  | sansha's
| Sansha's Nation = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | sansha's nation = [[Sansha's Nation]]
  | Blood Raider Covenant
+
  | serpentis = [[Serpentis]]
  | Blood Raiders = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | sleepers = [[Sleepers]]
  | Mordu's
+
  | triglavians = [[Triglavian Collective]]
  | Mordu's Legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
+
  | {{{faction|}}}
  | EOM
+
  }}
  | Equilibrium of Mankind = {{Damagetype|Kin}}
+
 
  | CONCORD = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
label6 = [[Damage types|Best damage to deal]]
  | Amarr Empire
+
|   data6 = {{#if:{{{damage|}}}
| Amarr = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | {{{damage}}}
  | Ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | {{#if: {{{faction|}}} | {{Damage to deal | {{{faction}}} }} }}
| Minmatar Republic
+
}}
  | Thukker Tribe
+
 
  | Minmatar = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
+
| label7  = [[Damage types|Damage to resist]]
| Gallente Federation
+
|   data7  = {{#if:{{{resist|}}}
  | Gallente = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
| {{{resist}}}
  | Caldari State
+
| {{#if: {{{faction|}}} | {{Damage to resist | {{{faction}}} }} }}
| Caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  }}
  | Khanid Kingdom
+
 
| Khanid = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
| label8  = Faction
| Mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
|  data8 = {{#switch: {{lc: {{{faction2}}} }}
| Rogue Drones = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | angel
}}}}
+
  | angels
|-
+
| angel cartel = [[Angel Cartel]]
| style="background: #222; padding: 0.5em;" | '''[[Damage_types|Damage to<br>Resist]]'''
+
| amarr
| style="padding: 0.5em;" | {{#if:{{{resist|}}}|{{{resist}}}|{{#switch: {{{faction}}}
+
  | amarr empire = [[Amarr Empire|Amarr]]
| Serpentis = 55% {{Damagetype|Kin}}<br>45% {{Damagetype|Th}}
+
  | Ammatar = [[Ammatar]]
  | Angel
+
| blood raider
  | Angel Cartel = 62% {{Damagetype|Ex}}<br>22% {{Damagetype|Kin}}
+
  | blood raiders
  | Syndicate
+
  | blood raider covenant = [[The_Blood_Raider_Covenant|Blood Raiders]]
  | The Syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | caldari
  | Guristas pirates
+
  | caldari state = [[Caldari State|Caldari]]
  | Guristas = 79% {{Damagetype|kin}}<br>18% {{Damagetype|Th}}
+
| edencom = [[EDENCOM]]
  | Sansha
+
  | gallente
  | Sansha's Nation = 53% {{Damagetype|Em}}<br>47% {{Damagetype|Th}}
+
  | gallente federation = [[Gallente Federation|Gallente]]
  | Blood Raider Covenant
+
  | guristas
  | Blood Raiders = 50% {{Damagetype|Em}}<br>48% {{Damagetype|Th}}
+
  | guristas pirates = [[Guristas Pirates|Guristas]]
  | Mordu's
+
| khanid
  | Mordu's Legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
+
  | khanid kingdom = [[Khanid Kingdom|Khanid]]
  | EOM
+
  | mercenary
  | Equilibrium of Mankind = {{Damagetype|Kin}}
+
  | mercenaries = Mercenary
  | CONCORD = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
| minmatar
  | Amarr Empire
+
  | minmatar republic = [[Minmatar Republic|Minmatar]]
  | Amarr = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
| mordu
  | Ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | mordu's
  | Minmatar Republic
+
  | mordu's legion = [[Mordu's Legion]]
  | Thukker Tribe
+
  | rogue drones = [[Rogue Drones]]
  | Minmatar = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
+
| sansha
  | Gallente Federation
+
| sansha's
  | Gallente = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
| sansha's nation = [[Sansha's Nation]]
  | Caldari State
+
  | serpentis = [[Serpentis]]
  | Caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | triglavians = [[Triglavian Collective]]
  | Khanid Kingdom
+
| {{{faction2|}}}
  | Khanid = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
}}
| Mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
 
  | Rogue Drones = [[NPC_Damage_Types#A_brief_Summary_of_NPC_Damage_Types|Varied]]
+
|  label9 = Best damage to deal
}}}}
+
|   data9 = {{#if:{{{damage2|}}}
|-
+
  | {{{damage2}}}
| style="background: #222; padding: 0.5em;" | '''Sig. Strength'''
+
  | {{#if: {{{faction2|}}} | {{Damage to deal | {{{faction2}}} }} }}
| style="padding: 0.5em;" | {{#if:{{{signature strength |}}}|{{{signature strength }}}|}}
+
  }}
|}
+
 
__NOTOC__
+
| label10  = Damage to resist
</div>{{NPCTableCSS}}<noinclude>
+
|   data10  = {{#if:{{{resist2|}}}
{{Documentation}}
+
| {{{resist2}}}
 +
| {{#if: {{{faction2|}}} | {{Damage to resist | {{{faction2}}} }} }}
 +
}}
 +
 
 +
|  label11  = Sig. strength
 +
|  data11  = {{{signature strength|}}}
 +
 
 +
}}<noinclude>
 +
{{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?)