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 10: Line 10:
[[Has event status::{{{status|Single-day}}}]]
[[Has event status::{{{status|Single-day}}}]]
</div><templatestyles src="Template:NewsItem/styles.css" />
</div><templatestyles src="Template:NewsItem/styles.css" />
<article class="news-card news-card--{{lc:{{{category|policy}}}}}">
<div class="news-card news-card--{{lc:{{{category|policy}}}}}">
   <header class="news-card__header">
   <div class="news-card__header">
     <time class="news-card__date">{{#time:j F Y|{{{date}}}}}</time>
     <div class="news-card__date">{{#time:j F Y|{{{date}}}}}</div>
     <div class="news-card__category-badge news-card__category-badge--{{lc:{{{category|policy}}}}}}">
     <div class="news-card__category-badge news-card__category-badge--{{lc:{{{category|policy}}}}}}">
       {{{category|Policy}}}
       {{{category|Policy}}}
     </div>
     </div>
   </header>
   </div>
    
    
   {{#if:{{{region_label|}}}|<div class="news-card__region">{{{region_label}}}</div>}}
   {{#if:{{{region_label|}}}|<div class="news-card__region">{{{region_label}}}</div>}}
    
    
   <h1 class="news-card__title">{{{title}}}</h1>
   <div class="news-card__title">{{{title}}}</div>
    
    
   {{#if:{{{summary|}}}|
   {{#if:{{{summary|}}}|
Line 26: Line 26:
   }}
   }}
    
    
   <footer class="news-card__footer">
   <div class="news-card__footer">
     {{#if:{{{links|}}}|<div class="news-card__links">{{{links}}}</div>}}
     {{#if:{{{links|}}}|<div class="news-card__links">{{{links}}}</div>}}
   </footer>
   </div>
</article>
</div>
</includeonly>
</includeonly>
<noinclude>
{{Documentation}}
[[Category:News Templates]]
</noinclude>

Revision as of 02:04, 23 November 2025