This is the documentation page for Module:Gallery
Gallery provides consistent formatting and a simplified interface for generating galleries of WARFRAME's content on the wiki. Generated galleries should always have a caption beneath images for accessibility.
Gallery can be invoked directly ({{#invoke:Gallery|function|...}}), invoked from a template ({{template|function|...}}), or used within other modules.
If you want to see the raw wikitext output from calling this module's functions, {{#invoke:}} this Module, on Special:ExpandTemplates.
On this Wiki, Gallery is used in:
Galleries
{{#invoke:Gallery|buildModGallery|Amalgam Barrel Diffusion|Barrel Diffusion|Primed Continuity|Scorch|Hunter's Bonesaw}}
View List▾▾
Lua error in Module:Gallery at line 46: data for mw.loadData contains a table with a metatable.
{{#invoke:Gallery|buildWeaponGallery|Opticor Vandal|Opticor|MK1-Kunai|Dual Heat Swords|Exalted Blade}}
View List▾▾
Lua error in Module:Gallery at line 46: data for mw.loadData contains a table with a metatable.
Documentation
Package items
gallery.buildModGallery(frame)(function)- Builds a gallery that displays mods.
- Parameter:
frameThe input arguments, each param represents a mod that is to be displayed in a gallery format; assumes parameters passed in are valid mod names and exist in M:Mods/data (table) - Returns: Gallery result in wikitext (string)
gallery.buildWeaponGallery(frame)(function)- Builds a gallery that displays weapons.
- Parameter:
frameThe input arguments, each param represents a mod that is to be displayed in a gallery format; assumes parameters passed in are valid weapon names and exist in M:Weapons/data (table) - Returns: Gallery result in wikitext (string)
gallery.buildGallery(frame)(function)- Builds a generalized gallery that displays many different WARFRAME items.
- Parameter:
frameThe input arguments of WARFRAME items to display (table) - Returns: (string} Gallery result in wikitext
gallery.buildCosmeticGallery(frame)(function)- Builds a gallery for a non-TennoGen cosmetics.
- Parameter:
frame(string) - Returns: Gallery of a specific cosmetic type in wikitext (string)
- Created with Docbunto
See Also