範本檔 (範本有時隱藏或不可見)
Description

Produces a link that also displays a representative image. It works with mods, weapons and enemies, but it might work with other pages as well.

Syntax
{{ImgTooltip|<page_name>|<display_name>|<show_core_icon>}}

Parameter dividers are required up to the last required parameter.

  • page_name(required) is the Warframe Wiki page that you want linked, from where it pulls the image. Usually, it's the name of the mod, the weapon or the enemy, but sometimes it might include extra letters. If this parameter is not a valid page name, the link will still display as normal, but the tooltip will Error, and DB search links will be appended via Javascript to the link. Clicking such a link will open a creation page.
  • display_name(optional) Changes the the link text, though the tooltip is unaffected.
  • show_core_icon(optional) If this parameter has any value, the Fusion Core icon will be displayed on the left side of the link. If you want the icon to not be displayed, don't use this parameter.
Examples
{{ImgTooltip|Serration}}

Serration

{{ImgTooltip|Primed Flow|Primed Flow|true}}

FusionCorePackSilversingle.pngPrimed Flow

{{ImgTooltip|Inexistent Page}}

Inexistent Page

{{ImgTooltip|Sigils}}

Sigils

{{ImgTooltip|Captain Vor}}

Captain Vor

{{ImgTooltip|Boltor Prime|Boltor Prime}}

Boltor Prime

Notes
  • In order for this to work with a page, that page must contain a table with the class "infobox", and that table must contain a column with the class "image". The image will be taken from the first cell of the first column with the class "image". Template:ModBox, Template:WeaponInfoboxU11 and Template:Enemy will work just well with this.

訪問Template:ImgTooltip/doc編輯這個文本! (如何使用?)
除非另有註明,否則社區內容均使用CC-BY-SA授權條款。