Template:Report: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
|Sector=
|Sector=
|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}}|}}
|- {{#if: {{{Release|}}} | | style="display: none;" }} {{#if {{{Release|}}} | {{#set: Has pdf={{{Release}}} }} | }}
|- {{#if: {{{Release|}}} | | style="display: none;" }} {{#if {{{Release|}}} | {{#set: Has pdf={{{Release}}} }} | }}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|500px|Press Release]]  
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|500px|Press Release]]  
|}
|}{{{Summary}}}
{{{Summary}}}
[[Category:Report]]
[[Category:Report]]
</includeonly>
</includeonly>

Revision as of 06:00, January 17, 2023

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

{{Report
|Image=
|Published=
|Organization=
|Where=
|Summary=
|Link=
|Sector=
|Tag=
|chapter=
|Release=
}}

Edit the page to see the template text.