Difference between revisions of "Template:ItemIcon"

From TFC:TNG
Jump to navigation Jump to search
(Finished new Image template!)
(Update variables.)
Line 1: Line 1:
[[File:{{{1|}}}.png|32px|{{{1|}}}.png|link={{{2|}}}]]<noinclude>
+
[[File:{{{filename|}}}.png|32px|{{{filename|}}}.png|link={{{pagelink|}}}]]<noinclude>
 
This template is mainly used for embedded images of items and blocks. Only use this with 160px images when embedding into content.  
 
This template is mainly used for embedded images of items and blocks. Only use this with 160px images when embedding into content.  
  
DO NOT REMOVE THE SECOND <code><nowiki>{{{1|}}}.png</nowiki></code> as it is required for the link text to be correct if the file is missing!
+
DO NOT REMOVE THE SECOND <code><nowiki>{{{filename|}}}.png</nowiki></code> as it is required for the link text to be correct if the file is missing!
 
</noinclude>
 
</noinclude>

Revision as of 05:38, 12 June 2020

.png This template is mainly used for embedded images of items and blocks. Only use this with 160px images when embedding into content.

DO NOT REMOVE THE SECOND {{{filename|}}}.png as it is required for the link text to be correct if the file is missing!