Template:Image popup galeg
(test to allow inline external image on mouseover) |
(test to allow inline external image on mouseover) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
- | <big>'''<nowiki>{{Image popup galeg|Filename|width=###|height=##|link=(page)|alt=(text)}}</nowiki>'''</big> | + | <big>'''<nowiki>{{Image popup galeg|Text|Filename|width=###|height=##|link=(page)|alt=(text)}}</nowiki>'''</big> |
* You may <nowiki>[[Link]]</nowiki> the '''Text'''. | * You may <nowiki>[[Link]]</nowiki> the '''Text'''. | ||
- | * | + | * Default '''width''' is '''''90'''''. ''(A width greater than 500 will likely end up off the page on smaller screens)'' |
- | + | * Default '''height''' is inherited based on width and size of image. | |
- | * Default height is inherited based on width and size of image. | + | * '''''Text''''' = always "'''''Image'''''" (without quotes) |
- | + | * '''''Text''''' = can be "'''''[Filename Image]'''''" (without quotes), as per original link | |
+ | * '''''Filename''''' = <nowiki>http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/</nowiki>'''''_area_/_image_name_''''' | ||
+ | * '''''_area_''''' = artifact/ships/icons/missions etc | ||
+ | * '''''_image_name_''''' = static: image.png / animated: image.gif | ||
==Examples== | ==Examples== | ||
* <pre>{{Image popup galeg|External image on mouseover, artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png}}</pre> | * <pre>{{Image popup galeg|External image on mouseover, artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png}}</pre> | ||
- | ** {{Image popup|External image on mouseover, artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png}} | + | ** {{Image popup galeg|External image on mouseover, artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png}} |
- | * <pre>{{Image popup|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}}</pre> | + | * <pre>{{Image popup galeg|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}}</pre> |
- | ** {{Image popup|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}} | + | ** {{Image popup galeg|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}} |
- | * <pre>{{Image popup|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}}</pre> | + | * <pre>{{Image popup galeg|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}}</pre> |
- | ** {{Image popup|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}} | + | ** {{Image popup galeg|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}} |
==See Also== | ==See Also== |
Revision as of 06:28, 27 August 2012
Contents |
Usage
{{Image popup galeg|Text|Filename|width=###|height=##|link=(page)|alt=(text)}}
- You may [[Link]] the Text.
- Default width is 90. (A width greater than 500 will likely end up off the page on smaller screens)
- Default height is inherited based on width and size of image.
- Text = always "Image" (without quotes)
- Text = can be "[Filename Image]" (without quotes), as per original link
- Filename = http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/_area_/_image_name_
- _area_ = artifact/ships/icons/missions etc
- _image_name_ = static: image.png / animated: image.gif
Examples
-
{{Image popup galeg|External image on mouseover, artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png}}
-
{{Image popup galeg|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}}
-
{{Image popup galeg|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}}
See Also
Coding
[{{{2}}} {{{1}}}]{{{2}}}