Template:Sector: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(44 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}}}|150px|link=Sector]]<br />{{{imagecaption}}}
|-
|-
| 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}}}}}
|}
|}
={{{title}}}=
 
{{{description}}}
{{{description}}} {{#set: Has description={{{description}}} }}
 
{{{body}}}
=Chair(s)=
=Chair(s)=
{{{chair}}}
{{Display person | fullname      = {{{leader}}} | size  = {{{size}}}}}
 
<!--
=Leadership Team=
=Leadership Team=
{{{team}}}
{{{team}}}-->
=Activities=
<includeonly>
{{#ask:
[[Category:Activity]]
[[Category:{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|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
}}




<includeonly> [[Category:Sector]] </includeonly>
[[Category:{{PAGENAME}}]]
[[Category:Sector]]  
</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.