Difference between revisions of "Template:Image"
Jump to navigation
Jump to search
sc4e>JoeST m (→Example: exp) |
sc4e>JoeST m (→Syntax: coirrected) |
||
Line 11: | Line 11: | ||
*'''''url''''': An external URL to link to | *'''''url''''': An external URL to link to | ||
*'''''width''''': can take these values | *'''''width''''': can take these values | ||
− | ** | + | **tinyImg: upto 300px |
− | ** | + | **smallImg: upto 500px |
− | ** | + | **all others are 800px |
+ | |||
==Example== | ==Example== | ||
</noinclude><span class="plainlinks" {{#if:{{{width|}}}|id="{{{width}}}"}}>{{#if:{{{page|}}}{{{url|}}}|<!-- page or url parameters set | </noinclude><span class="plainlinks" {{#if:{{{width|}}}|id="{{{width}}}"}}>{{#if:{{{page|}}}{{{url|}}}|<!-- page or url parameters set |
Revision as of 05:36, 26 January 2009
This template includes an external image, and can also link you to either the external image, an internal article or an external link.
Syntax
- 1: The external image URL
- page: An article name
- url: An external URL to link to
- width: can take these values
- tinyImg: upto 300px
- smallImg: upto 500px
- all others are 800px
Example
{{{1}}}
- Where neither is set:
http://www.sc4devotion.com/img/SC4DVD_1.jpg
- Where page is set (to Main Page):
http://www.sc4devotion.com/img/SC4DVD_1.jpg
- Where url is set (too google):
http://www.sc4devotion.com/img/SC4DVD_1.jpg
- Where width is set (to tinyImg):