Template:Infobox: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
(Created page with "{| style="color:{{color}}; {{#if:{{{image|}}}|background-color:{{color}};|{{#if:{{{image complex|}}}|background-color:{{color}};|background-color:{{color}} }} font-size:89%; w...")
 
No edit summary
Line 1: Line 1:
{| style="color:{{color}}; {{#if:{{{image|}}}|background-color:{{color}};|{{#if:{{{image complex|}}}|background-color:{{color}};|background-color:{{color}} }} font-size:89%; width:{{{width|300}}}px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid {{color}}; position:relative;" align="{{{align|right}}}" cellspacing="0"
{| style="{{#if:{{{image|}}}|background-color:#EEEEEE;|{{#if:{{{image complex|}}}|background-color:#EEEEEE;|background-color:#FFFFFF;}} }} font-size:89%; color:black; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid #C6C6C6; position:relative;" align="{{{align|right}}}" cellspacing="0"
|-
|-
! colspan="2" style="background-color:{{color}}; font-size:120%; padding:1em;" | <!--
! colspan="2" style="background-color:#EEEEEE; 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|{{color}}}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
{{!}} colspan="2" style="background-color:{{{bg-color|#FFFFFF}}}; 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|{{color}}}}}; 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|#FFFFFF}}}; 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="collapsible collapsed" colspan="2" style="width:100%; padding:0px;" cellspacing="0"
{{{!}} class="collapsible collapsed" colspan="2" style="width:100%; padding:0px;" cellspacing="0"
! colspan="2" style="text-align: center; background: {{color}}; height: 8pt;" {{!}} {{{footer title|}}}
! colspan="2" style="text-align: center; background: {{color|5}}; height: 8pt;" {{!}} {{{footer title|}}}
{{!}}- colspan="2"
{{!}}- colspan="2"
{{!}} style="padding:0.0em 0.0em 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}}}
{{!}}}
{{!}}}
}}
}}
|-
|-
|}<noinclude>{{-}}{{documentation}}[[Category:Infobox templates]]</noinclude>
|}<noinclude><br style="clear:both;"/>
<!-- {{documentation}} -->
</noinclude>

Revision as of 23:53, 7 April 2018

No Title