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

Template:Infobox agent: Difference between revisions

Template page
Arin Mara (talk | contribs)
Added R&D, Career Agent, Factional Warfare, Storyline as possible values for Type (Agency Agent Finder values)
m Replace hard-coded color with design-token.
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infoboxtable"
{{Infobox
|-
|title        = {{{name}}}
! colspan="2" class="infoboxnamegray" | {{{name}}}
|image        = [[File:{{#if: {{{image|}}} | {{{image}}} | Member.png}} | 128px]]
|- style="text-align:center"
 
| colspan="2" style="padding:0.5em;" | [[File:{{{image}}}|{{#if: {{{size|}}} | {{{size}}}|125px}}]]
|label1  = Type
|- style="text-align:center"
|data1  = {{#switch: {{ lc:{{{type}}} }}
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }}
  | career agent = Career Agent
|-
  | cosmos = COSMOS
! colspan="2" class="infoboxdescriptiongray" | Details
   | data center = Data center
|-
{{#if: {{{type|}}} | {{!}} width=80 {{!}}  <div>Type</div> {{!!}} {{#switch: {{lc:{{{type}}}}}
   | security = Security
   | distribution = Distribution
   | distribution = Distribution
  | epic arc = Epic Arc
  | factional warfare = Factional Warfare
   | mining = Mining
   | mining = Mining
   | r&d = R&D
   | r&d = R&D
   | career agent = Career Agent
   | security = Security
  | factional warfare = Factional Warfare
   | storyline = Storyline
   | storyline = Storyline
  | epic arc = Epic Arc
   | #default = <span style="color: var(--color-error);">Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS</span>
  | cosmos = COSMOS
   | #default = <span style="color:red">Accepted values: Security, Distribution, Mining, R&D, Career Agent, Factional Warfare, Storyline, Epic Arc, COSMOS</span>
  }}
}}
}}
|-
 
{{#if: {{{level|}}} | {{!}} <div>Level</div> {{!!}} {{{level}}} }}
|label2  = Level
|-
|data2  = {{{level|}}}
{{#if: {{{system|}}} | {{!}} <div>Location</div> {{!!}} {{{system}}} ({{SystemToSecurity | system = {{{system}}}}})<br>{{SystemToRegion | system = {{{system}}}}} }}
 
|-
|label3  = Location
{{#if: {{{beacon|}}} | {{!}} <div>Beacon</div> {{!!}} {{{beacon}}} }}
|data3  = {{{system|}}} ({{ColorSecurityRating | {{SystemToSecurity | {{{system|}}} }} }})<br>{{SystemToRegion | {{{system|}}} }}
|-
 
{{#if: {{{corporation|}}} | {{!}} <div>Affiliation</div> {{!!}} {{{corporation}}}<br>{{CorporationToFaction | corporation = {{{corporation}}}}} }}
|label4  = Beacon
|-
|data4  = {{{beacon|}}}
{{#if: {{{note|}}} | {{!}} <div>Note</div> {{!!}} {{{note}}} }}
 
|}{{InfoboxCSS}}<noinclude>
|label5  = Affiliation
[[Category:Template]]
|data5  = {{{corporation|}}}<br>{{CorporationToFaction | {{{corporation|}}} }}
 
|label6  = Note
|data6  = {{{note|}}}
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>