Template:Infobox Transmog/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
===event=== |
===event=== |
||
The event the transmog is obtained from. |
The event the transmog is obtained from. Expects a link to event page. |
||
===slot=== |
===slot=== |
||
The equipment slot the transmog overrides. |
The equipment slot the transmog overrides. One of: Hat, Torso, Legs, Gloves, Shoes |
||
===description=== |
===description=== |
||
The description of the transmog |
The description of the transmog. |
||
==Quick copy== |
==Quick copy== |
||
Line 29: | Line 29: | ||
|description = |
|description = |
||
}}</pre> |
}}</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.", |
|||
"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> |
<includeonly>[[Category:Infobox templates]]</includeonly> |
Latest revision as of 21:06, 10 December 2024
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the transmog. | String | required |
Image | image | The image of the transmog. | File | optional |
Release Date | release | The release date of the transmog. | String | optional |
Event | event | The event the transmog is obtained from. Expects a link to event page. | Page name | optional |
Slot | slot | The equipment slot the transmog overrides.
| String | optional |
Description | description | The description of the transmog. | String | optional |