Template:Report: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|Sector=
|Sector=
|Tag=
|Tag=
|chapter=
|Release=
|Release=
}}
}}
Line 17: Line 18:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
__NOEDITSECTION__
{{#default_form:Report}}
{{#default_form:Report}}
{| class="wikitable" style="float:right;width:500px;border-spacing:20px;margin-left: 40px;"
{| class="wikitable" style="float:right;width:500px;border-spacing:20px;margin-left: 40px;"
! colspan="2" style="background:ltgrey;font-size:10pt" | Report
|-
!Image
!Image
|[[File:{{{Image|}}}|x600px|link={{{Link|}}}|Logo]] {{#set: Has image={{{Image}}}}} {{#set: Has URL={{{Link}}} }}
|[[File:{{{Image|}}}|x600px|link={{{Link|}}}|Logo]] {{#set: Has image={{{Image}}}}} {{#set: Has URL={{{Link}}} }}
Line 32: Line 36:
|-
|-
! 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>

Latest revision as of 15:08, August 24, 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.