Difference between revisions of "Template:CMBSiteInfo"

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