Difference between revisions of "Template:BigIMG"

From HomepointXI Wiki
Jump to: navigation, search
(Try try again (seeing if I can inline CSS a wiki template))
(..Think I got it this time.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Test
+
Usage : <br>
<!-- This isn't going to work for Internet Explorer users. They should get a REAL browser.-->
+
<code><nowiki>[[Image:fileName|alt=text description]]</nowiki></code>
 +
<br><br>
 +
''Just FYI, this probably isn't going to work for Internet Explorer users. They should get a browser that doesn't butcher standards and isn't discontinued.''
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>
  
 
<includeonly>
 
<includeonly>
img { max-width: {{{width}}}%; height: auto; width: auto\9; /* ie8 */ }
+
<div>[[Image:{{{1}}}|alt={{{2}}}]]</div>
<div>[[Image:{{{ImageFile}}}]]</div>
 
 
</includeonly>
 
</includeonly>

Revision as of 09:06, 16 November 2015

Usage :
[[Image:fileName|alt=text description]]

Just FYI, this probably isn't going to work for Internet Explorer users. They should get a browser that doesn't butcher standards and isn't discontinued.