Template:Organization: Difference between revisions

From OpenCommons
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Logo (label=Company 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)}}
{{#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>{| class="wikitable"
</noinclude><includeonly>
! Company Logo
__NOEDITSECTION__
| [[Logo::{{{Logo|}}}]]
{{#default_form:Organization}}
{| 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}}]]
|-
|-
! GCTC Sector
| 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]] }}
| {{#arraymap:{{{Sector|}}}|,|x|[[Sector::x]]}}
 
|-
|-
! Industrial sector
| colspan="2" style="background:ltgrey;text-align:left;font-size:9pt" |
| {{#arraymap:{{{Industry|}}}|,|x|[[Industry::x]]}}
|- {{#if: {{{sector|}}} | | style="display: none;" }}
 
! NIST Sector
| {{#arraymap:{{{sector|}}}|,|x|[[Has sector::x]]| <br> }}
<!--| {{#arraymap:{{{sector}}}|,|x|{{#set:Has sector=x}}|}} {{#arraymap:{{{sector|}}}|,|x|[[x]]|<br>}} -->
|- {{#if: {{{industry|}}} | | style="display: none;" }}
! 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
| [[Business Type::{{{Business Type|}}}]]
| [[Has biztype::{{{type|}}}]]
|-
|-
! Year Founded
! Year Founded
| [[Founded::{{{Year Founded|}}}]]
| [[Founded::{{{foundation|}}}]]
|-
|-
! Founder
! Founder(s)
| {{#arraymap:{{{Founder|}}}|,|x|[[Founder::x]]}}
| {{#arraymap:{{{founder|}}}|,|x|[[Has founder::x]]| <br> }}
 
|-
|-
! City, State
! City, State
| [[Location::{{{Location|}}}]]
| [[From location::{{{location_city|}}}]]
|-
|-
! Country
! Country
| [[Country::{{{Country|}}}]]
| [[From country::{{{location_country|}}}]]
|-
|-
! Region Served
! Region Served
| [[Region Served::{{{Region Served|}}}]]
| [[Has area served::{{{area_served|}}}]]
|-
|-
! Executives
! Executives
| {{#arraymap:{{{Key people|}}}|,|y|[[Executives::y]]}}
<!--| {{#arraymap:{{{key_people|}}}|,|x|[[Has key people::x]]| <br> }}-->
 
| {{#arraymap:{{{key_people}}}|,|y|{{#set: Has executives=y}}|}} {{#arraymap:{{{key_people|}}}|,|x|x|<br>}}
|-
! Products
| {{#arraymap:{{{Products|}}}|,|x|[[Products::x]]}}
 
|-
|-
! Revenue
! Revenue
| [[Revenue::{{{Revenue|}}}]]
| [[Has revenue::{{{revenue|}}}]]
|-
|-
! Number of employees
! Number of employees
| [[Employees::{{{Employees|}}}]]
| [[Has employees::{{{num_employees|}}}]]
|-
! Homepage
| [[Homepage::{{{Homepage|}}}]]
|-
|-
! Sponsorship Level
! Sponsorship Level
| [[Sponsorship Level::{{{Sponsorship Level|}}}]]
| [[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}}} }}
{{#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.