Difference between revisions of "Template:SideInfoBox Object"

From TFC:TNG
Jump to navigation Jump to search
(plz add the dang div...)
(Cleanup trying to get this working...)
Line 1: Line 1:
 
<includeonly>{{infobox common
 
<includeonly>{{infobox common
 
|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|}}} |<slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage1}}} </slideshow> |{{BlockImage|No_block_image.png}} }} {{
 
 
 
#if: {{{largeimage2|}}} | <div style="padding-top: 1em">{{
 
#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: {{{largeimage2|}}} | <div style="padding-top: 1em"><slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage2}}} </slideshow> </div>|{{BlockImage|No_block_image.png}}
#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: {{{largeimage3|}}} | <div style="padding-top: 1em"><slideshow id="blockinfocenter" center="true" sequence="forward" transition="cut" refresh="2000"> {{{largeimage3}}} </slideshow> </div>|{{BlockImage|No_block_image.png}}
 +
}}{{
 +
#if: {{{invimage1|}}} | <div style="padding-top: 1em; margin: 0 auto">{{Grid|{{{invimage1}}} }}
 
}}{{
 
}}{{
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}
 
   #if: {{{invimage2|}}} | {{Grid|{{{invimage2}}}|link=none}}

Revision as of 02:27, 31 January 2020