Template:Infobox Startup: Difference between revisions

No edit summary
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TemplateStyles|src=Template:Infobox/styles.css}}
<templatestyles src="Template:Infobox/styles.css" />
{| class="infobox" role="presentation"
<templatestyles src="Template:Infobox_Startup/styles.css" />
|+ class="infobox-title" | {{{name|{{PAGENAME}}}}}
{{#invoke:InfoboxMinimal|infobox
| bodyclass = startup
| title = {{BASEPAGENAME}}
| image = {{{logo|}}}
| label1 = Status
| data1 = {{#if:{{{status|}}}|{{{status}}}}}
| label2 = Website
| data2  = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}}
| label3 = Vertical(s)
| data3 = {{#if:{{{vertical|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{vertical|}}}}}}}


<!-- Logo -->
| label12 = Technology Readiness Level
{{#if:{{{logo|}}}|
| data12 = {{#if:{{{trl|}}}|{{{trl}}}}}
|-
! class="infobox-image" colspan="2" |
| label4 = Latest Funding Round
[[File:{{{logo}}}|{{{logo_size|120px}}}|alt={{{logo_alt|Logo of {{{name|{{PAGENAME}}}}}}}}]]
| data4 = {{#if:{{{latest_funding|}}}|{{{latest_funding}}}}}  
{{#if:{{{logo_caption|}}}|<div class="infobox-below">{{{logo_caption}}}</div>|}}
}}
| label5 = Year founded
| data5 =  {{#if:{{{founding_year|}}}|{{{founding_year}}}}}  


<!-- Tagline -->
| label6 = Headquarters
{{#if:{{{tagline|}}}|
| data6 = {{#if:{{{headquarters|}}}|{{{headquarters}}}}}  
|-
| class="infobox-above" colspan="2" | {{{tagline}}}
}}


<!-- Identity -->
| label7 = Active in
|-
| data7 = {{#if:{{{active_in|}}}|{{{active_in}}}}}  
! class="infobox-header" colspan="2" | Overview
{{#if:{{{native_name|}}}|
|-
! class="infobox-label" | Native name
| class="infobox-data" | {{{native_name}}}
}}
{{#if:{{{type|}}}|
|-
! class="infobox-label" | Type
| class="infobox-data" | {{{type}}}
}}
{{#if:{{{industry|}}}|
|-
! class="infobox-label" | Industry
| class="infobox-data" | {{{industry}}}
}}
{{#if:{{{legal_name|}}}|
|-
! class="infobox-label" | Legal name
| class="infobox-data" | {{{legal_name}}}
}}


<!-- Timeline -->
| label8 = Team size
|-
| data8 = {{#if:{{{team_size|}}}|{{{team_size}}}}}
! class="infobox-header" colspan="2" | History
{{#if:{{{founded|}}}|
| label9 = Spun of from
|-
| data9 = {{#if:{{{spun_off_from|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{spun_off_from|}}}}}}}
! class="infobox-label" | Founded
}}<includeonly>[[Category:Startups]]</includeonly>
| class="infobox-data" | {{{founded}}}
<!-- Categorisations -->
}}
{{#if:{{{vertical|}}}|
{{#if:{{{founders|}}}|
  {{#invoke:ListUtils|catsAndProps
|-
    | list = {{{vertical}}}
! class="infobox-label" | Founders
    | property = HasVertical
| class="infobox-data" | {{{founders}}}
  }}
}}{{#if:{{{latest_funding|}}}|
  {{#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}}} }}
}}
}}
{{#if:{{{hq|}}}|
<noinclude>
|-
== Usage ==
! class="infobox-label" | Headquarters
<syntaxhighlight lang="text">
| class="infobox-data" | {{{hq}}}
{{Infobox_Startup
}}
| logo = ExampleLogo.png
{{#if:{{{locations|}}}|
| status = Active
|-
| website  = example.com
! class="infobox-label" | Locations
| trl = Prototype (1-3)
| class="infobox-data" | {{{locations}}}
| vertical = Environment
}}
| latest_funding = Series A
 
| founding_year = 2021
<!-- People -->
| headquarters = Country A
|-
| active_in = Country B, Country C
! class="infobox-header" colspan="2" | Key people
| team_size = 10+
{{#if:{{{key_people|}}}|
| spun_off_from = University A
|-
! class="infobox-label" | Leadership
| class="infobox-data" | {{{key_people}}}
}}
{{#if:{{{num_employees|}}}|
|-
! class="infobox-label" | Employees
| class="infobox-data" | {{{num_employees}}}
}}
 
<!-- Business -->
|-
! class="infobox-header" colspan="2" | Business
{{#if:{{{products|}}}|
|-
! class="infobox-label" | Products
| class="infobox-data" | {{{products}}}
}}
{{#if:{{{services|}}}|
|-
! class="infobox-label" | Services
| class="infobox-data" | {{{services}}}
}}
{{#if:{{{areas_served|}}}|
|-
! class="infobox-label" | Area served
| class="infobox-data" | {{{areas_served}}}
}}
 
<!-- Finance -->
|-
! class="infobox-header" colspan="2" | Finance
{{#if:{{{funding_total|}}}|
|-
! class="infobox-label" | Total funding
| class="infobox-data" | {{{funding_total}}}
}}
{{#if:{{{funding_rounds|}}}|
|-
! class="infobox-label" | Funding rounds
| class="infobox-data" | {{{funding_rounds}}}
}}
{{#if:{{{investors|}}}|
|-
! class="infobox-label" | Investors
| class="infobox-data" | {{{investors}}}
}}
{{#if:{{{valuation|}}}|
|-
! class="infobox-label" | Valuation
| class="infobox-data" | {{{valuation}}}
}}
{{#if:{{{revenue|}}}|
|-
! class="infobox-label" | Revenue
| class="infobox-data" | {{{revenue}}}
}}
 
<!-- Corporate -->
{{#if:{{{parent|}}}|
|-
! class="infobox-label" | Parent
| class="infobox-data" | {{{parent}}}
}}
{{#if:{{{subsidiaries|}}}|
|-
! class="infobox-label" | Subsidiaries
| class="infobox-data" | {{{subsidiaries}}}
}}
 
<!-- Online -->
|-
! class="infobox-header" colspan="2" | Online
{{#if:{{{website|}}}|
|-
! class="infobox-label" | Website
| class="infobox-data" | {{URL|{{{website}}}}}
}}
{{#if:{{{profiles|}}}|
|-
! class="infobox-label" | Profiles
| class="infobox-data" | {{{profiles}}}
}}
 
<!-- Status -->
{{#if:{{{status|}}}|
|-
! class="infobox-label" | Status
| class="infobox-data" | {{{status}}}
}}
}}
</syntaxhighlight>


|}<!-- end .infobox -->
== TemplateData ==
<templatedata>
{
"description": "Use this template to add an infobox to a Startup page",
"params": {
"website": {
"label": "Website",
"description": "Startup's primary website",
"type": "url",
"suggested": true
},
        "status": {
            "label": "Status",
            "description": "The current operational status of the company.",
            "type": "string",
            "required": true,
            "suggested": true,
            "suggestedvalues": [
                "Active",
                "Acquired",
                "IPO",
                "Defunct"
            ]
        },
        "logo": {
            "label": "Logo",
            "description": "The filename of the startup's logo (e.g., ExampleLogo.png)",
            "type": "wiki-file-name"
        },
"vertical": {
"label": "Vertical",
"description": "The verticals that the startup operates in.",
"type": "string",
"suggested": true
},
"latest_funding": {
"label": "Latest funding round",
"description": "The startup's latest funding round.",
"type": "string",
"suggested": true
},
"founding_year": {
"label": "Year founded",
"description": "The year that the startup was founded",
"type": "number",
"suggested": true
},
"headquarters": {
"label": "Headquarters country",
"description": "The country that the startup is currently headquarted in",
"type": "string",
"suggested": true
},
"active_in": {
"label": "Active in",
"description": "Any countries other than the headquarters country that the startup is active in",
"type": "string"
},
"team_size": {
"label": "Team size",
"description": "The team size at the point of edit",
"type": "string"
},
"spun_off_from": {
"label": "Spun off from",
"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"
}
},
"paramOrder": [
"logo",
        "status",
        "website",
"vertical",
        "trl",
        "latest_funding",
"founding_year",
        "headquarters",
        "active_in",
        "team_size",
        "spun_off_from"
]
}
</templatedata>
</noinclude>