Difference between revisions of "Template:Icon"

From Idlescape Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
<includeonly><span style="display:inline-block; text-align:center; max-width:{{{size|28}}};">{{#ifeq:{{{2}}}|<!--
+
This template can be deleted if an admin sees it. Was testing a template icon, but it won't work with how the image files are done on this wiki.
Style 3-->3|{{#if:{{{link|{{{3|}}}}}}|<!--
 
Style 3 new link-->[[File:{{{1}}}.png|link={{{link|{{{3|}}}}}}|{{{size|28}}}px]]|<!--
 
Style 3 default link-->[[File:{{{1}}}.png|link={{{1}}}|{{{size|28}}}px]]}}|<!--
 
Style 1&2 stuff--><img src="https://play.idlescape.com/images/foraging/log.png" width="42">|link=|{{{size|28}}}px<!--
 
Style 1--> {{#switch:{{{2|}}}|1= {{#switch:{{{link|{{{3|}}}}}}|<!--
 
Style 1 default link-->1=[[{{{1}}}]]|<!--
 
Style 1 new link-->{{{3}}}=[[{{{3}}}]]|{{{1}}}}}|<!--
 
Style 2-->2=<br><div style="display:inline-block; font-size: .9em; width:{{{size|60px}}};">{{#switch:{{{link|{{{3|}}}}}}|<!--
 
Style 2 default link-->1=[[{{{1}}}]]|<!--
 
Style 2 new link-->{{{3}}}=[[{{{3}}}]]|{{{1}}}}}</div>}}}}</span></includeonly><noinclude>[[Category:Templates]]</noinclude>
 

Latest revision as of 21:56, 17 December 2023

This template can be deleted if an admin sees it. Was testing a template icon, but it won't work with how the image files are done on this wiki.