Difference between revisions of "Template:Crunchbase/doc"
Jump to navigation
Jump to search
imported>Zyxw m (Zyxw moved page Template:CrunchBase/doc to Template:Crunchbase/doc: as per Crunchbase article, the company rebranded from CrunchBase to Crunchbase in 2016) |
imported>Zyxw m (misc minor updates) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | ||
| − | {{Template redirect| | + | {{Template redirect|CrunchBase}} |
=== Usage === | === Usage === | ||
| Line 9: | Line 9: | ||
: {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | <var>TYPE</var> }} | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>NAME</var> | <var>TYPE</var> }} | ||
| − | * '''Parameter 1:''' ID as it appears in the | + | * '''Parameter 1:''' ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name) |
| − | * '''Parameter 2:''' | + | * '''Parameter 2:''' Name to display (optional, default is the current Wikipedia article name) |
| − | * '''Parameter 3:''' Type of item | + | * '''Parameter 3:''' Type of item as it appears in Crunchbase URL (optional, default is organization) |
| − | |||
| − | |||
== Examples == | == Examples == | ||
| + | Using <kbd><nowiki>{{Crunchbase}}</nowiki></kbd> 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: | ||
=== Organization === | === Organization === | ||
| Line 22: | Line 21: | ||
; Usage | ; Usage | ||
| − | : <kbd><nowiki>{{ | + | : <kbd><nowiki>{{Crunchbase | apple | Apple Inc. }}</nowiki></kbd> |
| − | : <kbd><nowiki>{{ | + | : <kbd><nowiki>{{Crunchbase | apple | Apple Inc. | organization }}</nowiki></kbd> |
| − | : <kbd><nowiki>{{ | + | : <kbd><nowiki>{{Crunchbase company | apple | Apple Inc. }}</nowiki></kbd> |
; Output | ; Output | ||
| − | : {{ | + | : {{Crunchbase | apple | Apple Inc. }} |
| − | : {{ | + | : {{Crunchbase | apple | Apple Inc. | organization }} |
| − | : {{ | + | : {{Crunchbase company | apple | Apple Inc. }} |
=== Person === | === Person === | ||
| Line 36: | Line 35: | ||
; Usage | ; Usage | ||
| − | : <kbd><nowiki>{{ | + | : <kbd><nowiki>{{Crunchbase | steve-jobs | Steve Jobs | person }}</nowiki></kbd> |
| − | : <kbd><nowiki>{{ | + | : <kbd><nowiki>{{Crunchbase person | steve-jobs | Steve Jobs }}</nowiki></kbd> |
; Output | ; Output | ||
| − | : {{ | + | : {{Crunchbase | steve-jobs | Steve Jobs | person }} |
| − | : {{ | + | : {{Crunchbase person | steve-jobs | Steve Jobs }} |
== TemplateData == | == TemplateData == | ||
| Line 49: | Line 48: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| − | "description": "ID | + | "description": "ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name)", |
"example": "apple", | "example": "apple", | ||
"type": "string", | "type": "string", | ||
| − | " | + | "suggested": true |
}, | }, | ||
"2": { | "2": { | ||
| − | "description": "Name to display", | + | "description": "Name to display (optional, default is the current Wikipedia article name)", |
"example": "Apple Inc.", | "example": "Apple Inc.", | ||
"type": "string", | "type": "string", | ||
| Line 61: | Line 60: | ||
}, | }, | ||
"3": { | "3": { | ||
| − | "description": "Type of item | + | "description": "Type of item as it appears in Crunchbase URL (optional, default is organization))", |
"example": "organization", | "example": "organization", | ||
"type": "string", | "type": "string", | ||
| Line 67: | Line 66: | ||
} | } | ||
}, | }, | ||
| − | "description": "Adds external link to the | + | "description": "Adds external link to the Crunchbase profile of an organization or person.", |
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
| Line 78: | Line 77: | ||
== See also == | == See also == | ||
| − | * {{tl| | + | * {{tl|Crunchbase company}} |
| − | * {{tl| | + | * {{tl|Crunchbase person}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 17:16, 26 January 2019
| 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: ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name)
- Parameter 2: Name to display (optional, default is the current Wikipedia article name)
- Parameter 3: Type of item as it appears in Crunchbase URL (optional, default is organization)
Examples
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:
Organization
- Usage
- {{Crunchbase | apple | Apple Inc. }}
- {{Crunchbase | apple | Apple Inc. | organization }}
- {{Crunchbase company | apple | Apple Inc. }}
- Output
- Apple Inc. at Crunchbase
- Apple Inc. at Crunchbase
- Apple Inc. at Crunchbase
Person
- Usage
- {{Crunchbase | steve-jobs | Steve Jobs | person }}
- {{Crunchbase person | steve-jobs | Steve Jobs }}
- Output
- Steve Jobs at Crunchbase
- Steve Jobs at Crunchbase
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Crunchbase
Adds external link to the Crunchbase profile of an organization or person.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name)
| String | suggested |
| 2 | 2 | Name to display (optional, default is the current Wikipedia article name)
| String | suggested |
| 3 | 3 | Type of item as it appears in Crunchbase URL (optional, default is organization))
| String | suggested |
See also
- {{Crunchbase company}}
- {{Crunchbase person}}