Template:NavboxIconLink: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
m (Protected "Template:NavboxIconLink": Template is used in Navboxes which are vital for the wiki ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="navbox-icon" style="display:inline-block; line-height: initial; margin:0px; position:relative; padding:1px 0 0 1px; width:18px; height:18px;">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png{{!}}16px{{!}}link={{#if: {{{3|}}} |{{{3}}}|{{{1}}}{{If language suffix}}}}]] | [[File:Placeholder icon.png{{!}}16px{{{!}}}link=]] <div style="display:none;">[[File:{{{1}}}.png{{!}}16px]]</div>}}<div style="position:absolute; bottom: 0; right: 3px; color:#fff; font-size:larger; font-weight: bold; text-shadow: 0px 1px 1px #000, 0px -1px 1px #000, 1px 0px 1px #000,-1px 0px 1px #000;">{{{3|}}}</div></div> {{TransLink|{{{1|}}}|{{{2|}}}}}
<span class="navbox-icon">{{#ifexist: File:{{ConvertName|{{{1}}}}}.png | [[File:{{ConvertName|{{{1}}}}}.png|16px|link={{{1|}}}{{If language suffix}}]] }}<span class="navbox-icon-text">{{{3|}}}</span></span> {{TransLink|{{{1|}}}|{{{2|{{{1}}}}}}}}

Latest revision as of 10:13, 18 April 2017

[[|{{{1}}}]]