Template:Bharatdata ID/doc: Difference between revisions

From Bharatpedia, an open encyclopedia
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see Bharatpedia:Bharatdata) --> == Usage == This template fetches an identifier property from Bharatdataand formats it as a URL. Use as for example: <syntaxhighlight lang="wikitext"> {{Bharatdata ID|P3634|P350|qid=Q19912922}} </syntaxhighlight> which returns: : {{Bharatdata ID|P350|P3634|qid=Q19912922}} If you want to hide the ID, then use:...")
 
No edit summary
 
Line 2: Line 2:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) -->
== Usage ==
== Usage ==
This template fetches an identifier property from Bharatdataand formats it as a URL. Use as for example:
This template fetches an identifier property from Bharatdata and formats it as a URL. Use as for example:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{Bharatdata ID|P3634|P350|qid=Q19912922}}
{{Bharatdata ID|P3634|P350|qid=Q19912922}}

Latest revision as of 09:59, 30 October 2024

Usage

This template fetches an identifier property from Bharatdata and formats it as a URL. Use as for example:

{{Bharatdata ID|P3634|P350|qid=Q19912922}}

which returns:

If you want to hide the ID, then use:

{{Bharatdata ID|P350|P3634|qid=Q19912922|showid=no}}

which returns:

Ordering is new lines by default, but you can change it to commas using:

{{Bharatdata ID|P350|P3634|qid=Q19912922|separator=comma}}

which returns:

See also