Template:Image Link Time: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:Image Link Time" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
Line 1: Line 1:
<includeonly>[[File:{{{1|No.png}}}|50px|frameless|link={{{2}}}]] [[{{{2}}}]]{{#if:{{{3|}}}|&nbsp; {{{3}}}&nbsp;second(s)}}</includeonly><noinclude>
<includeonly>[[File:{{{1|No.png<includeonly>[[Category:Missing_images]]<includeonly>}}}|50px|frameless|link={{{2}}}]] [[{{{2}}}]]{{#if:{{{3|}}}|&nbsp; {{{3}}}&nbsp;second(s)}}</includeonly><noinclude>
==Example==
==Example==
{{Image_Link_Time|ClayFurnace.png|Furnace|1}}
{{Image_Link_Time|ClayFurnace.png|Furnace|1}}


==Usage==
==Usage==
The Image Link template is meant to be used when adding items to a list that have numbers and images.
The Image Link template is meant to be used when adding items to a list that have numbers and times in seconds. The most common use is for blocks used in the [[Template:Fuel|Fuel template]].
<pre>{{Image_Link_Time|<imagename>|<link>|<seconds>}}</pre>
<pre>{{Image_Link_Time|<imagename>|<link>|<seconds>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
 
*Imagename can be left blank and a default missing image value will be displayed.
*Seconds can be left blank and it will not display.
==Example Source==
==Example Source==
<pre>{{Image_Link_Time|ClayFurnace.png|Furnace|1}}</pre>
<pre>{{Image_Link_Time|ClayFurnace.png|Furnace|1}}</pre>
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Revision as of 21:46, 15 August 2017

Example

ClayFurnace.png Furnace  1 second(s)

Usage

The Image Link template is meant to be used when adding items to a list that have numbers and times in seconds. The most common use is for blocks used in the Fuel template.

{{Image_Link_Time|<imagename>|<link>|<seconds>}}
  • The code above can be pasted into your page and edited.
  • Imagename can be left blank and a default missing image value will be displayed.
  • Seconds can be left blank and it will not display.

Example Source

{{Image_Link_Time|ClayFurnace.png|Furnace|1}}