Template:Image popup galeg
NOTE: not working yet - must be missing some teplate scripting engine in Wiki/MediaWiki
Contents |
Usage
{{Image popup galeg|Text|Filename|width=###|height=##}}
- 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}}
- {{#switch:yes|1|on|true|y|yes=External image on mouseover, artifact|#default=External image on mouseover, artifact}}{{#switch:yes|1|on|true|y|yes=http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/artifacts/father-relay2.png|#default= }}
-
{{Image popup galeg|External image on mouseover, larger, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|width=250}}
- {{#switch:yes|1|on|true|y|yes=External image on mouseover, larger, not artifact|#default=External image on mouseover, larger, not artifact}}{{#switch:yes|1|on|true|y|yes=http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/ships/ship-base7.png|#default= }}
-
{{Image popup galeg|External image on mouseover, smaller, not artifact|http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|width=22}}
- {{#switch:yes|1|on|true|y|yes=External image on mouseover, smaller, not artifact|#default=External image on mouseover, smaller, not artifact}}{{#switch:yes|1|on|true|y|yes=http://galaxylegion.erismedia.netdna-cdn.com/galaxylegion/images/icons/planet.png|#default= }}
See Also