This template fetches an identifier property from Wikidata and formats it as a URL. Use as for example:
{{Wikidata ID line|P3634|qid=Q19905080}}
which returns:
If you want to hide the ID, then use:
{{Wikidata ID line|P3634|qid=Q19905080|showid=no}}
which returns:
Use with {{Wikidata ID}} to return multiple IDs at once.