Difference between revisions of "Template:Crunchbase/doc"
Jump to navigation
Jump to search
imported>Officialjjones (change of URI) |
imported>Daylen (Added template data) |
||
| Line 17: | Line 17: | ||
: {{crunchbase|steve jobs|Steve Jobs|person}} | : {{crunchbase|steve jobs|Steve Jobs|person}} | ||
| + | |||
| + | == Template data == | ||
| + | </includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Name (as it appears in the CrunchBase URL)", | ||
| + | "example": "apple", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Name to display", | ||
| + | "example": "Apple Inc.", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Type of item (as it appears in CrunchBase URL)", | ||
| + | "example": "organization", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Adds external link to the CrunchBase profile of an organization or person.", | ||
| + | "paramOrder": [ | ||
| + | "1", | ||
| + | "2", | ||
| + | "3" | ||
| + | ], | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
=== See also === | === See also === | ||
| Line 27: | Line 61: | ||
[[zh:Template:CrunchBase]] | [[zh:Template:CrunchBase]] | ||
| − | |||
Revision as of 19:30, 27 March 2017
| This is a documentation subpage for Template:Crunchbase. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Parameter 1: Name as it appears in the CrunchBase URL
- Parameter 2: Optional name to displaycomp
- Parameter 3: Optional type of item as it appears in CrunchBase URL
Using {{crunchbase}} works fine in most articles, as it takes the article's title to create the URL. If not, then try one of the following methods:
{{crunchbase|apple|Apple Inc.}}, {{crunchbase|apple|Apple Inc.|organization}}, and {{crunchbase organization|apple|Apple Inc.}} produce:
Both {{crunchbase|steve jobs|Steve Jobs|person}} and {{crunchbase person|steve jobs|Steve Jobs}} produce:
Template data
</includeonly>
Adds external link to the CrunchBase profile of an organization or person.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name (as it appears in the CrunchBase URL) | 1 | no description
| String | required |
| Name to display | 2 | no description
| String | suggested |
| Type of item (as it appears in CrunchBase URL) | 3 | no description
| String | suggested |
See also
- {{crunchbase person}}
- {{crunchbase company}}