Template:News: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
|-
|-
! Where
! Where
| [[From location::{{{Where|}}}]] [[Property:Has coordinates | ]] [[Has coordinates::{{#Geocode:{{{Where|}}}}}|]]
| [[From location::{{{Where|}}}]]
|-
|-
! Summary
! Summary
| [[Has summary::{{{Summary|}}}]]  
| [[Has summary::{{{Summary|}}}]] {{#arraymap:{{{sector|}}}|,|x|{{#set: Has sector=x }}|}} {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x }}|}}
|-
|-
! Display
! Display
| [[Is displayed::{{{Display|Yes}}}]]
| [[Is displayed::{{{Display|Yes}}}]]  
|-
!Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
|-
! Tags
| {{#arraymap:{{{Tag|}}}|,|x|[[Has tag::x]]| <br> }}
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|500px|Press Release]] {{#set: Has pdf={{{Release}}} }}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|500px|Press Release]] {{#set: Has pdf={{{Release}}} }}

Revision as of 04:59, April 14, 2022

This is the "News" template. It should be called in the following format:

{{News
|Image=
|Published=
|Organization=
|Where=
|Summary=
|Link=
|Display=
|Tag=
|Release=
}}

Edit the page to see the template text.