warframe

This is the documentation page for Module:Icon


Icon returns the in-game icon of a particular item.

On this Wiki, Icon is used in:

Usage

Template

In template: {{#invoke:Icon|function|input1|input2|...}}
In articles: {{Icon|Type|input1|input2|...}}

Module

local p = {}
local Icon = require('Module:Icon')

local function func(iconname, textexist, imagesize)
    return Icon._Item(iconname, textexist, imagesize)
end

Documentation

Package items

Other items

Item(iconname, textexist, imagesize) (function)
Returns the icon for an item.
Parameters:
  • iconname Item name (string)
  • textexist If set to 'Text' or 'text', text is added after icon (string; optional)
  • imagesize Image size, defaults to 'x26' (string; optional)
Returns: The icon's image in wikitext (string)
_Item(iconname, textexist, imagesize) (function)
Returns the icon for an item.
Parameters:
  • iconname Item name (string)
  • textexist If set to 'Text' or 'text', text is added after icon (string; optional)
  • imagesize Image size, defaults to 'x26' (string; optional)
Returns: The icon's image in wikitext (string)
HUD(iconname, textexist, imagesize) (function)
Returns the icon for a HUD element.
Parameters:
  • iconname HUD element name (string)
  • textexist If set to 'Text' or 'text', text is added after icon (string; optional)
  • imagesize Image size, defaults to 'x20' (string; optional)
Returns: The icon's image in wikitext (string)
Flag(iconname, tooltip, dest, textexist) (function)
Returns the icon for a real-world country flag.
Parameters:
  • iconname HUD element name (string)
  • tooltip If set to 'Text' or 'text', text is added after icon (string)
  • dest Name of a destination article for linking purposes (string)
  • textexist If set to 'Text' or 'text', text is added after icon (string; optional)
Returns: The icon's image in wikitext (string)
Buff(iconname, textexist, imagesize) (function)
Returns the icon for a HUD buff or debuff.
Parameters:
  • iconname Buff name (string)
  • textexist If set to 'Text' or 'text', text is added after icon (string; optional)
  • imagesize Image size, defaults to 'x40' (string; optional)
Returns: The icon's image in wikitext (string)
Clan(iconname, imagesize) (function)
Returns the icon for a Clan tier.
Parameters:
  • iconname Clan tier name (string)
  • imagesize Image size, defaults to 'x26' (string; optional)
Returns: The icon's image in wikitext (string)
_Clan(iconname, imagesize) (function)
Returns the icon for a Clan tier.
Parameters:
  • iconname Clan tier name (string)
  • imagesize Image size, defaults to 'x26' (string; optional)
Returns: The icon's image in wikitext (string)

Created with Docbunto

See Also


Code