Template:News: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
|Display=
|Display=
|Tag=
|Tag=
|chapter=
|Release=
|Release=
}}
}}
Line 33: Line 34:
|-
|-
! Where
! Where
| [[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 }}|}} | }}
| [[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 }}|}} | }} {{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x}}|}}
|-
|-
! Display
! Display

Revision as of 06:01, January 17, 2023

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

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

Edit the page to see the template text.