Difference between revisions of "Template:BigIMG"

From HomepointXI Wiki
Jump to: navigation, search
(Created page with "<noinclude> Test <!-- This isn't going to work for Internet Explorer users. They should get a REAL browser.--> </noinclude> <includeonly><div class="thumb {{#switch:{{{5}}}...")
 
(Got it now.)
 
(6 intermediate revisions by the same user not shown)
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>{{BigIMG|fileNameHere|descriptionHere}}</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]]
 
</noinclude>
 
</noinclude>
  
 
+
<includeonly>
<includeonly><div class="thumb {{#switch:{{{5}}}
+
<div>[[Image:{{{1}}}|alt={{{2}}}]]</div>
|left= tleft" style="
+
</includeonly>
|right= tright" style="
 
|none= tnone" style="
 
|#default=tnone" style="margin-left: auto; margin-right:auto;
 
}} width:{{{4|99%}}}; max-width:{{#expr:{{str sub|{{{2}}}|0|{{#expr:{{str find|{{{2}}}|px}} -1}}}} + 8}}px;">
 
<div class="thumbinner" style="{{yesno|{{{border|}}}|no=border-width:0; background:transparent;|blank=}}"><div class="overflowbugx" style="overflow:auto;{{#ifeq:{{{dir|}}}|rtl|direction:rtl;}}">[[File:{{{1}}}|{{{2}}}|alt={{{alt|}}}|{{#invoke:Unstrip|unstrip|{{#switch:{{{3}}}
 
|thumb
 
|thumbnail
 
|frame
 
|border={{{1}}}
 
|#default={{{3|}}}}}}}]]</div>{{ #if: {{{3|}}}|<div class="thumbcaption" {{#if:{{{align-cap|}}}|style="text-align:{{{align-cap}}}"}}><div class="magnify">[[:File:{{{1}}}| ]]</div>{{{3}}}</div>|}}
 
</div></div></includeonly>
 

Latest revision as of 09:12, 16 November 2015

Usage :
{{BigIMG|fileNameHere|descriptionHere}}

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.