Template:Infobox Startup: Difference between revisions

mNo edit summary
No edit summary
 
(15 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 = startup
  | bodyclass = startup
  | title = {{BASEPAGENAME}}
  | title = {{BASEPAGENAME}}
 
  | image = {{{logo|}}}
  | image = {{{logo|}}}
 
  | label1 = Status
  | label1 = Status
  | data1 = {{#if:{{{status|}}}|[[{{{status}}}]]}}
  | data1 = {{#if:{{{status|}}}|{{{status}}}}}
 
  | label2 = Website
  | label2 = Website
  | data2  = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}}
  | data2  = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}}
| label3 = Vertical(s)
| data3 = {{#if:{{{vertical|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{vertical|}}}}}}}


  | label3 = Primary Vertical
  | label12 = Technology Readiness Level
  | data3  = {{#if:{{{vertical|}}}|[[{{{vertical}}}]]}}  
  | data12 = {{#if:{{{trl|}}}|{{{trl}}}}}
   
   
  | label4 = Latest Funding Round
  | label4 = Latest Funding Round
  | data4 = {{#if:{{{latest_funding|}}}|[[:Category:{{{latest_funding}}}|{{{latest_funding}}}]]}}
  | data4 = {{#if:{{{latest_funding|}}}|{{{latest_funding}}}}}  
   
   
  | label5 = Year founded
  | label5 = Year founded
  | data5 =  {{#if:{{{founding_year|}}}|{{{founding_year}}}}}  
  | data5 =  {{#if:{{{founding_year|}}}|{{{founding_year}}}}}  
 
  | label6 = Headquarters
  | label6 = Headquarters
  | data6 = {{#if:{{{headquarters|}}}|{{{headquarters}}}}}  
  | data6 = {{#if:{{{headquarters|}}}|{{{headquarters}}}}}  
 
  | label7 = Active in
  | label7 = Active in
  | data7 = {{#if:{{{active_in|}}}|{{{active_in}}}}}  
  | data7 = {{#if:{{{active_in|}}}|{{{active_in}}}}}  
| label8 = Team size
| data8 = {{#if:{{{team_size|}}}|{{{team_size}}}}}
   
   
  | label8 = Notable investors
  | label9 = Spun of from
  | data8 = {{#if:{{{notable_investors|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{notable_investors|}}}}}}}
  | data9 = {{#if:{{{spun_off_from|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{spun_off_from|}}}}}}}
}}<includeonly>[[Category:Startups]]</includeonly>
   | label9 = Notable founders
<!-- Categorisations -->
| data9 = {{#if:{{{notable_founders|}}}|[[{{{notable_founders}}}]]}}  
{{#if:{{{vertical|}}}|
   {{#invoke:ListUtils|catsAndProps
| label10 = Team size
    | list = {{{vertical}}}
| data10 = {{#if:{{{team_size|}}}|{{{team_size}}}}}  
    | property = HasVertical
 
  }}
| label11 = Spun of from
}}{{#if:{{{latest_funding|}}}|
| data11 = {{#if:{{{spun_off_from|}}}|{{{spun_off_from}}}}}  
  {{#set: HasLatest_Funding Round={{{latest_funding}}} }}
}}{{#if:{{{headquarters|}}}|
  {{#set: HasHeadquarters={{{headquarters}}} }}
}}{{#if:{{{status|}}}|
  {{#set: HasStatus={{{status}}} }}
}}{{#if:{{{founding_year|}}}|
  {{#set: HasFoundingYear={{{founding_year}}} }}
}}{{#if:{{{trl|}}}|
  {{#set: TRL={{{trl}}} }}
}}
}}
<!-- Categorisations -->
{{#if:{{{vertical|}}}|[[Category:{{{vertical}}}]] [[HasVertical::{{{vertical}}}]]}}
{{#if:{{{latest_funding|}}}|[[Category:{{{latest_funding}}}]] [[HasLatest Funding Round::{{{latest_funding}}}]]}}
{{#if:{{{headquarters|}}}|[[HasHeadquarters::{{{headquarters}}}]]}}
{{#if:{{{status|}}}|[[HasCompanyStatus::{{{status}}}]]}}
{{#if:{{{founding_year|}}}|[[HasFoundingYear::{{{founding_year}}}]]}}
<noinclude>
<noinclude>
== Usage ==
== Usage ==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{{Infobox_Startup
{{Infobox_Startup
  | Status = Active
  | logo = ExampleLogo.png
  | image = ExampleLogo.png
  | status = Active
  | website  = example.com
  | website  = example.com
  | vertical = [[Environment]]
| trl = Prototype (1-3)
  | vertical = Environment
  | latest_funding = Series A
  | latest_funding = Series A
  | founding_year = 2021
  | founding_year = 2021
  | headquarters = Country A  
  | headquarters = Country A  
  | active_in = Country B, Country C
  | active_in = Country B, Country C
| notable_investors = Investor A, Investor B
| notable_founders = Founder A
  | team_size = 10+
  | team_size = 10+
  | spun_off_from = University A
  | spun_off_from = University A
Line 99: Line 103:
"vertical": {
"vertical": {
"label": "Vertical",
"label": "Vertical",
"description": "The startup's primary vertical. Where possible, use a value from [[List of Verticals]]",
"description": "The verticals that the startup operates in.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 105: Line 109:
"latest_funding": {
"latest_funding": {
"label": "Latest funding round",
"label": "Latest funding round",
"description": "The startup's latest funding round. Where possible, use a value from [[List of Funding Rounds]]",
"description": "The startup's latest funding round.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 124: Line 128:
"label": "Active in",
"label": "Active in",
"description": "Any countries other than the headquarters country that the startup is active in",
"description": "Any countries other than the headquarters country that the startup is active in",
"type": "string"
},
"notable_investors": {
"label": "Notable investors",
"description": "Any notable investors in the startup. Seperate each investor with a comma.",
"type": "string",
"suggested": true
},
"notable_founders": {
"label": "Notable founders",
"description": "Any notable founders in the startup",
"type": "string"
"type": "string"
},
},
Line 145: Line 138:
"label": "Spun off from",
"label": "Spun off from",
"description": "If the startup was spun off from a university, corporation, or other R&D lab",
"description": "If the startup was spun off from a university, corporation, or other R&D lab",
"type": "string"
},
"trl": {
"label": "Technology Readiness Level",
"description": "The TRL of the startup's technology/product",
"type": "string"
"type": "string"
}
}
Line 153: Line 151:
         "website",
         "website",
"vertical",
"vertical",
        "trl",
         "latest_funding",
         "latest_funding",
"founding_year",
"founding_year",
         "headquarters",
         "headquarters",
         "active_in",
         "active_in",
        "notable_investors",
        "notable_founders",
         "team_size",
         "team_size",
         "spun_off_from"
         "spun_off_from"