Template:Sector: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{#template_params:image (label=Sector Image;property=Has image)|team (label=Team Members;list;property=Has team members)|blueprint (label=Blueprint;property=Has document)|description (label=Sector Description;property=Has description)|leader (label=Point of Contact;list;property=Has leader)|team (list;property=Has team)}}
</noinclude><includeonly>
{| class="wikitable" style="float:right;width:400px"
{| class="wikitable" style="float:right;width:400px"
! colspan="2" style="background:lightblue;font-size:10pt" | {{{title}}}
! colspan="2" style="background:lightblue;font-size:10pt" | {{PAGENAME}} {{#set: Has sector={{PAGENAME}} }}
<!-- |-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:GCTC_logo_344x80.png|350px|link=Industry Sectors]] -->
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:GCTC_logo_344x80.png|350px|link=Industry Sectors]]
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|200px|link=Sector]]<br />{{PAGENAME}} {{#set: Has image={{{image}}} }}
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{image}}}|200px|link=Sector]]<br />{{{imagecaption}}} {{#set: Has image={{{image}}} }}
|-
|-
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" |
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" |
|-
|-
| style="font-size:9pt;width:100px" | <b>Team Members</b> || style="font-size:9pt" | {{{team}}}
| style="font-size:9pt;width:100px" | <b>Team Members</b> || style="font-size:9pt" | {{#arraymap:{{{team|}}}|,|x|[[Has team members::x]]| <br> }}
|-
|-
| style="font-size:9pt;width:100px" | <b>Blueprint</b> || style="font-size:9pt" | {{{blueprint}}}
| style="font-size:9pt;width:100px" | <b>Blueprint</b> || style="font-size:9pt" | [[media:{{{blueprint}}}|{{PAGENAME}}]] {{#set: Has document={{{blueprint}}}}}
|}
|}


Line 17: Line 20:
{{{body}}}
{{{body}}}
=Chair(s)=
=Chair(s)=
{{{chair}}}
{{Display person | fullname      = {{{leader}}} | size  = {{{size}}}}}
 
<!--
=Leadership Team=
=Leadership Team=
{{{team}}}
{{{team}}}-->
 
=Activities=
=Projects=
<includeonly>
<includeonly>
{{#ask:  
{{#ask:  
  [[Category:Project]]
  [[Category:Activity]]
  [[Category:{{{sector}}}]]
  [[Category:{{PAGENAME}}]]
  |?=
  |?=#
  |?Has image#=2
  |?Has image#=2
  |?Has description#=3
  |?Has description#=3
Line 36: Line 38:
  |outrotemplate=Show link Footer
  |outrotemplate=Show link Footer
}}
}}
=Webinars=
{{#ask:
[[Category:Webinar]]
[[Has sector::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}}


  [[Category:{{{sector}}}]]  
  [[Category:{{PAGENAME}}]]  
  [[Category:Sector]]  
  [[Category:Sector]]  
</includeonly>
</includeonly>

Latest revision as of 07:43, April 9, 2022

This is the "Sector" template.

It should be called in the following format:

{{Sector
|image=
|team=
|blueprint=
|description=
|leader=
}}

Edit the page to see the template text.