Template:Small Image Link: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Small Image Link" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}}|25px|frameless|link={{{2}}}]][[{{{2}}}]]</includeonly><noinclude>
<includeonly>[[File:{{#ifeq:{{{1|}}}||<!--TRUE-->No.png|<!--FALSE-->{{{1}}}}}|25px|frameless|link={{{2}}}]]&nbsp;[[{{{2}}}]]</includeonly><noinclude>
==Example==
==Example==
{{Small_Image_Link|StoneCube.png|Stone Cube}}
{{Small_Image_Link|StoneCube.png|Stone Cube}}


==Usage==
==Usage==
The Small Image Link template is meant to be used when adding items to a table that have images.
The Small Image Link template is meant to be used when adding items to a table that have images or to add image links to things like {{Small_Image_Link|StoneCube.png|Stone Cube}}s inline with text.  
<pre>{{Small_Image_Link|<imagename>|<link>}}</pre>
<pre>{{Small_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.

Latest revision as of 12:50, 12 April 2018

Example

 Stone Cube

Usage

The Small Image Link template is meant to be used when adding items to a table that have images or to add image links to things like  Stone Cubes inline with text.

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

Example Source

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