Difference between revisions of "Template:CMBSiteInfo"
From EVE University Wiki
m (Put damage to resist side by side instead of stacked on top of each other.) |
m (Replace decision tree wit already existing templates {{Damage to deal}} and {{Damage to resist}}) |
||
Line 61: | Line 61: | ||
}} | }} | ||
− | | label6 = [[Damage types| | + | | label6 = [[Damage types|Best damage to deal]] |
| data6 = {{#if:{{{damage|}}} | | data6 = {{#if:{{{damage|}}} | ||
| {{{damage}}} | | {{{damage}}} | ||
− | | {{# | + | | {{#if: {{{faction|}}} | {{Damage to deal | {{{faction}}} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Line 107: | Line 70: | ||
| data7 = {{#if:{{{resist|}}} | | data7 = {{#if:{{{resist|}}} | ||
| {{{resist}}} | | {{{resist}}} | ||
− | | {{# | + | | {{#if: {{{faction|}}} | {{Damage to resist | {{{faction}}} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Line 183: | Line 109: | ||
}} | }} | ||
− | | label9 = | + | | label9 = Best damage to deal |
| data9 = {{#if:{{{damage2|}}} | | data9 = {{#if:{{{damage2|}}} | ||
| {{{damage2}}} | | {{{damage2}}} | ||
− | | {{# | + | | {{#if: {{{faction2|}}} | {{Damage to deal | {{{faction2}}} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | | label10 = | + | | label10 = Damage to resist |
| data10 = {{#if:{{{resist2|}}} | | data10 = {{#if:{{{resist2|}}} | ||
| {{{resist2}}} | | {{{resist2}}} | ||
− | | {{# | + | | {{#if: {{{faction2|}}} | {{Damage to resist | {{{faction2}}} }} }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
Revision as of 11:32, 20 June 2023
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.
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
andresist
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
Serpentis Lookout | |
---|---|
Type | Unrated Complex |
Found in | High |
Max ship size | Battlecruiser |
Faction | Serpentis |
Best damage to deal | Kin Th |
Damage to resist | Th 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...