Template:News: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
|-
|-
! Point(s) of Contact
! Point(s) of Contact
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|x|<br>}}
| {{#if: {{{poc|}}} | {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}}  | }} {{#arraymap:{{{poc|}}}|,|x|x|<br>}}
|-
|-
! Organization(s)
! Organization(s)
Line 30: Line 30:
|-
|-
! Where
! Where
| [[From location::{{{Where|}}}]] {{#set: Has summary={{{Summary|}}} }} {{#arraymap:{{{sector|}}}|,|x|{{#set: Has sector=x }}|}} {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x }}|}}
| [[From location::{{{Where|}}}]] {{#set: Has summary={{{Summary|}}} }} {{#if: {{{sector|}}} | {{#arraymap:{{{sector|}}}|,|x|{{#set: Has sector=x }}|}} | }} {{#if: {{{Tag|}}} | {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x }}|}} | }}
|-
|-
! Display
! Display

Revision as of 00:01, July 12, 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.