Esta es la plantilla del gen Infobox. Los datos del infobox provienen de Wikidata. La implementación de Lua de esta plantilla se encuentra en Módulo:Gene Infobox .
Añadir {{infobox gene}}
al principio de una página de genes. El cuadro de información se completa a través del elemento Wikidata de la página en la que se encuentra. Para ver qué elemento Wikidata está vinculado a una página, siga el enlace "Elementos Wikidata" del menú "Herramientas" a la izquierda del artículo.
Agregar {{infobox gene}}
al principio de una página de proteínas. El cuadro de información se completa utilizando el elemento Wikidata de la proteína para encontrar el elemento del gen codificado y luego se utiliza el elemento del gen para completar el cuadro de información.
Cualquier página puede mostrar el cuadro de información incluso si no tiene un enlace interwiki de un gen o proteína. El elemento Wikidata debe agregarse explícitamente como parámetro y se invoca el módulo subyacente. Por ejemplo, si se agrega {{#invoke:Infobox_gene|getTemplateData|QID=Q414043}}
al principio de cualquier página, se creará un cuadro de información para el gen RELN . QID es el elemento de gen Wikidata que se utiliza para completar el cuadro de información. Sustituya el identificador del elemento Wikidata (QID) de interés como el parámetro QID.
"Se ha producido un error al recuperar el elemento Wikidata para el cuadro de información" Indica un elemento Wikidata que no es genético/proteico o un elemento Wikidata incompleto.
Al incluir esta plantilla, se agregarán automáticamente categorías relevantes según las propiedades del gen. Entre ellas, se incluyen la Categoría:Proteínas humanas y las categorías que corresponden al cromosoma en el que se encuentra el gen, como la Categoría:Genes en el cromosoma humano 19. Otras categorías agregadas manualmente al artículo, además de la plantilla, funcionarán de la manera habitual.
La estructura de datos de genes y proteínas en Wikidata es un poco compleja. Aunque solo hay un artículo sobre genes y proteínas en Wikipedia, hay muchas páginas de datos en Wikidata.
Básicamente, Wikidata tiene páginas diferenciadas para genes y proteínas, cada una de ellas para su especie (ver la tabla a continuación). Y las páginas están interconectadas según las siguientes reglas.
Los datos que infobox_gene muestra a los lectores se recopilan de algún lugar de estas páginas interconectadas de Wikidata.
En la mayoría de los casos, la página del artículo de Wikipedia está conectada a la página de datos genéticos humanos . Por ejemplo, Sonic hedgehog .
En algunos casos, la página del artículo de Wikipedia está conectada a la página de datos sobre proteínas humanas . Por ejemplo, Reelin .
A continuación se muestra una lista de los datos que se utilizan en esta plantilla. Se muestra un ejemplo de los datos y su ubicación en el caso de Sonic Hedgehog .