Skabelon:Infoboks gen
| Denne skabelon bruger Lua: |
billede (P18) (see brug)
interagerer fysisk med (P129) (see brug)
underklasse til (P279) (see brug)
NCBI Entrez Gene-id (P351) (see brug)
UniProt-id (P352) (see brug)
gensymbol (P353) (see brug)
HGNC ID (P354) (see brug)
OMIM ID (P492) (see brug)
EC enzyme number (P591) (see brug)
ChEMBL-ID (P592) (see brug)
HomoloGene ID (P593) (see brug)
Ensembl ID (P594) (see brug)
IUPHAR ID (P595) (see brug)
RefSeq identifikator (P637) (see brug)
PDB-identifikator (P638) (see brug)
RefSeq RNA-ID (P639) (see brug)
Genloc Start (P644) (see brug)
Genloc End (P645) (see brug)
genomisk montage (P659) (see brug)
Mouse Genome Informatics-identifikationskode (P671) (see brug)
molekylær funktion (P680) (see brug)
cellekomponent (P681) (see brug)
biologisk proces (P682) (see brug)
ortolog (P684) (see brug)
Gene Ontology identifikator (P686) (see brug)
genprodukt kodet (P688) (see brug)
Gene Atlas-billede (P692) (see brug)
kodet af (P702) (see brug)
kromosom (P1057) (see brug)
genetisk association (P2293) (see brug)
This is the Infobox gene template. The data in the infobox is sourced from wikidata. The lua implementation of this template is located at Module:Infobox_gene
Usage on a gene page
[rediger kildetekst]Append {{infobox_gene}} to the top of a gene page. The infobox is populated via the interwiki linked item of the page it resides on. To view which wikidata item is linked to a page, follow the "Wikidata items" link from the "Tools" menu to the left of the article.
Usage on a protein page
[rediger kildetekst]Append {{infobox_gene}} to the top of a protein page. The infobox is populated by using the interwiki linked item of the protein to find the encoded gene item and then uses the gene item to populate the infobox.
Usage on other pages
[rediger kildetekst]Any page can display the infobox even if it does not have a gene or protein interwiki link. The wikidata item must be explicitly added as a parameter and the underlying module is invoked. For instance, appending
{{#invoke:Infobox_gene|getTemplateData|QID=Q414043}} to the top of any page will create an infobox for the gene RELN. QID is the wikidata gene item used to populate the infobox. Substitute the wikidata item id (QID) of interest as the QID parameter.
Error Message
[rediger kildetekst]"An Error has occurred retrieving Wikidata item for infobox" Indicates a non gene/protein wikidata item or an incomplete wikidata item.
Categories
[rediger kildetekst]Including this template will automatically result in the addition of relevant categories based on the properties of the gene. These include Category:Human proteins and categories that correspond to the chromosome where the gene is located, such as Category:Genes on human chromosome 19. Other categories added manually to the article apart from the template will work as usual.
Se også
[rediger kildetekst]- Projekt på Wikidata: Wikidata:WikiProject Medicine/Properties