Template:ImageOnly
From Huben's Wiki
(Created page with "<includeonly>{| [[File:{{{n}}}.jpg|{{{n}}}|{{{s}}}px|link={{{n}}}]] |}<includeonly>") |
|||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>[[File:{{{n}}}.jpg|{{{n}}}|{{{s|240}}}px|link={{{l|{{{n}}}}}}]]</includeonly> |
− | [[File:{{{n}}}.jpg|{{{n}}}|{{{s}}}px|link={{{n}}}]] | + | <noinclude>== Usage == |
− | |}< | + | <code><nowiki>{{ImageOnly|n=Name|s=SizeInPixels}}</nowiki></code> |
+ | |||
+ | A simple template for displaying an image in any size, linked to the page of the same name. | ||
+ | |||
+ | If s is omitted, the thumbnail size (240px) is used. | ||
+ | |||
+ | If l is omitted, n is used for the link. | ||
+ | </noinclude> |