Template:Navimg
From MeritBadgeDotOrg
(Difference between revisions)
(tweaking formatting options) |
(auto-size produces no image) |
||
| Line 6: | Line 6: | ||
==Format== | ==Format== | ||
| - | + | <nowiki>{{Navimg | |
| - | |width = | + | |width = |
| - | |height= | + | |height= |
|image = <!-- required: image name such as: FleurDeLis.png --> | |image = <!-- required: image name such as: FleurDeLis.png --> | ||
|link = | |link = | ||
| - | + | }}</nowiki> | |
==Examples== | ==Examples== | ||
| - | + | <nowiki>{{Navimg | |
|width = 50px | |width = 50px | ||
|height= 50px | |height= 50px | ||
|image = FleurDeLis.png | |image = FleurDeLis.png | ||
|link = Boy Scouting | |link = Boy Scouting | ||
| - | + | }}</nowiki> | |
{{Navimg | {{Navimg | ||
| Line 28: | Line 28: | ||
}} ''Notice when you move your mouse (hover) over the BSA logo, the link is to [[Boy Scouting]] not [[:Image:FleurDeLis.png]].'' | }} ''Notice when you move your mouse (hover) over the BSA logo, the link is to [[Boy Scouting]] not [[:Image:FleurDeLis.png]].'' | ||
| - | + | <nowiki>{{Navimg | |
|width = 75px | |width = 75px | ||
|height= 75px | |height= 75px | ||
|image = FleurDeLis.png | |image = FleurDeLis.png | ||
|link = Boy Scouting | |link = Boy Scouting | ||
| - | + | }}</nowiki> | |
{{Navimg | {{Navimg | ||
| Line 43: | Line 43: | ||
| - | + | <nowiki>{{Navimg | |
|width = | |width = | ||
|height= | |height= | ||
|image = FleurDeLis.png | |image = FleurDeLis.png | ||
|link = | |link = | ||
| - | + | }}</nowiki> | |
{{Navimg | {{Navimg | ||
| Line 58: | Line 58: | ||
| - | + | <nowiki>{{Navimg | |
|width = | |width = | ||
|height= | |height= | ||
|image = FleurDeLis.png | |image = FleurDeLis.png | ||
|link = | |link = | ||
| - | + | }}</nowiki> | |
{{Navimg | {{Navimg | ||
Revision as of 14:38, October 24, 2008
Use
The automatic link created by Wikipedia when you insert an image is to that image's page. But many if not most users want to go to the article, not download the image and end up in a dead end.
Navimg allows you to use an image as a link to an article. Click the image and you go to that article not the image pages.
Format
{{Navimg |width = |height= |image = <!-- required: image name such as: FleurDeLis.png --> |link = }}
Examples
{{Navimg |width = 50px |height= 50px |image = FleurDeLis.png |link = Boy Scouting }}
Notice when you move your mouse (hover) over the BSA logo, the link is to Boy Scouting not Image:FleurDeLis.png.{{Navimg |width = 75px |height= 75px |image = FleurDeLis.png |link = Boy Scouting }}
{{Navimg
|width =
|height=
|image = FleurDeLis.png
|link =
}}
{{Navimg
|width =
|height=
|image = FleurDeLis.png
|link =
}}

