Template:Infobox Startup: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<templatestyles src="Template:Infobox_Startup/styles.css" /> | <templatestyles src="Template:Infobox_Startup/styles.css" /> | ||
{{ | {{#invoke:InfoboxMinimal|infobox | ||
| name = {{{name|{{PAGENAMEBASE}}}}} | | bodyclass = startup | ||
| title = {{{name|{{PAGENAMEBASE}}}}} | | name = {{{name|{{PAGENAMEBASE}}}}} | ||
| title = {{{name|{{PAGENAMEBASE}}}}} | |||
| label1 = Country | | label1 = Country | ||
| data1 = {{{country|}}} | | data1 = {{{country|}}} | ||
| label2 = Domain | | label2 = Domain | ||
| data2 = {{{domain|}}} | | data2 = {{{domain|}}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
<syntaxhighlight> | <syntaxhighlight lang="text"> | ||
{{Infobox_Startup | {{Infobox_Startup | ||
| name = ExampleCo | | name = ExampleCo | ||
| Line 26: | Line 27: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "A minimal infobox for startups | "description": "A minimal, Lua-driven infobox for startups.", | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Startup name (defaults to page name | "description": "Startup name (defaults to page name).", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||