Difference between revisions of "Template:Image"
From Paragon Wiki Archive
(removing optional second param) |
(removing section= tags) |
||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly>[[Image:{{{1}}}]]</includeonly><noinclude>__NOTOC__ |
==Overview== | ==Overview== | ||
− | This template displays an image | + | 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. | 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. | ||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
− | * <nowiki>{{Image|Image.png}}</nowiki> will display the image Image.png | + | * <nowiki>{{Image|Image.png}}</nowiki> will display the image Image.png. |
== Example == | == Example == | ||
{| class=wikitable | {| class=wikitable | ||
|- | |- | ||
− | ! Template Call !! | + | ! Template Call !! Result |
|- | |- | ||
− | | <nowiki>{{Image|Salvage Brass.png}}</nowiki> || {{Image|Salvage Brass.png}} | + | | <nowiki>{{Image|Salvage Brass.png}}</nowiki> || {{Image|Salvage Brass.png}} |
|}</noinclude> | |}</noinclude> |
Revision as of 09:19, 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.
Usage
- {{Image|Image.png}} will display the image Image.png.
Example
Template Call | Result |
---|---|
{{Image|Salvage Brass.png}} |