Template:NewsItemRender: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Created page with "<includeonly> <div class="day-card" id="{{{Date}}}"> <div class="day-header"> <div class="day-date">{{{Date}}}</div> <div class="day-count">{{{count}}} events</div> </div> <div class="day-events"> {{{info}}} </div> </div> </includeonly>" |
Eloise Zomia (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="day-card" id="{{ | {{#vardefine:date|{{{Date|{{{1|}}}}}}}} | ||
{{#vardefine:count|{{{count|{{{2|}}}}}}}} | |||
{{#vardefine:info|{{{info|{{{3|}}}}}}}} | |||
<div class="day-card" id="{{#var:date}}"> | |||
<div class="day-header"> | <div class="day-header"> | ||
<div class="day-date">{{ | <div class="day-date">{{#var:date}}</div> | ||
<div class="day-count">{{ | {{#if:{{#var:count}}|<div class="day-count">{{#var:count}} events</div>|}} | ||
</div> | </div> | ||
<div class="day-events"> | <div class="day-events"> | ||
{{ | {{#var:info}} | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||