Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Template:Infobox Person: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
   
   
  | label1 = Associated Stakeholders
  | label1 = Associated Stakeholders
  | data1 = {{#if:{{{associated_stakeholders|}}}|{{{associated_stakeholders}}}}}
  | data1 = {{#if:{{{associated_stakeholders|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{associated_stakeholders|}}}}}}}
   
   
  | label2 = Vertical(s)
  | label2 = Vertical(s)
  | data2 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}}  
  | data2 = {{#if:{{{verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{verticals|}}}}}}}  


}}<includeonly>[[Category:Persons]]</includeonly>{{#if:{{{associated_stakeholders|}}}|
  {{#invoke:ListUtils|propsOnly
    | list = {{{associated_stakeholders}}}
    | property = HasAssociated Stakeholder
  }}
}}{{#if:{{{verticals|}}}|
  {{#invoke:ListUtils|catsAndProps
    | list = {{{verticals}}}
    | property = HasVertical
  }}
}}
}}


Line 19: Line 29:
== Usage ==
== Usage ==
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{{Infobox_Other_person
{{Infobox_Person
  | picture = ExamplePic.png
  | picture = ExamplePic.png
  | associated_stakeholders = Startup A, Startup B
  | associated_stakeholders = Startup A, Startup B
Line 36: Line 46:
             "type": "wiki-file-name"
             "type": "wiki-file-name"
         },
         },
"associated_stakeholders": {
        "associated_stakeholders": {
"label": "Associated Stakeholders",
            "label": "Associated Stakeholders",
"description": "The companies or institutions that are associated to the person.",
            "description": "The companies or institutions that are associated to the person.",
"type": "string"
            "type": "string"
},
        },
"verticals": {
        "verticals": {
"label": "Verticals",
            "label": "Verticals",
"description": "The verticals that this person is in involved in.",
            "description": "The verticals that this person is in involved in.",
"type": "string"
            "type": "string"
}
        }
   },
   },
   "paramOrder": ["picture", "associated_stakeholders", "verticals"]
   "paramOrder": ["picture", "associated_stakeholders", "verticals"]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 15:04, 26 November 2025


Usage

{{Infobox_Person
 | picture = ExamplePic.png
 | associated_stakeholders = Startup A, Startup B
 | verticals = Energy, Environment
}}

TemplateData

Use this template to add an infobox to a person's page

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Picturepicture

The filename of the person's picture (e.g., ExamplePicture.png)

Fileoptional
Associated Stakeholdersassociated_stakeholders

The companies or institutions that are associated to the person.

Stringoptional
Verticalsverticals

The verticals that this person is in involved in.

Stringoptional