Difference between revisions of "Template:SideInfoBox Object"

From TFC:TNG
Jump to navigation Jump to search
(idk why that div won't show on the inv images...)
(Too much padding.)
Line 4: Line 4:
 
  #if: {{{largeimage1|}}} |<div style="padding-top: 1em; padding-bottom: 1em"> <slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> </div> |{{BlockImage|No_block_image.png}} }} {{
 
  #if: {{{largeimage1|}}} |<div style="padding-top: 1em; padding-bottom: 1em"> <slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> </div> |{{BlockImage|No_block_image.png}} }} {{
  
#if: {{{largeimage2|}}} | <div style="padding-top: 1em; padding-bottom: 1em">{{
+
#if: {{{largeimage2|}}} | <div style="padding-bottom: 1em">{{
 
  #if: {{{largeimage2|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage2}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
  #if: {{{largeimage2|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage2}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
}}{{
 
}}{{
#if: {{{largeimage3|}}} | <div style="padding-top: 1em; padding-bottom: 1em">{{
+
#if: {{{largeimage3|}}} | <div style="padding-bottom: 1em">{{
 
  #if: {{{largeimage3|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage3}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
  #if: {{{largeimage3|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage3}}} </slideshow> |{{BlockImage|No_block_image.png}} }} </div>
 
}}{{
 
}}{{
#if: {{{invimage1|}}} | <div style="padding-top: 1em; margin: auto"> {{Grid|{{{invimage1}}} }}
+
  #if: {{{invimage1|}}} | {{Grid|{{{invimage1}}} }}
}}{{
+
  }}{{
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   }}{{
 
   }}{{
Line 69: Line 69:
 
   }}{{
 
   }}{{
 
   #if: {{{invimage30|}}} | {{Grid|{{{invimage30}}}|link=none}}
 
   #if: {{{invimage30|}}} | {{Grid|{{{invimage30}}}|link=none}}
   }}{{#if: {{{invimage1|}}} | </div>}}
+
   }}
 
| rows =
 
| rows =
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}
 
{{infobox row|label=Stacksize|field={{ #if: {{{stacksize|}}} | {{{stacksize}}} | No }} }}

Revision as of 04:12, 31 January 2020