Template:Infobox Startup: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox/styles.css" />
<templatestyles src="Template:Infobox_Startup/styles.css" />


<div class="infobox">
{{Infobox
  <div class="infobox-above">Infobox Title</div>
| name  = {{{name|{{PAGENAMEBASE}}}}}
  <div class="infobox-header">Header</div>
| title = {{{name|{{PAGENAMEBASE}}}}}
   <div class="infobox-subheader">Subheader</div>
 
   <div class="infobox-data">Placeholder content goes here</div>
| label1 = Country
   <div class="infobox-below">Footer note</div>
| data1  = {{{country|}}}
</div>
 
| label2 = Domain
| data2  = {{{domain|}}}
}}
 
<noinclude>
== Usage ==
<syntaxhighlight lang="wikitext">
{{Infobox_Startup
| name    = ExampleCo
| country = Singapore
| domain  = example.com
}}
</syntaxhighlight>
 
== TemplateData ==
<templatedata>
{
   "description": "A minimal infobox for startups extending the standard Infobox template.",
   "params": {
    "name": {
      "label": "Name",
      "description": "Startup name (defaults to page name if empty).",
      "type": "string",
      "suggested": true
    },
    "country": {
      "label": "Country",
      "description": "Country where the startup is based.",
      "type": "string",
      "suggested": true
    },
    "domain": {
      "label": "Domain",
      "description": "Primary website domain (e.g., example.com).",
      "type": "string",
      "suggested": true
    }
  },
   "paramOrder": ["name", "country", "domain"]
}
</templatedata>
</noinclude>