Template:Click
Template:Click is used to allow images to be "clicked" that will link to some other page than the image page. This is an improvement over Template:Clickpic and is intended to replace that template where clickable images are used.
Parameters
- image - REQUIRED: The source of the image to be displayed.
- align - OPTIONAL: Either "left", "right", or "centre". Using this parameter seems to resolve the line break bug.
- thumb - OPTIONAL: Either "yes" or "no".
- Using this parameter forces the image to be displayed as a thumbnail, with the alternate text appearing at the bottom.
- The "Enlarge" button at the bottom takes the user to the image page.
- none - OPTIONAL: Either "yes" or "no".
- size - OPTIONAL: The size of the image, in pixels (i.e. size=100px). If left blank, the image remains in default size.
- link - OPTIONAL: The page location (including alternate descriptions) for where the image will link to when clicked. If left blank, the image links to RuneScape Wiki.
- title - OPTIONAL: The alternate text field that displays on mouseover, and at the bottom of the image when thumb=yes is used. If left blank, nothing appears during mouseover.
Examples
Left-aligned
{{Click |image=Wom plotting.jpg |size=200px |link=Wise Old Man |title=Sometimes you just have a rough day. }}
Right-aligned thumbnail
{{Click |image=Wom plotting.jpg |thumb=yes |link=Wise Old Man |title=Sometimes you just have a rough day. }}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam posuere. Maecenas quam nunc, consectetur eget, euismod ornare, imperdiet id, diam. Donec dapibus, lacus eget accumsan consectetur, neque elit posuere nulla, et bibendum lectus lectus quis tortor. Quisque accumsan venenatis sapien. Integer est arcu, elementum vel, molestie quis, euismod at, felis. Sed arcu lacus, tempor at, placerat tempor, vehicula sit amet, massa. Quisque at purus. Morbi pharetra consequat justo. Donec sollicitudin nunc ut urna. Aenean suscipit odio id arcu. Phasellus eu eros. Quisque justo. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum tortor. Praesent massa dolor, mollis vitae, interdum vel, porta sit amet, eros. Ut tempor. Phasellus at turpis. Quisque a erat. Nam interdum erat at nisl.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi euismod, purus vel ullamcorper ultricies, magna purus commodo mauris, a condimentum orci nulla ut purus. Sed eget ipsum ut odio tristique scelerisque. Donec facilisis. Morbi vel nisl. Integer ac eros. Mauris sagittis lorem ut risus. Duis ipsum. Maecenas ac orci. Vestibulum venenatis. Quisque lacus arcu, tempor eu, pulvinar non, vehicula et, turpis. Integer pharetra.
Centre-aligned
{{Click |image=Wom plotting.jpg |align=center |link=Wise Old Man |title=Sometimes you just have a rough day. }}