Template:NewsItem: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
[[Has event status::{{{status|Single-day}}}]] | [[Has event status::{{{status|Single-day}}}]] | ||
</span> | </span> | ||
<!-- Rendered block --> | <!-- Rendered block --> | ||
< | <article class="news-item news-{{lc:{{{category|policy}}}}}"> | ||
<div class=" | <header class="news-header"> | ||
<div class="news-meta"> | |||
<time class="news-date">{{{date}}}</time> | |||
<span class="news-category">{{{category|Policy}}}</span> | |||
{{#if:{{{region_label|}}}|<span class="news-region">{{{region_label}}}</span>}} | |||
</div> | |||
<h3 class="news-title">{{{title}}}</h3> | |||
{{#if:{{{summary|}}}| | </header> | ||
{{#if:{{{summary|}}}|<div class="news-summary">{{{summary}}}</div>}} | |||
{{#if:{{{links|}}}|<footer class="news-footer">{{{links}}}</footer>}} | |||
</article> | |||
{{#if:{{{links|}}}| | |||
</ | |||
</includeonly> | </includeonly> | ||