• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Wikidata ID line

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

Usage

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:

The Met object ID: 437882

If you want to hide the ID, then use:

{{Wikidata ID line|P3634|qid=Q19905080|showid=no}}

which returns:

The Met object

Use with {{Wikidata ID}} to return multiple IDs at once.

See also

  • {{Formatter link}}
  • {{Wikidata URL}}
The above documentation is transcluded from Template:Wikidata ID line/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wikidata_ID_line&oldid=960748552"
Last edited on 4 June 2020, at 18:01

Languages

    • العربية
    • বাংলা
    • Banjar
    • Cebuano
    • Cymraeg
    • فارسی
    • Bahasa Indonesia
    • Jawa
    • Latviešu
    • Македонски
    • മലയാളം
    • ਪੰਜਾਬੀ
    • Română
    • Scots
    • Simple English
    • Svenska
    • တႆး
    • اردو
    • Tiếng Việt
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 4 June 2020, at 18:01 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop