Template:Infobox Investor: Difference between revisions

No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox_Startup/styles.css" />
<templatestyles src="Template:Infobox_Startup/styles.css" />{{#invoke:InfoboxMinimal|infobox
 
{{#invoke:InfoboxMinimal|infobox
  | bodyclass = investor
  | bodyclass = investor
  | title = {{BASEPAGENAME}}
  | title = {{BASEPAGENAME}}
Line 9: Line 7:
   
   
  | label1 = Status
  | label1 = Status
  | data1 = {{#if:{{{status|}}}|[[{{{status}}}]]}}
  | data1 = {{#if:{{{status|}}}|{{{status}}}}}


  | label2 = Investor Type
  | label2 = Investor Type
Line 20: Line 18:
  | data4 = {{#if:{{{investment_verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{investment_verticals|}}}}}}}
  | data4 = {{#if:{{{investment_verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{investment_verticals|}}}}}}}


  | label5 = Investment Regions(s)
  | label5 = Investment Region(s)
  | data5 = {{#if:{{{investment_regions|}}}|{{{investment_regions}}}}}  
  | data5 = {{#if:{{{investment_regions|}}}|{{{investment_regions}}}}}  


Line 32: Line 30:
  | data8 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}}  
  | data8 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}}  


}}
}}<includeonly>[[Category:Investors]]</includeonly>
 
<!-- Categorisations -->
<!-- Categorisations -->
{{#if:{{{investment_verticals|}}}|
{{#if:{{{investment_verticals|}}}|
   {{#invoke:ListUtils|catsAndProps
   {{#invoke:ListUtils|catsAndProps
     | list = {{{investment_verticals}}}
     | list = {{{investment_verticals}}}
     | property = HasInvestment Vertical
     | property = HasVertical
   }}
   }}
}}
}}{{#if:{{{investor_type|}}}|
 
  {{#invoke:ListUtils|catsAndProps
{{#if:{{{investment_regions|}}}|
    | list = {{{investor_type}}}
    | property = HasInvestor Type
  }}
}}{{#if:{{{investment_regions|}}}|
   {{#invoke:ListUtils|propsOnly
   {{#invoke:ListUtils|propsOnly
     | list = {{{investment_regions}}}
     | list = {{{investment_regions}}}
     | property = HasInvestment Region
     | property = HasInvestment Region
   }}
   }}
}}
}}{{#if:{{{headquarters|}}}|
 
   {{#set: HasHeadquarters={{{headquarters}}} }}
{{#if:{{{investor_type|}}}|
}}{{#if:{{{status|}}}|
   {{#invoke:ListUtils|propsOnly
  {{#set: HasStatus={{{status}}} }}
    | list = {{{investor_type}}}
}}<noinclude>
    | property = HasInvestor Type
  }}
}}
 
{{#if:{{{headquarters|}}}|[[HasHeadquarters::{{{headquarters}}}]]}}
 
<noinclude>
== Usage ==
== Usage ==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
Line 64: Line 57:
  | logo = ExampleLogo.png
  | logo = ExampleLogo.png
  | status = Active
  | status = Active
| investor_type = Venture Capital
  | website = example.com
  | website = example.com
  | investment_verticals = Environment, Energy
  | investment_verticals = Environment, Energy
| investment_regions = Country A, Country B
  | funding_rounds = Series A, Series B
  | funding_rounds = Series A, Series B
| headquarters = Country A
| other_offices = Country C, Country B
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 99: Line 96:
"investment_verticals": {
"investment_verticals": {
"label": "Investment verticals",
"label": "Investment verticals",
"description": "The verticals that the investor invests in. Where possible, use a value from [[List of Verticals]].",
"description": "The verticals that the investor invests in. Refer to page:List of Verticals.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 117: Line 114:
         "headquarters": {
         "headquarters": {
"label": "Headquarters country",
"label": "Headquarters country",
"description": "The country that the investor is headquarted in",
"description": "The country that the investor is headquartered in",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 127: Line 124:
},
},
"investor_type": {
"investor_type": {
"label": "Investor Type",
"label": "Investor type",
"description": "The investor's type or class. Use values from [[List of Investor Types]] where possible. If the investor has activities across different types, separate each type with a comma",
"description": "The investor's type or class. If the investor has activities across different types, separate each type with a comma. Refer to page:List of Investor Types",
"type": "string"
"type": "string"
}
}