Difference between revisions of "Template:Click"
From Twinsuniverse
J McKalling (Talk | contribs) m (4 revisions) |
J McKalling (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly> |
− | + | [[File:{{{image}}}|{{{width}}}|link={{{link}}}]] | |
− | + | </includeonly><noinclude> | |
− | < | + | This template is used to create an image that points to it's article page, rather than it's file description page. |
− | + | ||
− | + | ==Syntax== | |
To use this template, copy this line, and fill in the variables: | To use this template, copy this line, and fill in the variables: | ||
− | <nowiki>{{ | + | <nowiki>{{click|image=|width=|link=}}</nowiki> |
− | + | ==Parameters== | |
− | + | * '''image''': | |
+ | * '''width''': | ||
+ | * '''link''': | ||
− | + | '''''Note''': the '''width''' parameter should end with "px" (e.g. 200px).'' | |
− | + | ||
− | + | ==Example== | |
+ | Filling in all parameters, this template could be used like this: | ||
+ | <nowiki>{{click|image=Twinsen.jpg|width=100px|link=Twinsen}}</nowiki> | ||
+ | |||
+ | :{{click|image=Twinsen.jpg|width=100px|link=Twinsen}} | ||
+ | |||
+ | [[Category:Twinsuniverse - Templates]] | ||
+ | </noinclude> |
Revision as of 18:25, 13 January 2013
This template is used to create an image that points to it's article page, rather than it's file description page.
Syntax
To use this template, copy this line, and fill in the variables:
{{click|image=|width=|link=}}
Parameters
- image:
- width:
- link:
Note: the width parameter should end with "px" (e.g. 200px).
Example
Filling in all parameters, this template could be used like this:
{{click|image=Twinsen.jpg|width=100px|link=Twinsen}}