Difference between revisions of "Template:Crunchbase/doc"

From blackwiki
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|crunchbase}}
+
{{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 CrunchBase URL
+
* '''Parameter 1:''' ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name)
* '''Parameter 2:''' Optional name to display
+
* '''Parameter 2:''' Name to display (optional, default is the current Wikipedia article name)
* '''Parameter 3:''' Type of item (as it appears in CrunchBase URL)
+
* '''Parameter 3:''' Type of item as it appears in Crunchbase URL (optional, default is organization)
 
 
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:
 
  
 
== 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>{{crunchbase | apple | Apple Inc. }}</nowiki></kbd>
+
: <kbd><nowiki>{{Crunchbase | apple | Apple Inc. }}</nowiki></kbd>
: <kbd><nowiki>{{crunchbase | apple | Apple Inc. | organization }}</nowiki></kbd>
+
: <kbd><nowiki>{{Crunchbase | apple | Apple Inc. | organization }}</nowiki></kbd>
: <kbd><nowiki>{{crunchbase company | apple | Apple Inc. }}</nowiki></kbd>
+
: <kbd><nowiki>{{Crunchbase company | apple | Apple Inc. }}</nowiki></kbd>
  
 
; Output
 
; Output
: {{crunchbase | apple | Apple Inc. }}
+
: {{Crunchbase | apple | Apple Inc. }}
: {{crunchbase | apple | Apple Inc. | organization }}
+
: {{Crunchbase | apple | Apple Inc. | organization }}
: {{crunchbase company | apple | Apple Inc. }}
+
: {{Crunchbase company | apple | Apple Inc. }}
  
 
=== Person ===
 
=== Person ===
Line 36: Line 35:
  
 
; Usage
 
; Usage
: <kbd><nowiki>{{crunchbase | steve-jobs | Steve Jobs | person }}</nowiki></kbd>
+
: <kbd><nowiki>{{Crunchbase | steve-jobs | Steve Jobs | person }}</nowiki></kbd>
: <kbd><nowiki>{{crunchbase person | steve-jobs | Steve Jobs }}</nowiki></kbd>
+
: <kbd><nowiki>{{Crunchbase person | steve-jobs | Steve Jobs }}</nowiki></kbd>
  
 
; Output
 
; Output
: {{crunchbase | steve-jobs | Steve Jobs | person }}
+
: {{Crunchbase | steve-jobs | Steve Jobs | person }}
: {{crunchbase person | steve-jobs | Steve Jobs }}
+
: {{Crunchbase person | steve-jobs | Steve Jobs }}
  
 
== TemplateData ==
 
== TemplateData ==
Line 49: Line 48:
 
"params": {
 
"params": {
 
"1": {
 
"1": {
"description": "ID (as it appears in the CrunchBase URL)",
+
"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",
"required": true
+
"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 (as it appears in CrunchBase URL)",
+
"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 CrunchBase profile of an organization or person.",
+
"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|crunchbase company}}
+
* {{tl|Crunchbase company}}
* {{tl|crunchbase person}}
+
* {{tl|Crunchbase person}}
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 17:16, 26 January 2019

Template:Template redirect

Usage

Template:Tlcw
Template:Tlcw
Template:Tlcw
Template:Tlcw
  • 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

URL
https://www.crunchbase.com/organization/apple
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

URL
https://www.crunchbase.com/person/steve-jobs
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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

ID as it appears in the Crunchbase URL (optional, default is created from Wikipeda article name)

Example
apple
Stringsuggested
22

Name to display (optional, default is the current Wikipedia article name)

Example
Apple Inc.
Stringsuggested
33

Type of item as it appears in Crunchbase URL (optional, default is organization))

Example
organization
Stringsuggested

See also