Jump to content

Template:Annotated image 4 and Template:Annotated image 4/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m Use normal if function
 
Use normal if function
 
Line 1: Line 1:
<includeonly><!--The table wrapper below allows AI4-templated images to be viewed in mobile browsers-->
<includeonly><!--The table wrapper below allows AI4-templated images to be viewed in mobile browsers-->
{| role="presentation" cellpadding="0" style="border-spacing:0; {{#switch: {{{align|}}} | none = | left = clear:left; float:left; | center | centre = margin-left: auto; margin-right: auto; border: none; | right | #default = clear:right; float:right; }}"
{| role="presentation" cellpadding="0" style="border-spacing:0; {{#switch: {{{align|}}} | left = clear:left; float:left; | center | centre = margin-left: auto; margin-right: auto; border: none; | right | #default = clear:right; float:right; }}"
|-<!--Annotated image 4 template code starts below here-->
|-<!--Annotated image 4 template code starts below here-->
|<div class="thumb {{#switch: {{{align|}}} | none=tnone | left = tleft | center | centre = center | right | #default = tright}}" {{#switch: {{{align|}}}|centre|center=style="margin: 1em auto;|margin-top:0px; margin-bottom:0px;"}}>
|<div class="thumb {{#switch: {{{align|}}} | left = tleft" | center | centre = center | right | #default = tright}}" {{#switch: {{{align|}}}|centre|center=style="margin: 1em auto;|margin-top:0px; margin-bottom:0px;"}}>
<div class="thumbinner" style="width:{{#expr:{{{width|300}}}+2}}px;{{#if:{{{frameless|}}}|border:0px;background-color:#fff}} ">
<div class="thumbinner" style="width:{{#expr:{{{width|300}}}+2}}px;{{#if:{{{frameless|}}}|border:0px;background-color:#fff}} ">
{{#if:{{{header|}}}|
{{#if:{{{header|}}}|