More actions
m Change some coding so that if some info is not entered the field is empty instead of showing the parameter name. |
Refactor to use meta template {{Infobox}} as by project "Cleanup Infobox Templates" |
||
| Line 1: | Line 1: | ||
< | <includeonly>{{NPCTableCSS}}</includeonly>{{Infobox | ||
| name = <!-- left empty, to NOT have edit links at the bottom of the box.--> | |||
| | |||
| title = Site Details | |||
| | | above = {{{name|{{Co|gray|Site name ?}}}}} | ||
| | | label1 = Type | ||
| | | data1 = {{#switch: {{lc: {{{type}}} }} | ||
| | | anomaly = [[Combat sites#Combat anomalies|Combat Anomaly]] | ||
| | | chemical = [[Combat sites#Chemical Labs|Chemical Lab]] | ||
| | | cosmos = [[Combat sites#COSMOS sites|COSMOS site]] | ||
| ded = [[Combat sites#DED rated complexes|DED Rated Complex]] | |||
| escalation | | escalation | ||
| expedition =[[ | | expedition = [[Combat sites#expeditions|Expedition]] | ||
| | | unrated = [[Combat sites#Unrated_complexes|Unrated Complex]] | ||
}} | |||
| label2 = Rating | |||
}} | | data2 = {{{rating|}}} | ||
| | | label3 = Found in | ||
| | | data3 = {{{location|}}} | ||
| | | 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]] | ||
| | | 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]] | |||
| {{{faction|}}} | | {{{faction|}}} | ||
}} | }} | ||
| | | label6 = [[Damage types|Damage to deal]] | ||
| | | data6 = {{#if:{{{damage|}}} | ||
| {{{damage}}} | |||
| {{#switch: {{lc: {{{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}} | ||
| | }} | ||
}} | |||
| label7 = [[Damage types|Damage to resist]] | |||
| data7 = {{#if:{{{resist|}}} | |||
| {{{resist}}} | |||
| {{#switch: {{lc: {{{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 | |||
| data8 = {{{signature strength|}}} | |||
}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> | ||
Revision as of 08:21, 28 May 2022
| 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 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, MTO[Note 1] 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.
| 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
damageandresistuse {{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
| Serpentis Lookout | |
|---|---|
| Type | Unrated Complex |
| Found in | High |
| Max ship size | Battlecruiser |
| Faction | Serpentis |
| Damage to deal |
|
| Damage to resist |
55% 45% |
| 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...
- Notes
- ^ Mercenary Tactical Operation