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
Tag: Reverted
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{NewsItemCard
<includeonly>__NOTOC__ __NOEDITSECTION__
|Has event date={{{Has event date|}}}
<div style="display:none;">
|Has event type={{{Has event type|}}}
[[Has event date::{{{date|}}}]]
|Has growing region={{{Has growing region|}}}
[[Has event category::{{{category|}}}]]
|Has country={{{Has country|}}}
[[Has event headline::{{{title|}}}]]
|Has source URL={{{Has source URL|}}}
[[Has event summary::{{{summary|}}}]]
|Has event summary={{{Has event summary|}}}
[[Has gene pool::{{{gene_pool|}}}]]
  |Has event headline={{{Has event headline|}}}
[[Has growing region::{{{growing_region|}}}]]
[[Has growing area::{{{growing_area|}}}]]
[[Has appellation::{{{appellation|}}}]]
[[Has source URL::{{{source|}}}]]
[[Has parent story::{{{parent_story|}}}]]
[[Has event status::{{{status|Single-day}}}]]
</div>
<div class="news-card news-card--{{lc:{{{category|policy}}}}} {{#ifeq:{{{summary|}}}||news-card--compact|}} {{#ifeq:{{{links|}}}||news-card--compact|}}">
<div class="news-card__header">
<div class="news-card__date">{{#time:j F Y|{{{date}}}}}</div>
<div class="news-card__category-badge news-card__category-badge--{{lc:{{{category|policy}}}}}}">{{{category|Policy}}}</div>
</div>
{{#if:{{{region_label|}}}|<div class="news-card__region">{{{region_label}}}</div>}}
<h3 class="news-card__title">
{{#if:{{{parent_story|}}}
|[[{{{parent_story}}}|{{{title|{{PAGENAME}}}}}]]
  |{{#if:{{{page|}}}
  |{{{page}}}|{{{title|{{PAGENAME}}}}}
  |{{{title|{{PAGENAME}}}}}
  }}
}}
}}
</h3>
{{#if:{{{summary|}}}|<div class="news-card__summary">{{{summary}}}</div>}}
{{#if:{{{links|}}}|<div class="news-card__footer"><div class="news-card__links">{{{links}}}</div></div>}}
</div>
</includeonly>

Latest revision as of 08:24, 23 November 2025