Template:Image: Difference between revisions
imported>Sekoia (removing section= tags) |
imported>Sekoia (added note: only use on a page once!) |
||
Line 5: | Line 5: | ||
This is particularly useful because articles on items (such as badges or salvage) often contain an image that represents the article, but the image often isn't isolated in a section of its own. This template allows these images to be easily extracted for use in other templates or pages. | This is particularly useful because articles on items (such as badges or salvage) often contain an image that represents the article, but the image often isn't isolated in a section of its own. This template allows these images to be easily extracted for use in other templates or pages. | ||
'''Important Note:''' This template isn't meant to be used to display ''all'' images. It should only be used at most once on a given page, and should only be used on the image that would best represent the page. For badges, this would be the badge icon. For salvage, this would be the salvage image. If you're just displayed a normal image, or if the article is about more than a single, narrowly-defined item, you probably just want to include the image normally. | |||
== Usage == | == Usage == |
Revision as of 09:45, 11 May 2007
Overview
This template displays an image. Including the image in a template makes it easier to transclude through DPL.
This is particularly useful because articles on items (such as badges or salvage) often contain an image that represents the article, but the image often isn't isolated in a section of its own. This template allows these images to be easily extracted for use in other templates or pages.
Important Note: This template isn't meant to be used to display all images. It should only be used at most once on a given page, and should only be used on the image that would best represent the page. For badges, this would be the badge icon. For salvage, this would be the salvage image. If you're just displayed a normal image, or if the article is about more than a single, narrowly-defined item, you probably just want to include the image normally.
Usage
- {{Image|Image.png}} will display the image Image.png.
Example
Template Call | Result |
---|---|
{{Image|Salvage Brass.png}} |