Toggle menu
17
24
14
1.7K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:NewsItem: Difference between revisions

Template page
No edit summary
No edit summary
Line 9: Line 9:
[[Has parent story::{{{parent_story|}}}]]
[[Has parent story::{{{parent_story|}}}]]
[[Has event status::{{{status|Single-day}}}]]
[[Has event status::{{{status|Single-day}}}]]
</div>
</div><templatestyles src="Template:NewsItem/styles.css" />
<div class="event-item event-{{lc:{{{category|policy}}}}}">
<article class="news-card news-card--{{lc:{{{category|policy}}}}}">
<div class="event-meta">
  <header class="news-card__header">
<span class="event-tag tag-{{lc:{{{category|policy}}}}}">{{{category|Policy}}}</span>
    <time class="news-card__date">{{#time:j F Y|{{{date}}}}}</time>
{{#if:{{{region_label|}}}|<span class="event-region">{{{region_label}}}</span>}}
    <div class="news-card__category-badge news-card__category-badge--{{lc:{{{category|policy}}}}}}">
</div>
      {{{category|Policy}}}
<div class="event-title">{{{title}}}</div>
    </div>
{{#if:{{{summary|}}}|<div class="event-body">{{{summary}}}</div>}}
  </header>
{{#if:{{{links|}}}|<div class="event-links">{{{links}}}</div>}}
 
</div>
  {{#if:{{{region_label|}}}|<div class="news-card__region">{{{region_label}}}</div>}}
 
  <h1 class="news-card__title">{{{title}}}</h1>
 
  {{#if:{{{summary|}}}|
  <div class="news-card__summary">{{{summary}}}</div>
  }}
 
  <footer class="news-card__footer">
    {{#if:{{{links|}}}|<div class="news-card__links">{{{links}}}</div>}}
  </footer>
</article>
</includeonly>
</includeonly>
<noinclude>
{{Documentation}}
[[Category:News Templates]]
</noinclude>

Revision as of 02:01, 23 November 2025