Template:News: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
| [[Has date published::{{{Published|}}}]]
| [[Has date published::{{{Published|}}}]]
|-
|-
! Organization
| Point(s) of Contact
| {{#arraymap:{{{poc}}}|,|x|{{#set: Has contact=x}}|}} {{#arraymap:{{{poc|}}}|,|x|[[x]]|<br>}}
|-
! Organization(s)
| {{#arraymap:{{{Organization|}}}|,|x|[[Has team members::x]]| <br> }}
| {{#arraymap:{{{Organization|}}}|,|x|[[Has team members::x]]| <br> }}
|-
|-
! Where
! Where
| [[From location::{{{Where|}}}]]
| [[From location::{{{Where|}}}]] {{#set: Has summary={{{Summary|}}} }} {{#arraymap:{{{sector|}}}|,|x|{{#set: Has sector=x }}|}} {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x }}|}}
|-
! Summary
| [[Has summary::{{{Summary|}}}]] {{#arraymap:{{{sector|}}}|,|x|{{#set: Has sector=x }}|}} {{#arraymap:{{{Tag|}}}|,|x|{{#set: Has tag=x }}|}}
|-
|-
! Display
! Display
Line 37: Line 37:
| 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}}} }}
|}
|}
{{{Summary}}}
<!--[[File:{{{Image|}}}|x600px|Logo]]
<!--[[File:{{{Image|}}}|x600px|Logo]]


'''{{{Published|}}}'''
'''{{{Published|}}}'''
{{{Summary}}}


'''[{{{Link}}} ...source article]'''-->
'''[{{{Link}}} ...source article]'''-->
[[Category:News]]
[[Category:News]]
</includeonly>
</includeonly>

Revision as of 19:17, April 27, 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.