Template:Organization: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
No edit summary
 
(57 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#template_params:Logo (label=Organization Logo;property=Logo)|Sector (label=GCTC Sector;list;property=Sector)|Industry (label=Industrial sector;list;property=Industry)|Business Type (label=Business type;property=Business Type)|Year Founded (property=Founded)|Founder (list;property=Founder)|Location (label=City, State;property=Location)|Country (property=Country)|Region Served (property=Region Served)|Key people (label=Executives;list;property=Executives)|Products (list;property=Products)|Revenue (property=Revenue)|Employees (label=Number of employees;property=Employees)|Homepage (property=Homepage)|Sponsorship Level (property=Sponsorship Level)| Description (description=Purpose of the organization)}}
{{#template_params:Logo (label=Organization Logo;property=Logo)|Sector (label=GCTC Sector;list;property=Sector)|Industry (label=Industrial sector;list;property=Industry)|Business Type (label=Business type;property=Business Type)|Year Founded (property=Founded)|Founder (list;property=Founder)|Location (label=City, State;property=Location)|Country (property=Country)|Region Served (property=Region Served)|Key people (label=Executives;list;property=Executives)|Products (list;property=Products)|Revenue (property=Revenue)|Employees (label=Number of employees;property=Employees)|Homepage (property=Homepage)|Sponsorship Level (property=Sponsorship Level)| Description (description=Purpose of the organization)}}
</noinclude><includeonly>
</noinclude><includeonly>
__NOEDITSECTION__
{{#default_form:Organization}}
{{#default_form:Organization}}
{| class="wikitable" style="float:right;width:450px;border-spacing: 10px;"
{| class="wikitable" style="float:right;width:450px;border-spacing:20px;margin-left: 40px;"
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Property:Has name | ]] [[Has name::{{PAGENAME}}]]
! colspan="2" style="background:ltgrey;font-size:10pt" | [[Property:Has name | ]] [[Has name::{{PAGENAME}}]]
|-
|-
| colspan="2" style="text-align:center;font-size:9pt" | [[File:{{{logo}}}|450px|link={{{homepage}}}]] {{#set: Has logo=File:{{{logo}}} }}
| colspan="2" style="text-align:center;font-size:9pt" | {{#if: {{{logo}}} | [[File:{{{logo}}}|center|450px|x250px|link={{{homepage}}}]] {{#set: Has logo=File:{{{logo}}} }} | [[File:CompanyLogoRequest.jpg|center|450px|x250px]] }}
|-
|-
| colspan="2" style="background:ltgrey;text-align:left;font-size:9pt" |
| colspan="2" style="background:ltgrey;text-align:left;font-size:9pt" |
|-
|- {{#if: {{{sector|}}} | | style="display: none;" }}
! Sector
! NIST Sector
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]|<br>}}
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}  
|-
<!--| {{#arraymap:{{{sector}}}|,|x|{{#set:Has sector=x}}|}} {{#arraymap:{{{sector|}}}|,|x|[[x]]|<br>}} -->
! Industrial
|- {{#if: {{{industry|}}} | | style="display: none;" }}
| [[Has industry::{{{industry|}}}]]
! GICS Industrial
| [[Has industry::{{{industry|}}}]]  
|- {{#if: {{{tag|}}} | | style="display: none;" }}
! Smart Tag(s)
|{{#arraymap:{{{chapter|}}}|,|x|{{#set: In chapter=x}}|}}<!--
| {{#arraymap:{{{tag|}}}|,|x|[[Has tag::x]]| <br> }} -->
|-
|-
! Business type
! Business type
Line 35: Line 41:
|-
|-
! Executives
! Executives
| {{#arraymap:{{{key_people|}}}|,|x|[[Has executives::x]]| <br> }}
<!--| {{#arraymap:{{{key_people|}}}|,|x|[[Has key people::x]]| <br> }}-->
| {{#arraymap:{{{key_people}}}|,|y|{{#set: Has executives=y}}|}} {{#arraymap:{{{key_people|}}}|,|x|x|<br>}}
|-
|-
! Revenue
! Revenue
Line 46: Line 53:
| [[Is sponsor::{{{sponsorship|}}}]]
| [[Is sponsor::{{{sponsorship|}}}]]
|}
|}
;Members
{{#ask:
[[Category:Person]]
[[Has company::{{PAGENAME}}]]
|?=#
|?Has firstname#=2
|?Has lastname#=3
|format=plainlist
|named args=yes
|template=Display employee
}}
{{{description}}} {{#set: Has description={{{description}}} }}
{{{description}}} {{#set: Has description={{{description}}} }}
 
{{#ifexpr: {{#ask: [[Category:Activity]] [[Has team members::{{PAGENAME}}]] |format=count}}>0 |
=Activities= | }}
{{#ask:
[[Category:Activity]]
[[Has team members::{{PAGENAME}}]]
|?=#
|?Has image#=2
|?Has description#=3
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image
|outrotemplate=Show link Footer
}} {{#ask:
[[Category:News]]
[[Has team members::{{PAGENAME}}]]
|sort=Has date published
|order=descending
|?=
|?Has image#=2
|?Has summary#=3
|?Has URL#=4
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image link
|outrotemplate=Show link Footer
}} {{#ask:
[[Category:Webinar]]
[[Has team members::{{PAGENAME}}]]
|sort=Has date published
|order=descending
|?=
|?Has image#=2
|?Has description#=3
|?Has name#=4
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image link
|outrotemplate=Show link Footer
}} {{#ask:
[[Category:Product]]
[[Has company::{{PAGENAME}}]]
|?=
|?Has image#=2
|?Has description#=3
|?Has name#=4
|format=plainlist
|named args=yes
|introtemplate=Show image Header
|template=Show image link
|outrotemplate=Show link Footer
}}
=Details=
[[Category:Organization]]
[[Category:Organization]]
</includeonly>
</includeonly>

Latest revision as of 04:27, September 20, 2023

This is the "Organization" template.

It should be called in the following format:

{{Organization
|Logo=
|Sector=
|Industry=
|Business Type=
|Year Founded=
|Founder=
|Location=
|Country=
|Region Served=
|Key people=
|Products=
|Revenue=
|Employees=
|Homepage=
|Sponsorship Level=
|Description=
}}

Edit the page to see the template text.