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:{{Color|ve1}};|{{#if:{{{image complex|}}}|background-color:{{Color|ve1}};|background-color:{{Color|ve1}};}} }} font-size:89%; color:white; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid {{Color|ve4}}; position:relative;" align="{{{align|right}}}" cellspacing="0"
{| style="{{#if:{{{image|}}}|background-color:{{Color|ve2}};|{{#if:{{{image complex|}}}|background-color:{{Color|ve2}};|background-color:{{Color|ve2}};}} }} font-size:89%; color:white; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid {{Color|ve4}}; position:relative;" align="{{{align|right}}}" cellspacing="0"
|-
|-
! colspan="2" style="background-color:{{Color|ve1}}; font-size:120%; color:white; padding:1em;" | <!--
! colspan="2" style="background-color:{{Color|ve2}}; font-size:120%; color:white; 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|{{Color|ve1}}}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
{{!}} colspan="2" style="background-color:{{{bg-color|{{Color|ve2}}}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
|{{#if: {{{image complex|}}}|
|{{#if: {{{image complex|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" style="background-color:{{Color|ve2}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
{{!}} colspan="2" style="background-color:{{Color|ve1}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
}}
}}
}}
}}
Line 270: Line 270:
{{!}}colspan="2" style="padding:0px;"{{!}}
{{!}}colspan="2" style="padding:0px;"{{!}}
{{{!}} class="mw-collapsible mw-collapsed" colspan="2" style="width:100%; padding:0px;" cellspacing="0"
{{{!}} class="mw-collapsible mw-collapsed" colspan="2" style="width:100%; padding:0px;" cellspacing="0"
! colspan="2" style="text-align: center; background: {{Color|ve2}}; height: 8pt;" {{!}} {{{footer title|}}}
! colspan="2" style="text-align: center; background: {{Color|ve1}}; height: 8pt;" {{!}} {{{footer title|}}}
{{!}}- colspan="2"
{{!}}- colspan="2"
{{!}} style="padding:0.2em 0.5em 0.0em; max-width:250px; white-space:nowrap; overflow:auto;" {{!}} {{{footer content}}}
{{!}} style="padding:0.2em 0.5em 0.0em; max-width:250px; white-space:nowrap; overflow:auto;" {{!}} {{{footer content}}}

Revision as of 20:51, 9 January 2019

No Title