Template:News: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{| class="wikitable" style="float:right;width:700px"
</noinclude><includeonly>{| class="wikitable" style="float:right;width:500px"
!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 34: Line 34:
! Display
! Display
| [[Is displayed::{{{Display|Yes}}}]]
| [[Is displayed::{{{Display|Yes}}}]]
|-
!Sectors
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
|-
|-
! Tags
! Tags
| {{#arraymap:{{{Tag|}}}|,|x|[[Has tag::x]]| <br> }}
| {{#arraymap:{{{Tag|}}}|,|x|[[Has tag::x]]| <br> }}
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|700px|Press Release]] {{#set: Has pdf={{{Release}}} }}
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{Release}}}|500px|Press Release]] {{#set: Has pdf={{{Release}}} }}
|}
|}
<!--[[File:{{{Image|}}}|x600px|Logo]]
<!--[[File:{{{Image|}}}|x600px|Logo]]

Revision as of 17:23, March 25, 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.