Template:Infobox: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| style="{{#if:{{{image|}}}|background-color:#474646;|{{#if:{{{image complex|}}}|background-color:#474646;|background-color:#474646;}} }} font-size:89%; color:black; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid #202020; position:relative;" align="{{{align|right}}}" cellspacing="0"
{| style="{{#if:{{{image|}}}|background-color:#656565;|{{#if:{{{image complex|}}}|background-color:#656565;|background-color:#656565;}} }} font-size:89%; color:black; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid #202020; position:relative;" align="{{{align|right}}}" cellspacing="0"
|-
|-
! colspan="2" style="background-color:#474646; font-size:120%; color:black; padding:1em;" | <!--
! colspan="2" style="background-color:#656565; font-size:120%; color:black; padding:1em;" | <!--
--><div style="position: relative"><!--
--><div style="position: relative"><!--
-->{{#if: {{{icon left|}}}|<div style="position:absolute; left:{{{icon left pos left|-6}}}px; top:{{{icon left pos top|-6}}}px; width:32px; height:32px; text-align:center; line-height:30px;">{{{icon left|[[File:JohnLogo.svg|32px]]}}}</div><!--
-->{{#if: {{{icon left|}}}|<div style="position:absolute; left:{{{icon left pos left|-6}}}px; top:{{{icon left pos top|-6}}}px; width:32px; height:32px; text-align:center; line-height:30px;">{{{icon left|[[File:JohnLogo.svg|32px]]}}}</div><!--
Line 9: Line 9:
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="background-color:{{{bg-color|#474646}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
{{!}} colspan="2" style="background-color:{{{bg-color|#656565}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
|{{#if: {{{image complex|}}}|
|{{#if: {{{image complex|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="background-color:{{{bg-color|#474646}}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
{{!}} colspan="2" style="background-color:{{{bg-color|#656565}}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
}}
}}
}}
}}
Line 170: Line 170:
{{#if: {{{label22|}}}|
{{#if: {{{label22|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center; background:#474646;" {{!}}
{{!}} colspan="2" style="text-align:center; background:#656565;" {{!}}
'''Too many parameters'''
'''Too many parameters'''
{{!}}-
{{!}}-
Line 251: Line 251:
{{#if:{{{Row 13 title|}}}|
{{#if:{{{Row 13 title|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center; background:#474646;" {{!}}
{{!}} colspan="2" style="text-align:center; background:#656565;" {{!}}
'''Too many parameters'''
'''Too many parameters'''
}}
}}

Revision as of 18:45, 8 April 2018

No Title