Difference between revisions of "Template:CMBSiteInfo"

From EVE University Wiki
Jump to: navigation, search
(Created page with "<div style="float: right; margin: 0 2em 2em;"> {| class=wikitable style="margin: 1em auto 1em auto; width: 250px; font-size: 0.9em; line-height: 1.4em;" |+ style="padding: 0.5...")
 
m (Update link.)
 
(26 intermediate revisions by 4 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]]
|-
+
}}
| style="background: #222; padding: 0.5em;" | '''Rating'''
+
 
| style="padding: 0.5em;" | {{#if:{{{rating|}}}|{{{rating}}}|}}
+
| label2  = Rating
|-
+
|   data2  = {{{rating|}}}
| style="background: #222; padding: 0.5em;" | '''Found in'''
+
 
| style="padding: 0.5em;" | {{{location}}}
+
| label3  = Found in
|-
+
|   data3  = {{{location|}}}
| style="background: #222; padding: 0.5em; white-space:nowrap" | '''Max ship size'''
+
 
| style="padding: 0.5em;" | {{{ship_limit}}}
+
| label4  = Max ship size
|-
+
|   data4  = {{{ship limit|}}}
| style="background: #222; padding: 0.5em;white-space:nowrap" | '''Faction'''
+
 
| style="padding: 0.5em;" | {{#switch: {{{faction}}}
+
| label5  = Faction
  | Serpentis = [[Serpentis]]
+
|   data5  = {{#switch: {{lc: {{{faction}}} }}
  | Angel
+
  | angel
  | Angel Cartel = [[Angel_Cartel|Angel]]
+
  | angels
  | Guristas pirates
+
  | angel cartel = [[Angel Cartel]]
| Guristas = [[Guristas_Pirates|Gurista]]
+
  | amarr
| Sansha
+
  | amarr empire = [[Amarr Empire|Amarr]]
| Sansha's Nation = [[Sansha%27s_Nation|Sansha]]
 
| Blood Raider Covenant
 
| Blood Raiders = [[The_Blood_Raider_Covenant|Blood Raider]]
 
| Mordu's
 
| Mordu's Legion = [[Mordu's Legion]]
 
| Amarr Empire
 
  | Amarr = [[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}}
+
  | triglavians = [[Triglavian Collective]]
  | Mordu's
+
  | {{{faction|}}}
  | Mordu's Legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
+
  }}
  | EOM
+
 
  | Equilibrium of Mankind = {{Damagetype|Kin}}
+
label6 = [[Damage types|Best damage to deal]]
  | CONCORD = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
|   data6 = {{#if:{{{damage|}}}
  | Amarr Empire
+
  | {{{damage}}}
| Amarr = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | {{#if: {{{faction|}}} | {{Damage to deal | {{{faction}}} }} }}
| Ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
}}
| Minmatar Republic
+
 
  | Thukker Tribe
+
| label7  = [[Damage types|Damage to resist]]
  | Minmatar = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
+
|   data7  = {{#if:{{{resist|}}}
| Gallente Federation
+
| {{{resist}}}
  | Gallente = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
| {{#if: {{{faction|}}} | {{Damage to resist | {{{faction}}} }} }}
  | Caldari State
+
  }}
| Caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
 
  | Khanid Kingdom
+
| label8  = Faction
| Khanid = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
|  data8 = {{#switch: {{lc: {{{faction2}}} }}
| Mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | angel
| Rogue Drones = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | angels
}}}}
+
| angel cartel = [[Angel Cartel]]
|-
+
| amarr
| style="background: #222; padding: 0.5em;" | '''[[Damage_types|Damage to<br>Resist]]'''
+
  | amarr empire = [[Amarr Empire|Amarr]]
| style="padding: 0.5em;" | {{#if:{{{resist|}}}|{{{resist}}}|{{#switch: {{{faction}}}
+
  | Ammatar = [[Ammatar]]
| Serpentis = 55% {{Damagetype|Kin}}<br>45% {{Damagetype|Th}}
+
| blood raider
  | Angel
+
  | blood raiders
  | Angel Cartel = 62% {{Damagetype|Ex}}<br>22% {{Damagetype|Kin}}
+
  | blood raider covenant = [[The_Blood_Raider_Covenant|Blood Raiders]]
  | Syndicate
+
  | caldari
  | The Syndicate = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | caldari state = [[Caldari State|Caldari]]
  | Guristas pirates
+
| edencom = [[EDENCOM]]
  | Guristas = 79% {{Damagetype|kin}}<br>18% {{Damagetype|Th}}
+
  | gallente
  | Sansha
+
  | gallente federation = [[Gallente Federation|Gallente]]
  | Sansha's Nation = 53% {{Damagetype|Em}}<br>47% {{Damagetype|Th}}
+
  | guristas
  | Blood Raider Covenant
+
  | guristas pirates = [[Guristas Pirates|Guristas]]
  | Blood Raiders = 50% {{Damagetype|Em}}<br>48% {{Damagetype|Th}}
+
| khanid
  | Mordu's
+
  | khanid kingdom = [[Khanid Kingdom|Khanid]]
  | Mordu's Legion = {{Damagetype|Kin}}<br>{{Damagetype|Em}}
+
  | mercenary
  | EOM
+
  | mercenaries = Mercenary
  | Equilibrium of Mankind = {{Damagetype|Kin}}
+
| minmatar
  | CONCORD = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | minmatar republic = [[Minmatar Republic|Minmatar]]
  | Amarr Empire
+
| mordu
  | Amarr = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | mordu's
  | Ammatar = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
  | mordu's legion = [[Mordu's Legion]]
  | Minmatar Republic
+
  | rogue drones = [[Rogue Drones]]
  | Thukker Tribe
+
| sansha
  | Minmatar = {{Damagetype|Ex}}<br>{{Damagetype|Kin}}
+
| sansha's
  | Gallente Federation
+
| sansha's nation = [[Sansha's Nation]]
  | Gallente = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
  | serpentis = [[Serpentis]]
  | Caldari State
+
  | triglavians = [[Triglavian Collective]]
  | Caldari = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
| {{{faction2|}}}
  | Khanid Kingdom
+
}}
  | Khanid = {{Damagetype|Em}}<br>{{Damagetype|Th}}
+
 
| Mercenaries = {{Damagetype|Kin}}<br>{{Damagetype|Th}}
+
|  label9 = Best damage to deal
  | Rogue Drones = [[NPC_Damage_Types#A_brief_Summary_of_NPC_Damage_Types|Varied]]
+
|   data9 = {{#if:{{{damage2|}}}
}}}}
+
  | {{{damage2}}}
|-
+
  | {{#if: {{{faction2|}}} | {{Damage to deal | {{{faction2}}} }} }}
| style="background: #222; padding: 0.5em;" | '''Sig. Strength'''
+
  }}
| style="padding: 0.5em;" | {{#if:{{{signature_str|}}}|{{{signature_str}}}|}}
+
 
|}
+
| label10  = Damage to resist
__NOTOC__
+
|   data10  = {{#if:{{{resist2|}}}
</div>{{NPCTableCSS}}<noinclude>
+
| {{{resist2}}}
{{Documentation}}
+
| {{#if: {{{faction2|}}} | {{Damage to resist | {{{faction2}}} }} }}
 +
}}
 +
 
 +
|  label11  = Sig. strength
 +
|  data11  = {{{signature strength|}}}
 +
 
 +
}}<noinclude>
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest 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?)