Difference between revisions of "Template:FleetImage"

From Fleet
Line 18: Line 18:
 
<pre>{{FleetImage|image={{SERVER}}/img/n/assimilant_hive_x128.png|align=right|text="Resistance = voltage / current."|link=Assimilant Hive}}</pre>
 
<pre>{{FleetImage|image={{SERVER}}/img/n/assimilant_hive_x128.png|align=right|text="Resistance = voltage / current."|link=Assimilant Hive}}</pre>
  
**'''image''' = image path. Use the following format: {{SERVER}}/img/n/assimilant_hive_x128.png
+
**'''image''' = image path. Use the following format: <nowiki>{{SERVER}}/img/n/assimilant_hive_x128.png</nowiki>
 
**'''align''' = options: left, right
 
**'''align''' = options: left, right
 
**'''text''' = The text under the image
 
**'''text''' = The text under the image

Revision as of 00:53, 5 June 2012


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


Template:

{{FleetImage|image={{SERVER}}/img/n/assimilant_hive_x128.png|align=right|text="Resistance = voltage / current."|link=Assimilant Hive}}
    • 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 = Where clicking the image will take you


Todo:

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

Can't do alt tag without an Extension.