پرش به محتوا

الگو:Infobox gene/توضیحات: تفاوت میان نسخه‌ها

از ایران پدیا
الگو>Shkuru Afshar
بدون خلاصۀ ویرایش
 
imported>Rayatpor
جز ۱ نسخه واردشده
 
(۲ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد)
خط ۳۱: خط ۳۱:
[[رده:الگو:پروتئین انسانی]]
[[رده:الگو:پروتئین انسانی]]
[[رده:الگو:جعبه‌اطلاعات مرتبط با ویکی‌داده]]
[[رده:الگو:جعبه‌اطلاعات مرتبط با ویکی‌داده]]
[[رده:الگوهای مبتنی بر لوآی جعبه‌های اطلاعات]]
[[رده:الگو:جعبه اطلاعات مبتنی بر لوآ]]
}}</includeonly>
}}</includeonly>

نسخهٔ کنونی تا ۵ آبان ۱۴۰۰، ساعت ۱۲:۲۳

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


استفاده در یک صفحه دربارهٔ ژن

[ویرایش مبدأ]

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.

استفاده در یک صفحه دربارهٔ پروتئین

[ویرایش مبدأ]

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.

استفاده در دیگرصفحات

[ویرایش مبدأ]

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.

پیغام خطا

[ویرایش مبدأ]

"An Error has occurred retrieving Wikidata item for infobox" Indicates a non gene/protein wikidata item or an incomplete wikidata item.