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
No edit summary
Moving CSS to template in-place, so template is full independent
Line 25: Line 25:
     -o-animation-iteration-count: infinite;
     -o-animation-iteration-count: infinite;
     -o-animation-direction: alternate;
     -o-animation-direction: alternate;
} }}
}
.wikitable.NPC td {padding: 0.65em 0.5em 0.5em; line-height: 1; }
.wikitable.NPC td.icon {padding: 0.1em; text-align: center; }
.wikitable.NPC td.icon a {padding: 0 0.1em; }
}}


<includeonly>
<includeonly>
|-
|-
| class=icon style="width: 20px;" | {{#switch: {{{1}}}
| class=icon | {{#switch: {{{1}}}
  | Drone ={{icon|drone|16|Drone}}
  | Drone ={{icon|drone|16|Drone}}
  | Frigate ={{icon|frigate|16|Frigate}}
  | Frigate ={{icon|frigate|16|Frigate}}
Line 53: Line 57:
}}
}}
| {{{2}}} x {{co|#9ef37c|{{{1}}} }} {{{3}}}{{#if:{{{note|}}}| <span class="flashy"> {{icon|tag agent|9|{{{note}}} }}</span> |}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}}
| {{{2}}} x {{co|#9ef37c|{{{1}}} }} {{{3}}}{{#if:{{{note|}}}| <span class="flashy"> {{icon|tag agent|9|{{{note}}} }}</span> |}} {{#if:{{{trigger|}}}|{{icon|x|14|{{{trigger}}}}}|}}
| class=icon| {{#ifeq: {{{point}}} | yes | {{icon|point|16|Warp disruptor or scrambler}} }}
| class=icon | {{#ifeq: {{{point}}} | yes | {{icon|point|16|Warp disruptor or scrambler}} }}
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}}  
| class=icon | {{#ifeq: {{{ewar|}}} | | | {{#switch: {{{ewar}}}  
                                             | ECM ={{icon|ecm|18|Jamming}}
                                             | ECM ={{icon|ecm|18|Jamming}}