Template:Image Number Link: Difference between revisions

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


==Usage==
==Usage==
Line 5: Line 7:
<pre>{{Image_Number_Link|<imagename>|<number>|<link>}}</pre>
<pre>{{Image_Number_Link|<imagename>|<number>|<link>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
==Example Source==
<pre>{{Image_Number_Link|StoneCube.png|10|Stone Cube}}</pre>
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 19:01, 30 January 2018

Example

StoneCube.png 10  Stone Cube

Usage

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

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

Example Source

{{Image_Number_Link|StoneCube.png|10|Stone Cube}}