Template:Image Link: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Page creation)
 
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:{{{1}}}|50px|frameless|link={{{2}}}]][[{{{2}}}]]<noinclude>
<includeonly>[[File:{{#ifeq:{{{1|}}}||<!--TRUE-->No.png|<!--FALSE-->{{{1}}}}}|50px|frameless|link={{{2}}}]]&nbsp;[[{{{2}}}]]</includeonly><noinclude>  
==Example==
{{Image_Link|StoneCube.png|Stone Cube}}


==Usage==
==Usage==
The Image Link template is meant to be used when adding items to a list that have images.
The Image Link template is meant to be used when adding items to a list that have images.
<pre>{{image_link|<imagename>|link}}</pre>
<pre>{{Image_Link|<imagename>|<link>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
[[Category:Templates]]</noinclude>
 
==Example Source==
<pre>{{Image_Link|StoneCube.png|Stone Cube}}</pre>
[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 10:31, 10 May 2018

Example

StoneCube.png Stone Cube

Usage

The Image Link template is meant to be used when adding items to a list that have images.

{{Image_Link|<imagename>|<link>}}
  • The code above can be pasted into your page and edited.

Example Source

{{Image_Link|StoneCube.png|Stone Cube}}