Template:Infobox: Difference between revisions

From DCRC Wiki
Jump to navigation Jump to search
No edit summary
m (revert downgrades)
Tag: Manual revert
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="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"
{| style="background-color:{{Color|ve1}}; font-size:89%; color:black; width:300px; margin:{{#ifeq: {{{align|right}}} | left | 0em 1em 1em 0em | 0em 0em 1em 1em }}; border:5px solid {{Color|ve3}}; position:relative;" align="{{{align|right}}}" cellspacing="0" class="infobox"
|-
|-
! colspan="2" style="background-color:{{Color|ve2}}; font-size:120%; color:white; padding:1em;" | <!--
! colspan="2" style="background-color:{{Color|ve1}}; 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|ve2}}}}}; text-align:center; padding:1em;" {{!}} [[{{{image}}}|{{{imagewidth|250}}}px]]<br/>{{#if:{{{caption|}}}|{{{caption}}}}}
{{!}} colspan="2" style="background-color:{{Color|ve0}}; 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|ve1}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
{{!}} colspan="2" style="background-color:{{Color|ve0}}; text-align:center; padding:0em;" {{!}} {{{image complex}}}{{#if:{{{caption|}}}|<div style="padding:.3em 1em 1em 1em;">{{{caption}}}</div>}}
}}
}}
}}
}}
Line 278: Line 278:
|}<noinclude><br style="clear:both;"/>
|}<noinclude><br style="clear:both;"/>
<!-- {{documentation}} -->
<!-- {{documentation}} -->
[[Category:Infobox templates| ]]
</noinclude>
</noinclude>

Latest revision as of 00:49, 11 August 2021

No Title