Difference between revisions of "Template:Crunchbase"
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
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. |