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..."
 
mNo edit summary
Line 4: Line 4:
{{#invoke:InfoboxMinimal|infobox
{{#invoke:InfoboxMinimal|infobox
  | bodyclass = investor
  | bodyclass = investor
| name  = {{{name|{{BASEPAGENAME}}}}}
  | title = {{BASEPAGENAME}}
  | title = {{{name|{{BASEPAGENAME}}}}}


  | label1 = Country
| image = {{{logo|}}}
  | data1 = {{{country|}}}
  | label1 = Status
  | data1 = {{#if:{{{status|}}}|[[{{{status}}}]]}}


| label2 = Domain
| data2  = {{#if:{{{domain|}}}|[https://{{{domain}}} {{{domain}}}]}}
}}
}}


Line 18: Line 17:
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{{Infobox_Investor
{{Infobox_Investor
  | name    = Example Capital
  | status = Active
  | country = Singapore
  |
| domain  = example.vc
}}
}}
</syntaxhighlight>
</syntaxhighlight>
Line 27: Line 25:
<templatedata>
<templatedata>
{
{
   "description": "A minimal, Lua-driven infobox for investors, aligned with Infobox_Startup.",
   "description": "Use this template to add an infobox to an Investor page",
   "params": {
   "params": {
    "name": {
      "status": {
      "label": "Name",
            "label": "Status",
      "description": "Investor name (defaults to page name).",
            "description": "The current operational status of the company.",
      "type": "string",
            "type": "string",
      "suggested": true
            "required": true,
    },
            "suggested": true,
            "suggestedvalues": [
                "Active",
                "Acquired",
                "IPO",
                "Defunct"
            ]
        },
     "country": {
     "country": {
       "label": "Country",
       "label": "Country",
Line 48: Line 53:
     }
     }
   },
   },
   "paramOrder": ["name", "country", "domain"]
   "paramOrder": ["status", "country", "domain"]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>