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

User:Evon R'al/Sandbox template/doc: Difference between revisions

From EVE University Wiki
m Change background table header.
m Coding and testing
 
(61 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; Description
{{:User:Evon R'al/Draft|Redeemer|box}}
: 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}}.
 
; Dependencies
:; Uses
:: {{T|Infobox}}
:: {{T|Damagetype}}
 
; Syntax
<pre>{{CMBSiteInfo
| name=
| type=
| rating=
| location=
| ship limit=
| faction=
| damage=
| resist=
| signature strength=
}}</pre>
:; name : Name of the site.
:; 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.
{| class="wikitable"style="margin-left: 5em;"
|+ Well-known factions
|- style="background: #444444;"
! Full name !! Valid alternative(s)
|-
| Angel Cartel || Angel, Angels
|-
| Amarr Empire || Amarr
|-
| Ammatar
|-
| 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 ||
|}
:; damage : Best damage to deal (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.
:; signature strength : Signature strength
 
; Sample
{{CMBSiteInfo
| name= Serpentis Lookout
| type= unrated
| rating=
| location= High
| ship limit= Battlecruiser
| faction= Serpentis
| damage=
| resist=
| signature strength= 10% in High Sec
}}
<pre>{{CMBSiteInfo
| name= Serpentis Lookout
| type= unrated
| rating=
| location= High
| ship limit= Battlecruiser
| faction= Serpentis
| damage=
| resist=
| signature strength= 10% in High Sec
}}</pre>
::gives...
 
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>