utils/NSH/templates/_macro.html
raw| 1 | {%- macro shipImage(gfx, shipName='') %} |
| 2 | <img width="128" height="128" src="media/{{gfx}}_comm.png" alt="Image for {{shipName}}" /> |
| 3 | {%- endmacro %} |
| 4 | |
| 5 | {%- macro shipImageLarge(gfx, shipName='') %} |
| 6 | <img width="256" height="256" src="media/{{gfx}}_comm.png" alt="Image for {{shipName}}" /> |
| 7 | {%- endmacro %} |