Template:NewsItem: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Undo revision 2522 by Eloise Zomia (talk) Tags: Undo Reverted |
Eloise Zomia (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{NewsItem template content here - whatever displays the card}} | ||
<div | [[Category:News Item]] | ||
<div style="display:none;"> | |||
[[Has event date::{{{date|}}}]] | |||
[[Has event category::{{{category|}}}]] | |||
[[Has event headline::{{{title|}}}]] | |||
[[Has event summary::{{{summary|}}}]] | |||
[[Has source URL::{{{source|}}}]] | |||
{{#if:{{{ | {{#if:{{{part_of_campaign|}}}|[[Has part of campaign::{{{part_of_campaign|}}}]]}} | ||
{{#if:{{{country|}}}|[[Has country::{{{country|}}}]]}} | |||
{{#if:{{{ | {{#if:{{{admin1|}}}|[[Has admin subdivision 1::{{{admin1|}}}]]}} | ||
{{#if:{{{ | {{#if:{{{admin2|}}}|[[Has admin subdivision 2::{{{admin2|}}}]]}} | ||
{{#if:{{{locality|}}}|[[Has locality::{{{locality|}}}]]}} | |||
{{#if:{{{coordinates|}}}|[[Has event coordinates::{{{coordinates|}}}]]}} | |||
{{#if:{{{growing_region|}}}|[[Has growing region::{{{growing_region|}}}]]}} | |||
</div></includeonly> | </div></includeonly> | ||