Template:Infobox Investor: Difference between revisions
Created page with "<templatestyles src="Template:Infobox/styles.css" /> <templatestyles src="Template:Infobox_Startup/styles.css" /> {{#invoke:InfoboxMinimal|infobox | bodyclass = investor | name = {{{name|{{BASEPAGENAME}}}}} | title = {{{name|{{BASEPAGENAME}}}}} | label1 = Country | data1 = {{{country|}}} | label2 = Domain | data2 = {{#if:{{{domain|}}}|[https://{{{domain}}} {{{domain}}}]}} }} <noinclude> == Usage == <syntaxhighlight lang="text"> {{Infobox_Investor | name..." |
No edit summary |
||
| (18 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 | ||
| bodyclass = investor | |||
| title = {{BASEPAGENAME}} | |||
| image = {{{logo|}}} | |||
| label1 = Status | |||
| data1 = {{#if:{{{status|}}}|{{{status}}}}} | |||
| label2 = Investor Type | |||
| data2 = {{#if:{{{investor_type|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{investor_type|}}}}}}} | |||
| label3 = Website | |||
| data3 = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}} | |||
| label4 = Investment Vertical(s) | |||
| data4 = {{#if:{{{investment_verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{investment_verticals|}}}}}}} | |||
| label5 = Investment Region(s) | |||
| | | data5 = {{#if:{{{investment_regions|}}}|{{{investment_regions}}}}} | ||
| | |||
| | | label6 = Funding Round(s) | ||
| | | data6 = {{#if:{{{funding_rounds|}}}|{{{funding_rounds}}}}} | ||
| | | label7 = Headquarters | ||
| | | data7 = {{#if:{{{headquarters|}}}|{{{headquarters}}}}} | ||
}} | |||
| label8 = Other Offices in | |||
| data8 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}} | |||
<noinclude> | }}<includeonly>[[Category:Investors]]</includeonly> | ||
<!-- Categorisations --> | |||
{{#if:{{{investment_verticals|}}}| | |||
{{#invoke:ListUtils|catsAndProps | |||
| list = {{{investment_verticals}}} | |||
| property = HasVertical | |||
}} | |||
}}{{#if:{{{investor_type|}}}| | |||
{{#invoke:ListUtils|catsAndProps | |||
| list = {{{investor_type}}} | |||
| property = HasInvestor Type | |||
}} | |||
}}{{#if:{{{investment_regions|}}}| | |||
{{#invoke:ListUtils|propsOnly | |||
| list = {{{investment_regions}}} | |||
| property = HasInvestment Region | |||
}} | |||
}}{{#if:{{{headquarters|}}}| | |||
{{#set: HasHeadquarters={{{headquarters}}} }} | |||
}}{{#if:{{{status|}}}| | |||
{{#set: HasStatus={{{status}}} }} | |||
}}<noinclude> | |||
== Usage == | == Usage == | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
{{Infobox_Investor | {{Infobox_Investor | ||
| | | logo = ExampleLogo.png | ||
| | | status = Active | ||
| | | investor_type = Venture Capital | ||
| website = example.com | |||
| investment_verticals = Environment, Energy | |||
| investment_regions = Country A, Country B | |||
| funding_rounds = Series A, Series B | |||
| headquarters = Country A | |||
| other_offices = Country C, Country B | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 27: | Line 70: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Use this template to add an infobox to an Investor page", | ||
"params": { | "params": { | ||
"status": { | |||
"label": "Status", | |||
"description": "The current operational status of the company.", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true, | |||
"suggestedvalues": [ | |||
"Active", | |||
"Inactive" | |||
] | |||
}, | |||
"logo": { | |||
"label": "Logo", | |||
"description": "The filename of the startup's logo (e.g., ExampleLogo.png)", | |||
"type": "wiki-file-name" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"description": "Investor's primary website", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"investment_verticals": { | |||
"label": "Investment verticals", | |||
"description": "The verticals that the investor invests in. Refer to page:List of Verticals.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"investment_regions": { | |||
"label": "Investment regions", | |||
"description": "The regions where the investor invests in. Separate each region with a comma", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"funding_rounds": { | |||
"label": "Funding rounds", | |||
"description": "The funding rounds that the investor participates in", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"headquarters": { | |||
"label": "Headquarters country", | |||
"description": "The country that the investor is headquartered in", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"other_offices": { | |||
"label": "Other offices in", | |||
"description": "Any countries other than the headquarters country that the investor has offices in", | |||
"type": "string" | |||
}, | |||
"investor_type": { | |||
"label": "Investor type", | |||
"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" | |||
} | |||
}, | }, | ||
"paramOrder": [" | |||
"paramOrder": ["status", "logo", "investor_type", "website", "investment_verticals", "investment_regions", "funding_rounds", "headquarters", "other_offices"] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||