Template:Image Link: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>[[File:{{{1|No.png}}}|50px|frameless|link={{{2}}}]][[{{{2}}}]]</includeonly><noinclude>
<includeonly>[[File:{{#ifeq:{{{1|}}}||<!--TRUE-->No.png|<!--FALSE-->{{{1}}}}}|50px|frameless|link={{{2}}}]][[{{{2}}}]]</includeonly><noinclude>  
==Example==
==Example==
{{Image_Link|StoneCube.png|Stone Cube}}
{{Image_Link|StoneCube.png|Stone Cube}}

Revision as of 16:30, 3 February 2018

Example

StoneCube.pngStone 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}}