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 1: Line 1:
<includeonly>__NOTOC__
<includeonly>__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
<div style="display:none;">
<div style="display:none;">
  [[Has event date::{{{date|}}}]]
[[Has event date::{{{date|}}}]]
  [[Has event category::{{{category|}}}]]
[[Has event category::{{{category|}}}]]
  [[Has event headline::{{{title|}}}]]
[[Has event headline::{{{title|}}}]]
  [[Has event summary::{{{summary|}}}]]
[[Has event summary::{{{summary|}}}]]
  [[Has gene pool::{{{gene_pool|}}}]]
[[Has gene pool::{{{gene_pool|}}}]]
  [[Has growing region::{{{growing_region|}}}]]
[[Has growing region::{{{growing_region|}}}]]
  [[Has growing area::{{{growing_area|}}}]]
[[Has growing area::{{{growing_area|}}}]]
  [[Has appellation::{{{appellation|}}}]]
[[Has appellation::{{{appellation|}}}]]
  [[Has source URL::{{{source|}}}]]
[[Has source URL::{{{source|}}}]]
  [[Has parent story::{{{parent_story|}}}]]
[[Has parent story::{{{parent_story|}}}]]
  [[Has event status::{{{status|Single-day}}}]]
[[Has event status::{{{status|Single-day}}}]]
</div>
</div>
<div class="news-card news-card--{{lc:{{{category|policy}}}}}">
<div class="news-card news-card--{{lc:{{{category|policy}}}}}">
  <div class="news-card__header">
<div class="news-card__header">
    <div class="news-card__date">{{#time:j F Y|{{{date}}}}}</div>
<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}}}</div>
      {{{category|Policy}}}
    </div>
  </div>
 
  {{#if:{{{region_label|}}}|
    <div class="news-card__region">{{{region_label}}}</div>
  }}
 
<div class="news-card__title">
  [[{{{page|{{FULLPAGENAME}}}}}|{{{title|{{PAGENAME}}}}}]]
</div>
</div>
 
{{#if:{{{region_label|}}}|<div class="news-card__region">{{{region_label}}}</div>}}
 
<div class="news-card__title">[[{{{page|{{FULLPAGENAME}}}}}|{{{title|{{PAGENAME}}}}}]]</div>
  {{#if:{{{summary|}}}|
{{#if:{{{summary|}}}|<div class="news-card__summary">{{{summary}}}</div>}}
    <div class="news-card__summary">{{{summary}}}</div>
{{#if:{{{links|}}}|<div class="news-card__footer"><div class="news-card__links">{{{links}}}</div></div>}}
  }}
 
  {{#if:{{{links|}}}|
    <div class="news-card__footer">
      <div class="news-card__links">{{{links}}}</div>
    </div>
  }}
</div>
</div>
</includeonly>
</includeonly>

Revision as of 04:06, 23 November 2025