Template:NewsItem: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly | <includeonly> | ||
<!-- Semantic annotations -- | <!-- Semantic annotations (hidden) --> | ||
[[Has event date::{{{date|}}}]] | [[Has event date::{{{date|}}}]] | ||
[[Has event category::{{{category|}}}]] | [[Has event category::{{{category|}}}]] | ||
| Line 11: | Line 10: | ||
[[Has parent story::{{{parent_story|}}}]] | [[Has parent story::{{{parent_story|}}}]] | ||
[[Has event status::{{{status|Single-day}}}]] | [[Has event status::{{{status|Single-day}}}]] | ||
< | <div class="event-item event-{{lc:{{{category|policy}}}}}"> | ||
<div class="event-meta"> | <div class="event-meta"> | ||
<span class="event-tag tag-{{lc:{{{category|policy}}}}}">{{{category|Policy}}}</span> | <span class="event-tag tag-{{lc:{{{category|policy}}}}}">{{{category|Policy}}}</span> | ||
{{#if:{{{region_label|}}}|<span class="event-region">{{{region_label}}}</span>}} | {{#if:{{{region_label|}}}|<span class="event-region">{{{region_label}}}</span>}} | ||
</div> | </div> | ||
< | <div class="event-title">{{{title}}}</div> | ||
{{#if:{{{summary|}}}|<div class="event-body">{{{summary}}}</div>}} | {{#if:{{{summary|}}}|<div class="event-body">{{{summary}}}</div>}} | ||
{{#if:{{{links|}}}|<div class="event-links">{{{links}}}</div>}} | {{#if:{{{links|}}}|<div class="event-links">{{{links}}}</div>}} | ||
</ | </div> | ||
</includeonly> | </includeonly> | ||