Jump to content

User:Was a bee/Infobox gene/sub/doc

From Wikipedia, the free encyclopedia

Sub page of {{infobox gene}}. Used internally in the template to get Wikidata page QID.

Usage

[edit]

{{Infobox gene/getPageQID|species|page type|QID}}

  • species: "Human" or "Mouse"
  • page type: "Gene" or "Protein"
  • QID: optional

Examples

[edit]

If using following codes at Wikipedia article Sonic hedgehog,

  • {{Infobox gene/getPageQID|Human|Gene}} returns Q14860072 (QID of this page -> d:Q14860072)
  • {{Infobox gene/getPageQID|Mouse|Protein}} returns Q14860215 (QID of this page -> d:Q14860215)