Template:FleetImage

From Fleet
Revision as of 20:03, 21 November 2013 by Space Weasel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Template for adding images directly from Fleet.
More or less a remake of the Image template that allows for remote images to be used. Only without the security issues.
Work in progress. :9


Template example with link:

{{FleetImage|image={{SERVER}}/img/n/assimilant_hive_x128.png|align=right|text="Resistance = voltage / current."|link=Assimilant Hive}}

Template example without link:

{{FleetImage|image={{SERVER}}/img/n/assimilant_hive_x128.png|align=right|text="Resistance = voltage / current."|link=}}


  • Parameters:
    • image = image path. Use the following format: {{SERVER}}/img/n/assimilant_hive_x128.png
    • align = options: left, right
    • text = The text under the image
    • link = To which Fleet Wiki page clicking the image will lead to. Leave blank if you won't want it to link to anything.


Todo:

  • alt="{{{alt}}}"
  • {{{style}}}

Can't do alt tag without an Extension.