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

Template:NPCTableRow: Difference between revisions

Template page
m Target: increase readability of source. Replace table wiki mark-up with html. Use {{#switch:}} 'fall through' where possible. Replace {{#ifeq:}} test for empty parameter with {{#if:}}. Change indentation.
Add code to suppress display of the parameter name when no "name" is given.
 
(One intermediate revision by the same user not shown)
Line 104: Line 104:
   | Friendly Titan = [[File:icon blue titan.png|16px|supercapital]]
   | Friendly Titan = [[File:icon blue titan.png|16px|supercapital]]
<!-- STRUCTURES -->
<!-- STRUCTURES -->
   | Accl Gate <!-- Don't use this one-->
   | Accl Gate <!-- Don't use this one - deprecated -->
   | Acceleration Gate = [[File:Icon bracket accelerationgate.png|16px|Acceleration Gate]]
   | Acceleration Gate = [[File:Icon bracket accelerationgate.png|16px|Acceleration Gate]]
   | Station = [[File:Icon bracket station.png|16px|Station]]
   | Station = [[File:Icon bracket station.png|16px|Station]]
Line 146: Line 146:
   | Hangar Array =  
   | Hangar Array =  
   | Industrial2= {{co|#9ef37c|Industrial }}
   | Industrial2= {{co|#9ef37c|Industrial }}
   | {{co|#9ef37c|{{{1}}} }}
   | {{co|var(--color-content-added)|{{{1}}} }}
   }} {{{3}}} {{#if:{{{note|}}}| [[File:Small Info.png|16px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png|16px|{{{trigger}}}]]|}}
   }} {{#if: {{{3|}}} | {{{3}}} }} {{#if:{{{note|}}}| [[File:Small Info.png|16px|{{{note}}}]]|}} {{#if:{{{trigger|}}}|[[File:Icon large red x.png|16px|{{{trigger}}}]]|}}
  </td>
  </td>