Template:ItemBox: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m use ifeq true for is_active |
m Added some more examples |
||
| Line 40: | Line 40: | ||
A port of the initial box in [[Template:Infobox item]] with links, for use on pages that could use it without the whole infobox. | A port of the initial box in [[Template:Infobox item]] with links, for use on pages that could use it without the whole infobox. | ||
{{ItemBox|item_name = | {{ItemBox|item_name = Basic Magazine}} | ||
{{ItemBox|item_name = Titanic Magazine}} | |||
{{ItemBox|item_name = Shadow Weave}} | {{ItemBox|item_name = Shadow Weave}} | ||
{{ItemBox|item_name = Debuff Remover}} | |||
{{ItemBox|item_name = Duration Extender}} | {{ItemBox|item_name = Duration Extender}} | ||
{{ItemBox|item_name = Improved Spirit}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Revision as of 23:36, 9 September 2024
| [[File:{{{item_name}}}.png|50px|link={{{item_name}}}]]
[[File:Item Not Found..png|20px|link=Item Not Found.]] |
| [[{{{item_name}}}]] |
A port of the initial box in Template:Infobox item with links, for use on pages that could use it without the whole infobox.
[[File:Item Not Found..png|20px|link=Item Not Found.]] |
| Basic Magazine |
| Titanic Magazine |
|---|
ACTIVE |
| Shadow Weave |
[[File:Item Not Found..png|20px|link=Item Not Found.]] |
| Debuff Remover |
| Duration Extender |
|---|
| Improved Spirit |
|---|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| item_name | item_name | Name of the item
| String | required |
| display_name | display_name | The display name of the item (for special cases such as Bullet Lifesteal (item) or Spirit Lifesteal (item))
| String | optional |
| componentOf | componentOf | The name of the item this is a component of, for linking
| String | optional |
| item_type | item_type | Overrides default item type. See Module:ItemData
| String | optional |
| item_price | item_price | Overrides default item price. See Module:ItemData
| Number | optional |
| active | active | Overrides default item active status. See Module:ItemData
| Boolean | optional |