Template:Infobox Transmog/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 29:
|description =
}}</pre>
 
==Parameters==
<templatedata>
{
"description": "Creates an infobox for transmog items",
"params": {
"name": {
"label": "Name",
"description": "The name of the transmog.",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "The image of the transmog.",
"example": "50",
"type": "wiki-file-name"
},
"release": {
"label": "Release Date",
"description": "The release date of the transmog.",
"type": "string"
},
"event": {
"label": "Event",
"description": "The event the transmog is obtained from. Expects a link to event page.",
"type": "wiki-page-name"
},
"slot": {
"label": "Slot",
"description": "The equipment slot the transmog overrides.",
"type": "string",
"suggestedvalues": ["Hat", "Torso", "Legs", "Gloves", "Shoes"]
},
"description": {
"label": "Description",
"description": "The description of the transmog.",
"type": "string"
}
}
}
</templatedata>
 
<includeonly>[[Category:Infobox templates]]</includeonly>

Revision as of 21:05, 10 December 2024

This is a documentation subpage for Template:Infobox Transmog.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Infobox Transmog invokes function main in Module:Infobox Transmog using Lua.

Parameters

name

The name of the transmog.

image

The image of the transmog.

release

The release date of the transmog.

event

The event the transmog is obtained from. Expects a link to event page.

slot

The equipment slot the transmog overrides. One of: Hat, Torso, Legs, Gloves, Shoes

description

The description of the transmog.

Quick copy

{{Infobox Transmog
|name = 
|image = 
|release = 
|event = 
|slot = 
|description = 
}}

Parameters

Creates an infobox for transmog items

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the transmog.

Stringrequired
Imageimage

The image of the transmog.

Example
50
Fileoptional
Release Daterelease

The release date of the transmog.

Stringoptional
Eventevent

The event the transmog is obtained from. Expects a link to event page.

Page nameoptional
Slotslot

The equipment slot the transmog overrides.

Suggested values
Hat Torso Legs Gloves Shoes
Stringoptional
Descriptiondescription

The description of the transmog.

Stringoptional