Difference between revisions of "Template:Calendarbox"

From English Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<div class="calendarbox">
 
<div class="calendarbox">
<div class="calendarbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="calendarbox-title">{{{title|{{PAGENAME}}}}}
<div class="calendarbox-image">[[File:{{{image}}}|300px]]</div>}}
+
  </div>
<table style="text-align:right;" >
+
{{#if:{{{image|}}}| <div class="calendarbox-image">[[File:{{{image}}}|300px]]
   {{#if:{{{month|}}} <tr> <th>  {{{month}}} </th> </tr> }}  
+
  </div>}}
{{#if:{{{date|}}}|<tr>
+
<table style="float:right; width: 40em;">
    <td>{{{date}}}</td>
+
   {{#if:{{{month|}}}| <tr> <th>  {{{month}}} </th> </tr>  
</tr>}}{{#if:{{{datex|}}}|<tr>
+
  }}  
    <td>{{{datex}}}</td>
+
{{#if:{{{date|}}}|<tr> <td> {{{date}}}</td> </tr>}}  
</tr>}}{{#if:{{{param4|}}}|<tr>
+
{{#if:{{{datex|}}}|<tr> <td>{{{datex}}}</td> </tr>}}
 +
{{#if:{{{param4|}}}|<tr>
 
     <th>Parameter 4</th>
 
     <th>Parameter 4</th>
 
     <td>{{{param4}}}</td>
 
     <td>{{{param4}}}</td>

Revision as of 06:32, 2 August 2019

Calendarbox