Difference between revisions of "Template:CMBSiteInfo"

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