Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CMBSiteInfo/doc: Difference between revisions

Template page
m Rewrite doc.
m Change wording
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
; Description
; Description
: This template produces an infobox at the right side of the page containing basic information about a particular combat site.
: This template produces an infobox at the right side of the page containing basic information about a particular combat site.
: This template also includes {{T|NPCTableCSS}}.
: This template includes {{T|NPCTableCSS}}.


; Dependencies
; Dependencies
:; Uses
:; Uses
:: {{T|Infobox}}
:: {{T|Infobox}}
:: {{T|Damagetype}}
:: {{T|Damage to deal}}
:: {{T|Damage to resist}}


; Syntax
; Syntax
Line 18: Line 19:
| damage=  
| damage=  
| resist=  
| resist=  
| faction2=
| damage2=
| resist2=
| signature strength=  
| signature strength=  
}}</pre>
}}</pre>
: Unused parameters will not be shown in the infobox.
: Unused parameters will not be shown in the infobox and may be removed.
:; name : Name of the site.
:; 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.
:; type : Site type. One of anomaly, chemical, COSMOS, DED, expedition, MTO<ref group=Note >Mercenary Tactical Operation</ref> 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
:; rating : The site rating. e.g. 5/10
:; location : Where the site is found e.g. Highsec or a specific system or constellation etc.
:; location : Where the site is found e.g. Highsec or a specific system or constellation etc.
:; Ship limit : Maximum allowed ship size.
:; 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.
:; 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.
{| class="wikitable"style="margin-left: 5em;"
{| class="wikitable"style="margin-left: 5em;"
|+ Well-known factions
|+ Well-known factions
|- style="background: #444444;"
|- style="background-color: var(--background-color-warning-subtle);"
! Full name !! Valid alternative(s)
! Full name !! Valid alternative(s)
|-
| Angel Cartel || Angel, Angels
|-
|-
| Amarr Empire || Amarr
| Amarr Empire || Amarr
|-
|-
| Ammatar
| Ammatar
|-
| Angel Cartel || Angel, Angels
|-
|-
| Blood Raider Covenant || Blood Raider, Blood Raiders
| Blood Raider Covenant || Blood Raider, Blood Raiders
Line 62: Line 66:
| Serpentis
| Serpentis
|-
|-
| triglavians ||
| Triglavians ||
|}
|}
:; faction2 : See <code>faction</code>
: For <code>damage</code> and <code>resist</code> use {{T|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)
:; damage : Best damage to deal (optional)
:; damage2 : see <code>damage</code>
:; resist : Damage to resist (optional)
:; resist : Damage to resist (optional)
::: For "damage" and "resist" use {{T|Damagetype}}. When one of the well-known factions is used and nothing is entered the factions default values will be used.
:; resist2 : See <code>resist</code>
 
 
:; signature strength : Signature strength
:; signature strength : Signature strength


; Sample
; Sample
Line 93: Line 105:
}}</pre>
}}</pre>
::gives...
::gives...
; Notes
<references group=Note />


<includeonly>[[Category:Infobox templates]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Infobox templates]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>