Difference between revisions of "Template:Infobox agent"

From EVE University Wiki
Jump to: navigation, search
(Added R&D, Career Agent, Factional Warfare, Storyline as possible values for Type (Agency Agent Finder values))
(Added ColorSecurityRating template to add a bit of color to the template)
Line 25: Line 25:
 
{{#if: {{{level|}}} | {{!}} <div>Level</div> {{!!}} {{{level}}} }}
 
{{#if: {{{level|}}} | {{!}} <div>Level</div> {{!!}} {{{level}}} }}
 
|-
 
|-
{{#if: {{{system|}}} | {{!}} <div>Location</div> {{!!}} {{{system}}} ({{SystemToSecurity | system = {{{system}}}}})<br>{{SystemToRegion | system = {{{system}}}}} }}
+
{{#if: {{{system|}}} | {{!}} <div>Location</div> {{!!}} {{{system}}} ({{ColorSecurityRating | rating = {{SystemToSecurity | system = {{{system}}} }} }})<br>{{SystemToRegion | system = {{{system}}} }} }}
 
|-
 
|-
 
{{#if: {{{beacon|}}} | {{!}} <div>Beacon</div> {{!!}} {{{beacon}}} }}
 
{{#if: {{{beacon|}}} | {{!}} <div>Beacon</div> {{!!}} {{{beacon}}} }}
 
|-
 
|-
{{#if: {{{corporation|}}} | {{!}} <div>Affiliation</div> {{!!}} {{{corporation}}}<br>{{CorporationToFaction | corporation = {{{corporation}}}}} }}
+
{{#if: {{{corporation|}}} | {{!}} <div>Affiliation</div> {{!!}} {{{corporation}}}<br>{{CorporationToFaction | corporation = {{{corporation}}} }} }}
 
|-
 
|-
 
{{#if: {{{note|}}} | {{!}} <div>Note</div> {{!!}} {{{note}}} }}
 
{{#if: {{{note|}}} | {{!}} <div>Note</div> {{!!}} {{{note}}} }}

Revision as of 21:34, 19 February 2021

{{{name}}}
[[File:{{{image}}}|125px]]
Details

Template:InfoboxCSS

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to create an Infobox for Mission agents.
Dependencies
Uses
{{Infobox}}
{{CorporationToFaction}}
{{SystemToRegion}}
{{SystemToSecurity}}
{{ColorSecurityRating}}
member.png as default image.
Syntax
{{Infobox agent
| name        = 
| image       = 
| type        = 
| level       = 
| system      = 
| beacon      = 
| corporation = 
| note        = 
}}
Parameters
name 
The name of the Mission Agent.
image 
The name of Mission Agent's image, with extension, but without parenthesis. When no file name is given, member.png is used as the default.
type 
Mission Agent type can be either: Security, Distribution, Mining, Epic Arc or COSMOS.
level 
Mission Agent level, from 1 to 5.
system 
The name of the System where the Mission Agent is located.
beacon 
The name of the Beacon where the Mission Agent is located.
corporation 
The name of the Corporation to which the Mission Agent belongs.
note 
A special note about the Mission Agent.
Sample
Krester Rupptofs
Krester Rupptofs.jpg
Details
Type
COSMOS
Level
3
Location
Deltole (0.5)
Sinq Laison
Beacon
Municipal Junkyard
Affiliation
Trust Partners
Thukker Tribe
Template:InfoboxCSS
{{Infobox agent | name = Krester Rupptofs | image = Krester Rupptofs.jpg | type = COSMOS | level = 3 | system = Deltole | beacon = Municipal Junkyard | corporation = Trust Partners }}
gives...
Visit Template:Infobox agent/doc to edit this text! (How does this work?) (Refresh this text - why?)