Difference between revisions of "Template:Infobox agent"

From EVE University Wiki
Jump to: navigation, search
m
m (Remove unused parameters.)
 
Line 1: Line 1:
<includeonly>{{Infobox
+
{{Infobox
 
|title        = {{{name}}}
 
|title        = {{{name}}}
 
|image        = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}}|{{#if: {{{size|}}} | {{{size}}}|125px}}]]
 
|image        = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}}|{{#if: {{{size|}}} | {{{size}}}|125px}}]]
  
|header1 =
 
 
|label1  = Type
 
|label1  = Type
 
|data1  = {{#switch: {{ lc:{{{type}}} }}
 
|data1  = {{#switch: {{ lc:{{{type}}} }}
Line 17: Line 16:
 
   | #default = <span style="color:red">Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS</span>
 
   | #default = <span style="color:red">Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS</span>
 
}}
 
}}
|header2 =
+
 
 
|label2  = Level
 
|label2  = Level
 
|data2  = {{{level|}}}
 
|data2  = {{{level|}}}
|header3 =
+
 
 
|label3  = Location
 
|label3  = Location
 
|data3  = {{{system|}}} ({{ColorSecurityRating | rating = {{SystemToSecurity | system = {{{system|}}} }} }})<br>{{SystemToRegion | system = {{{system|}}} }}
 
|data3  = {{{system|}}} ({{ColorSecurityRating | rating = {{SystemToSecurity | system = {{{system|}}} }} }})<br>{{SystemToRegion | system = {{{system|}}} }}
|header4 =
+
 
 
|label4  = Beacon
 
|label4  = Beacon
 
|data4  = {{{beacon|}}}
 
|data4  = {{{beacon|}}}
|header5 =
+
 
 
|label5  = Affiliation
 
|label5  = Affiliation
 
|data5  = {{{corporation|}}}<br>{{CorporationToFaction | corporation = {{{corporation|}}} }}
 
|data5  = {{{corporation|}}}<br>{{CorporationToFaction | corporation = {{{corporation|}}} }}
|header6 =
+
 
 
|label6  = Note
 
|label6  = Note
 
|data6  = {{{note|}}}
 
|data6  = {{{note|}}}
}}</includeonly><noinclude>
+
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:34, 26 May 2022

{{{name}}}
Member.png
Type Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS
Location (Accepted values: 1.0, 0.9, ... , -0.9, -1.0)
Unknown System
Affiliation
Unknown Corporation
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}}
Syntax
{{Infobox agent
| name        = 
| image       = 
| size        = 
| caption     =
| type        =
| level       =
| system      =
| beacon      =
| corporation =
| note        =
}}
Parameters
name
The name of the Mission Agent.
image
The name of Mission Agent image, with extension, but without parenthesis.
size
image size. Leave blank unless you have a very good reason. Use sparingly!
caption
Caption under the image.
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 output
Krester Rupptofs
Krester Rupptofs.jpg
Type COSMOS
Level 3
Location Deltole (0.5)
Sinq Laison
Beacon Municipal Junkyard
Affiliation Trust Partners
Thukker Tribe
{{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?)