Difference between revisions of "Template:Crunchbase"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add tracking categories for articles with ID in template)
imported>Zyxw
m (formatting)
 
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}}
  
| [https://www.crunchbase.com/{{Trim|{{{3|{{{type<includeonly>|organization</includeonly>}}}}}}}}/{{Replace|{{lc:{{urlencode:{{{1|{{{id}}}}}}}}}}|+|-}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Crunchbase]]{{Main other|{{#ifeq:{{{3|{{{type|}}}}}|person
+
| [https://www.crunchbase.com/{{Trim|{{{3|{{{type<includeonly>|organization</includeonly>}}}}}}}}/{{Replace|{{lc:{{urlencode:{{{1|{{{id}}}}}}}}}}|+|-}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Crunchbase]]{{Main other|{{#ifeq:{{{3|{{{type|}}}}}}|person
 
   | [[Category:Crunchbase template with person ID]]
 
   | [[Category:Crunchbase template with person ID]]
 
   | [[Category:Crunchbase template with organization ID]]
 
   | [[Category:Crunchbase template with organization ID]]

Latest revision as of 03:20, 17 March 2019

{{{name}}} at Crunchbase

Template documentation[view] [edit] [history] [purge]

Template:Template redirect Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:Crunchbase displays an external link to the Crunchbase profile of an organization or a person. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property or Template:Property:

Template:Tlcw
Template:Tlcw

Parameters

  1. id – ID as it appears in the Crunchbase URL (optional, default is created from Wikidata or the Wikipedia article name)
  2. name – Name to display (optional, default is the current Wikipedia article name)
  3. type – Type of item as it appears in Crunchbase URL (optional, default is organization)

Examples

Using {{Crunchbase}} works fine in most articles, as it uses Wikidata or the article's title to create the URL. If not, then try one of the following methods:

Organization (default)

URL
https://www.crunchbase.com/organization/apple
Usage
Template:Tlcw
Template:Tlcw
Template:Tlcw
Output

Person

URL
https://www.crunchbase.com/person/steve-jobs
Usage
Template:Tlcw
Template:Tlcw
Output

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

This template displays an external link to the Crunchbase profile of an organization or a person. It is intended for use in the external links section of an article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
idid 1

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

Example
apple
Stringsuggested
namename 2

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

Example
Apple Inc.
Stringsuggested
typetype 3

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

Example
organization
Stringsuggested

Tracking categories

ID parameter exists
ID parameter does not exist

See also