Difference between revisions of "Template:Crunchbase"
imported>Zyxw m (Zyxw moved page Template:CrunchBase to Template:Crunchbase over redirect: as per Crunchbase article, the company rebranded from CrunchBase to Crunchbase in 2016) |
imported>Zyxw (When ID not specified, use Wikidata property P2087 or P2088 if available and add edit link. Allow named parameters: 1=id, 2=name, 3=type.) |
||
| Line 1: | Line 1: | ||
| − | [https://www.crunchbase.com/{{Trim|{{{3|organization}}}}}/{{Replace|{{lc:{{urlencode:{{{1|{{ | + | {{#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]] | ||
| + | |||
| + | | {{#if: {{#property:P2087}} | ||
| + | |||
| + | | [https://www.crunchbase.com/person/{{First word|1={{#property:P2087}}|sep=,}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Crunchbase]]<includeonly>{{EditAtWikidata|pid=P2087}}</includeonly> | ||
| + | |||
| + | | {{#if: {{#property:P2088}} | ||
| + | |||
| + | | [https://www.crunchbase.com/organization/{{First word|1={{#property:P2088}}|sep=,}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Crunchbase]]<includeonly>{{EditAtWikidata|pid=P2088}}</includeonly> | ||
| + | |||
| + | | [https://www.crunchbase.com/{{Trim|{{{3|{{{type<includeonly>|organization</includeonly>}}}}}}}}/{{Replace|{{lc:{{urlencode:{{PAGENAMEBASE}}}}}}|+|-}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Crunchbase]] | ||
| + | |||
| + | }} | ||
| + | }} | ||
| + | }}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 01:17, 17 March 2019
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.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property or Template:Property:
Parameters
- id – ID as it appears in the Crunchbase URL (optional, default is created from Wikidata or the Wikipedia article name)
- name – Name to display (optional, default is the current Wikipedia article name)
- 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)
- Output
Person
- Usage
- Template:Tlcw
- Template:Tlcw
- Output
TemplateData
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 1 | ID as it appears in the Crunchbase URL (optional, default is created from Wikidata or the Wikipedia article name)
| String | suggested |
| name | name 2 | Name to display (optional, default is the current Wikipedia article name)
| String | suggested |
| type | type 3 | Type of item as it appears in Crunchbase URL (optional, default is organization))
| String | suggested |
Tracking categories
- ID parameter exists
- Category:Crunchbase template with organization ID (0)
- Category:Crunchbase template with person ID (0)
- ID parameter does not exist
- Category:Crunchbase template using Wikidata (0)
- Category:Crunchbase template missing ID and not in Wikidata (0)
See also
- {{Crunchbase company}}
- {{Crunchbase person}}
| The above documentation is transcluded from Template:Crunchbase/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |