Template:Image Link Time: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) (Created page with "<includeonly>[[File:{{{1|No.png}}}|50px|frameless|link={{{2}}}]] [[{{{2}}}]]{{#if:{{{3|}}}| [[{{{2}}}|{{{3}}}]] second(s)}}</includeonly><noinclude> ==Example== {{I...") |
CptTwinkie (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1|No.png}}}|50px|frameless|link={{{2}}}]] [[{{{2}}}]]{{#if:{{{3|}}}| | <includeonly>[[File:{{{1|No.png<includeonly>[[Category:Missing_images]]<includeonly>}}}|50px|frameless|link={{{2}}}]] [[{{{2}}}]]{{#if:{{{3|}}}| [{{{3}}} second(s)]}}</includeonly><noinclude> | ||
==Example== | ==Example== | ||
{{Image_Link_Time| | {{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 | 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| | <pre>{{Image_Link_Time|ClayFurnace.png|Furnace|1}}</pre> | ||
[[Category:Templates/Formatting]]</noinclude> | [[Category:Templates/Formatting]]</noinclude> |
Latest revision as of 18:56, 17 September 2018
Example
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}}