Template:Infobox Investor: Difference between revisions

mNo edit summary
No edit summary
Line 10: Line 10:
  | label1 = Status
  | label1 = Status
  | data1 = {{#if:{{{status|}}}|[[{{{status}}}]]}}
  | data1 = {{#if:{{{status|}}}|[[{{{status}}}]]}}
| label2 = Website
| data2  = {{#if:{{{website|}}}|[{{{website}}} {{{website}}}]}}
| label3 = Investment Vertical(s)
| label3 = {{#if:{{{investment_verticals|}}}|{{#invoke:ListUtils|linkifyCommaList|{{{investment_verticals|}}}}}}}


}}
}}
<!-- Categorisations -->
{{#if:{{{investment_verticals|}}}|
  {{#invoke:ListUtils|catsAndProps
    | list = {{{investment_verticals}}}
    | property = HasVertical
  }}
}}


<noinclude>
<noinclude>
Line 17: Line 33:
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{{Infobox_Investor
{{Infobox_Investor
| logo = ExampleLogo.png
  | status = Active
  | status = Active
  |
  | website = example.com
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 35: Line 52:
             "suggestedvalues": [
             "suggestedvalues": [
                 "Active",
                 "Active",
                 "Acquired",
                 "Inactive"
                "IPO",
                "Defunct"
             ]
             ]
         },
         },
    "country": {
"website": {
      "label": "Country",
"label": "Website",
      "description": "Country where the investor is based.",
"description": "Investor's primary website",
      "type": "string",
"type": "url",
      "suggested": true
"suggested": true
    },
},
"investment_verticals": {
"label": "Investment vertical",
"description": "The verticals that the investor operates in. Where possible, use a value from [[List of Verticals]]",
"type": "string",
"suggested": true
},
     "domain": {
     "domain": {
       "label": "Domain",
       "label": "Domain",
Line 53: Line 74:
     }
     }
   },
   },
   "paramOrder": ["status", "country", "domain"]
   "paramOrder": ["status", "website", "investment_verticals", "domain"]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>