Template:Infobox Other stakeholder: Difference between revisions
Appearance
Created page with "<templatestyles src="Template:Infobox/styles.css" /> <templatestyles src="Template:Infobox_Startup/styles.css" /> {{#invoke:InfoboxMinimal|infobox | bodyclass = other_organisation | title = {{BASEPAGENAME}} | image = {{{logo|}}} | label1 = Status | data1 = {{#if:{{{status|}}}|{{{status}}}}} | label2 = Organisation Type | data2 = {{#if:{{{organisation_type|}}}|{{{organisation_type}}}}} | label3 = Website | data3 = {{#if:{{{website|}}}|[{{{website}}} {{{web..." |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
{{#invoke:InfoboxMinimal|infobox | {{#invoke:InfoboxMinimal|infobox | ||
| bodyclass = | | bodyclass = other_stakeholder | ||
| title = {{BASEPAGENAME}} | | title = {{BASEPAGENAME}} | ||
| Line 11: | Line 11: | ||
| data1 = {{#if:{{{status|}}}|{{{status}}}}} | | data1 = {{#if:{{{status|}}}|{{{status}}}}} | ||
| label2 = | | label2 = Stakeholder Type | ||
| data2 = {{#if:{{{ | | data2 = {{#if:{{{stakeholder_type|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{stakeholder_type|}}}}}}} | ||
| label3 = Website | | label3 = Website | ||
| Line 23: | Line 23: | ||
| data5 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}} | | data5 = {{#if:{{{other_offices|}}}|{{{other_offices}}}}} | ||
| label6 = | | label6 = Vertical(s) | ||
| data6 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}} | | data6 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}} | ||
}}<includeonly>[[Category:Other_stakeholders]]</includeonly>{{#if:{{{stakeholder_type|}}}| | |||
{{#invoke:ListUtils|propsOnly | |||
| list = {{{stakeholder_type}}} | |||
| property = HasStakeholder Type | |||
}} | |||
}}{{#if:{{{headquarters|}}}| | |||
{{#set: HasHeadquarters={{{headquarters}}} }} | |||
}}{{#if:{{{verticals|}}}| | |||
{{#invoke:ListUtils|catsAndProps | |||
| list = {{{verticals}}} | |||
| property = HasVertical | |||
}} | |||
}}{{#if:{{{status|}}}| | |||
{{#set: HasStatus={{{status}}} }} | |||
}} | }} | ||
| Line 31: | Line 45: | ||
== Usage == | == Usage == | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
{{ | {{Infobox_Other_stakeholder | ||
| logo = ExampleLogo.png | | logo = ExampleLogo.png | ||
| status = Active | | status = Active | ||
| | | stakeholder_type = Accelerator | ||
| website = example.com | | website = example.com | ||
| headquarters = Country A | | headquarters = Country A | ||
| Line 45: | Line 59: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Use this template to add an infobox to | "description": "Use this template to add an infobox to a stakeholder's page", | ||
"params": { | "params": { | ||
"status": { | "status": { | ||
"label": "Status", | "label": "Status", | ||
"description": "The current operational status of the | "description": "The current operational status of the stakeholder.", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
| Line 60: | Line 74: | ||
"logo": { | "logo": { | ||
"label": "Logo", | "label": "Logo", | ||
"description": "The filename of the | "description": "The filename of the stakeholder's logo (e.g., ExampleLogo.png)", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | }, | ||
" | "stakeholder_type": { | ||
"label": " | "label": "Stakeholder Type", | ||
"description": "The type of | "description": "The type of stakeholder this is (e.g. research institute, accelerator)", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 71: | Line 85: | ||
"website": { | "website": { | ||
"label": "Website", | "label": "Website", | ||
"description": " | "description": "Stakeholder's primary website", | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
| Line 77: | Line 91: | ||
"headquarters": { | "headquarters": { | ||
"label": "Headquarters country", | "label": "Headquarters country", | ||
"description": "The country that the | "description": "The country that the stakeholder is headquarted in", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 83: | Line 97: | ||
"other_offices": { | "other_offices": { | ||
"label": "Other offices in", | "label": "Other offices in", | ||
"description": "Any countries other than the headquarters country that the | "description": "Any countries other than the headquarters country that the stakeholder has offices in", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "verticals": { | ||
"label": "Associated verticals", | "label": "Associated verticals", | ||
"description": "The verticals that the | "description": "The verticals that the stakeholder is involved in. Refer to page:List of Verticals.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
| Line 94: | Line 108: | ||
}, | }, | ||
"paramOrder": ["status", "logo", " | "paramOrder": ["status", "logo", "stakeholder_type", "website", "headquarters", "other_offices", "verticals"] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:04, 26 November 2025
Usage
{{Infobox_Other_stakeholder
| logo = ExampleLogo.png
| status = Active
| stakeholder_type = Accelerator
| website = example.com
| headquarters = Country A
| other_offices = Country B, Country C
| verticals = Energy, Environment
}}
TemplateData
Use this template to add an infobox to a stakeholder's page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Status | status | The current operational status of the stakeholder.
| String | required |
| Logo | logo | The filename of the stakeholder's logo (e.g., ExampleLogo.png) | File | optional |
| Stakeholder Type | stakeholder_type | The type of stakeholder this is (e.g. research institute, accelerator) | String | suggested |
| Website | website | Stakeholder's primary website | URL | suggested |
| Headquarters country | headquarters | The country that the stakeholder is headquarted in | String | suggested |
| Other offices in | other_offices | Any countries other than the headquarters country that the stakeholder has offices in | String | optional |
| Associated verticals | verticals | The verticals that the stakeholder is involved in. Refer to page:List of Verticals. | String | suggested |