Difference between revisions of "Template:Infobox agent"
From EVE University Wiki
(Created a Infobox for Mission Agents) |
m (Sort switch options for {{{type}}}. Add Data center.) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | { | + | {{Infobox |
− | | | + | |title = {{{name}}} |
− | + | |image = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}} | 128px]] | |
− | | | + | |
− | + | |label1 = Type | |
− | | | + | |data1 = {{#switch: {{ lc:{{{type}}} }} |
− | {{# | + | | career agent = Career Agent |
− | | | + | | cosmos = COSMOS |
− | + | | data center = Data center | |
− | | | ||
− | |||
− | | | ||
| distribution = Distribution | | distribution = Distribution | ||
+ | | epic arc = Epic Arc | ||
+ | | factional warfare = Factional Warfare | ||
| mining = Mining | | mining = Mining | ||
− | | | + | | r&d = R&D |
− | | | + | | security = Security |
− | | #default = <span style="color:red">Accepted values: Security, Distribution, Mining, Epic Arc, COSMOS</span> | + | | storyline = Storyline |
− | + | | #default = <span style="color:red">Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS</span> | |
}} | }} | ||
− | | | + | |
− | + | |label2 = Level | |
− | | | + | |data2 = {{{level|}}} |
− | + | ||
− | | | + | |label3 = Location |
− | + | |data3 = {{{system|}}} ({{ColorSecurityRating | {{SystemToSecurity | {{{system|}}} }} }})<br>{{SystemToRegion | {{{system|}}} }} | |
− | | | + | |
− | + | |label4 = Beacon | |
− | | | + | |data4 = {{{beacon|}}} |
− | + | ||
− | + | |label5 = Affiliation | |
− | + | |data5 = {{{corporation|}}}<br>{{CorporationToFaction | {{{corporation|}}} }} | |
+ | |||
+ | |label6 = Note | ||
+ | |data6 = {{{note|}}} | ||
+ | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:47, 20 October 2022
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
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 }} |
Visit Template:Infobox agent/doc to edit this text! (How does this work?) (Refresh this text - why?)