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...)
Line 2: Line 2:
 
|title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
|title = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
 
|imagearea= {{
 
|imagearea= {{
  #if: {{{largeimage1|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> |{{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">{{
+
#if: {{{largeimage2|}}} | <div style="padding-top: 1em; 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">{{
+
#if: {{{largeimage3|}}} | <div style="padding-top: 1em; 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: 0 auto"> {{Grid|{{{invimage1}}} }}
+
#if: {{{invimage1|}}} | <div style="padding-top: 1em; margin: auto"> {{Grid|{{{invimage1}}} }}
 
}}{{
 
}}{{
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}

Revision as of 04:10, 31 January 2020