Difference between revisions of "Template:FleetImage"
From Fleet
Space Weasel (talk | contribs) |
Space Weasel (talk | contribs) |
||
Line 7: | Line 7: | ||
|} | |} | ||
<small>{{{text}}}</small> | <small>{{{text}}}</small> | ||
+ | {{#if:{{{link|}}}|{{{link}}} <span style="color:gray">yes</span>|<span class="error">no</span>}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Revision as of 02:23, 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}}
- 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
Todo:
- alt="{{{alt}}}"
- {{{style}}}
Can't do alt tag without an Extension.