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)
mNo edit summary
m Replace hard-coded color with design-token.
 
(5 intermediate revisions by 2 users not shown)
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}} | 128px]]


|header1 =
|label1  = Type
|label1  = Type
|data1  = {{#switch: {{ lc:{{{type}}} }}
|data1  = {{#switch: {{ lc:{{{type}}} }}
   | security = Security
   | 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
   | 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>
}}
}}
|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 | {{SystemToSecurity | {{{system|}}} }} }})<br>{{SystemToRegion | {{{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|}}} }}
|header6 =
 
|label6  = Note
|label6  = Note
|data6  = {{{note|}}}
|data6  = {{{note|}}}
}}</includeonly><noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>