Template:Bharatdata entity link
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Template:Bharatdata entity link is used to get an automatically localized link to a Bharatdata item or property.
Usage examples
- Standard usage
{{Bharatdata entity link}}→ [[d:Special:EntityPage/Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value).|Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value).)]]{{Bharatdata entity link|1}}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{Bharatdata entity link|Q1}}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{Bharatdata entity link|P681}}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (P681)
- Leading/trailing white space
{{Bharatdata entity link | 1 }}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{Bharatdata entity link | Q1 }}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{Bharatdata entity link | P681 }}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (P681)
- Lower case
{{Bharatdata entity link | q1 }}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{Bharatdata entity link | p681 }}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (P681)
- Template shortcuts
{{q|1}}→ Lua error in Module:Wd at line 620: attempt to index field 'wikibase' (a nil value). (Q1){{wde|Q1}}→ Template:Wde{{wdq|P681}}→ Template:Wdq
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 Bharatdata entity link
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| item or property number | 1 | The letter P is required when linking to properties. The letter Q is optional when linking to items.
| Line | suggested |
See also
- d:Template:Q
- d:Template:Property
- {{Get QID|<Bharatpedia page title>}}
- {{Label}}
- {{LinkedLabel}}
- {{Bharatdata fallback link}}
- {{Bharatdata property}}
- {{Bharatdata property link}}
- {{Authority control}}
- {{QID}}