Difference between revisions of "Template:Calendarbox"

From English Wiki
Jump to navigation Jump to search
m
m
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="calendarbox">
+
{| class="calendarbox" style="width: 33%; float:right;"
<div class="calendarbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
class="calendarbox-title" | {{#if:{{{title| }}} | {{{title}}} | {{PAGENAME}} }} 
<div class="calendarbox-image">[[File:{{{image}}}|300px]]</div>}}
+
|-
<table>{{#if:{{{month|}}}|<tr>
+
| {{#if:{{{month}}} | <td class="calendarbox-month">  {{{month}}} </td>   }}
    <th> {{{month}}} </th>
+
|-
    /* <td>{{{month}}}</td> */
+
| {{#if:{{{date}}} | <td class="calendarbox-date"> {{{date}}} </td>   }}  
</tr>}}
+
|-
{{#if:{{{date|}}}|<tr>
+
| {{#if:{{{nodate}}}| <td style="font-size: .8em;" > {{{nodate}}}</td>    }}
    <td>{{{date}}}</td>
+
|}
</tr>}}{{#if:{{{datex|}}}|<tr>
+
 
    <td>{{{datex}}}</td>
+
<noinclude>
</tr>}}{{#if:{{{param4|}}}|<tr>
+
<div class="calendarbox" style="float:right; width:30%;">
    <th>Parameter 4</th>
+
<div class="calendarbox-title">{{#if:{{{title|}}}} | {{{title}}} | {{PAGENAME}} }}
    <td>{{{param4}}}</td>
+
  </div>
</tr>}}{{#if:{{{param5|}}}|<tr>
+
{{#if:{{{image|}}}| <div class="calendarbox-image">[[File:{{{image}}}|300px]]  </div> }}
 +
<table>
 +
{{#if:{{{month|}}}| <tr> <th> {{{month}}} </th> </tr>  
 +
  }}  
 +
{{#if:{{{date|}}}|<tr><td> {{{date}}} </td></tr>
 +
  }}  
 +
{{#if:{{{datex|}}}| <tr><td>{{{datex}}}</td></tr>  
 +
  }}
 +
{{#if:{{{param5|}}}|<tr>
 
     <th>Parameter 5</th>
 
     <th>Parameter 5</th>
 
     <td>{{{param5}}}</td>
 
     <td>{{{param5}}}</td>
</tr>}}</table>
+
</tr>}}  
 +
</table>  
 
</div>
 
</div>
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 03:26, 5 August 2019

Calendarbox
{{{month}}}
{{{date}}}
{{{nodate}}}


{{{title}}}