Template:Infobox Investor: Difference between revisions

No edit summary
No edit summary
 
(7 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 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|}}}|
Line 40: Line 37:
     | property = HasVertical
     | property = HasVertical
   }}
   }}
}}
}}{{#if:{{{investor_type|}}}|
{{#if:{{{investment_regions|}}}|
  {{#invoke:ListUtils|catsAndProps
    | 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|}}}|
{{#if:{{{investor_type|}}}|
  {{#invoke:ListUtils|propsOnly
    | list = {{{investor_type}}}
    | property = HasInvestor Type
  }}
}}
{{#if:{{{headquarters|}}}|
   {{#set: HasHeadquarters={{{headquarters}}} }}
   {{#set: HasHeadquarters={{{headquarters}}} }}
}}
}}{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
   {{#set: HasStatus={{{status}}} }}
   {{#set: HasStatus={{{status}}} }}
}}
}}<noinclude>
 
<noinclude>
== Usage ==
== Usage ==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">