Template:Infobox Startup: Difference between revisions

Undo revision 625 by C (talk)
Tag: Undo
No edit summary
 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width:25em; text-align:left;"
<templatestyles src="Template:Infobox/styles.css" />
|-
<templatestyles src="Template:Infobox_Startup/styles.css" />
! Name
{{#invoke:InfoboxMinimal|infobox
| {{{name|}}}
| bodyclass = startup
|-
| title = {{BASEPAGENAME}}
! Website
| [{{{website|}}} {{{website|}}}]
| image = {{{logo|}}}
|-
! Country
| label1 = Status
| {{{country|}}}
| data1 = {{#if:{{{status|}}}|{{{status}}}}}
|-
! Domain
| label2 = Website
| {{{domain|}}}
| data2  = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}}
|-
! Latest Funding Stage
| label3 = Vertical(s)
| {{{funding_stage|}}}
| data3 = {{#if:{{{vertical|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{vertical|}}}}}}}
|}
 
| label12 = Technology Readiness Level
| data12 = {{#if:{{{trl|}}}|{{{trl}}}}}
| label4 = Latest Funding Round
| data4 = {{#if:{{{latest_funding|}}}|{{{latest_funding}}}}}
| label5 = Year founded
| data5 =  {{#if:{{{founding_year|}}}|{{{founding_year}}}}}
 
| label6 = Headquarters
| data6 = {{#if:{{{headquarters|}}}|{{{headquarters}}}}}
 
| label7 = Active in
| data7 = {{#if:{{{active_in|}}}|{{{active_in}}}}}
 
| label8 = Team size
| data8 = {{#if:{{{team_size|}}}|{{{team_size}}}}}  
| label9 = Spun of from
| data9 = {{#if:{{{spun_off_from|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{spun_off_from|}}}}}}}
}}<includeonly>[[Category:Startups]]</includeonly>
<!-- Categorisations -->
{{#if:{{{vertical|}}}|
  {{#invoke:ListUtils|catsAndProps
    | list = {{{vertical}}}
    | property = HasVertical
  }}
}}{{#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}}} }}
}}
<noinclude>
== Usage ==
<syntaxhighlight lang="text">
{{Infobox_Startup
| logo = ExampleLogo.png
| status = Active
| website  = example.com
| trl = Prototype (1-3)
| vertical = Environment
| latest_funding = Series A
| founding_year = 2021
| headquarters = Country A
| active_in = Country B, Country C
| team_size = 10+
| spun_off_from = University A
}}
</syntaxhighlight>
 
== 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>