Template:Infobox consumable: Difference between revisions
From Ultimate Dragon Ball Online Wiki
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
|- | |- | ||
! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | General Information | ! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | General Information | ||
|- | |||
{{#if: {{{event_item|}}} | | |||
! <span style="display: inline-block; text-align: left; width: 100px;">Event Item</span> | |||
{{!}}<span>{{#switch: {{{event_item}}} | |||
| Yes = ✅ | |||
| default = {{{event_item}}} }}</span> | |||
}} | |||
|- | |- | ||
{{#if: {{{level|}}} | | {{#if: {{{level|}}} | | ||
! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 100%;">Level</span> | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 100%;">Level</span> | ||
{{!}}<span style="display: inline-block; width: 100%;">{{{level}}}</span> | {{!}}<span style="display: inline-block; width: 100%;">{{{level}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{weight|}}} | | {{#if: {{{weight|}}} | | ||
! <span style="display: inline-block; text-align: left; width: 100px;">Weight</span> | ! <span style="display: inline-block; text-align: left; width: 100px;">Weight</span> | ||
{{!}}{{{ | {{!}}{{{weight|}}} | ||
}} | }} | ||
|- | |- | ||
| Line 39: | Line 38: | ||
! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | Item Effects | ! colspan="2" style="background-color: #dcdcdc; color: black; text-align: center; font-size: 1.1em; font-weight: bold; padding: 5px;" | Item Effects | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{effect|}}} | | ||
! <span style="display: inline-block; text-align: left; width: 100px;">Effect</span> | ! <span style="display: inline-block; text-align: left; width: 100px;">Effect</span> | ||
{{!}}{{{ | {{!}}{{{effect|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{LP_recovery|}}} | | ||
! <span style="display: inline-block; text-align: left; width: 100px;">LP Recovery</span> | ! <span style="display: inline-block; text-align: left; width: 100px;">LP Recovery</span> | ||
{{!}}{{{ | {{!}}{{{LP_recovery|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{EP_recovery|}}} | | ||
! <span style="display: inline-block; text-align: left; width: 100px;">EP Recovery</span> | ! <span style="display: inline-block; text-align: left; width: 100px;">EP Recovery</span> | ||
{{!}}{{{ | {{!}}{{{EP_recovery|}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{duration|}}} | | ||
! <span style="display: inline-block; text-align: left; width: 100px;">Duration</span> | ! <span style="display: inline-block; text-align: left; width: 100px;">Duration</span> | ||
{{!}}{{{ | {{!}}{{{duration|}}} | ||
}} | }} | ||
|} | |} | ||
| Line 71: | Line 70: | ||
| icon = Infobox_consumable_example_icon.png | | icon = Infobox_consumable_example_icon.png | ||
| description = Specially designed therapeutic capsule made after a study on Senzu Beans were conducted. The CC logo is affixed on the capsule. | | description = Specially designed therapeutic capsule made after a study on Senzu Beans were conducted. The CC logo is affixed on the capsule. | ||
| | | event_item = No | ||
| | | level = 1 | ||
| | | rarity = Common | ||
| | | weight = 0.0 | ||
| | | npc_price = 375 | ||
| | | effect = Restores health | ||
| | | LP_recovery = 750 | ||
| EP_recovery = 0 | |||
| duration = 0 seconds | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 85: | Line 86: | ||
| icon = Infobox_consumable_example_icon.png | | icon = Infobox_consumable_example_icon.png | ||
| description = Specially designed therapeutic capsule made after a study on Senzu Beans were conducted. The CC logo is affixed on the capsule. | | description = Specially designed therapeutic capsule made after a study on Senzu Beans were conducted. The CC logo is affixed on the capsule. | ||
| | | event_item = No | ||
| | | level = 1 | ||
| | | rarity = Common | ||
| | | weight = 0.0 | ||
| | | npc_price = 375 | ||
| | | effect = Restores health | ||
| | | LP_recovery = 750 | ||
| EP_recovery = 0 | |||
| duration = 0 seconds | |||
}} | }} | ||
|} | |} | ||
Revision as of 17:20, 11 March 2025
| Infobox consumable Common | |
|---|---|
| General Information | |
| Item Effects |
Infobox Usage Guide
Parameter Explanations
- icon: The file name of the small icon representing the item (e.g., ItemIcon.png).
- description: A brief explanation of what the item is and its lore or function.
- Weight: The weight of the item, if applicable.
- Event Item: Indicate if the item is exclusive to events (Yes or No).
- Rarity: The rarity level of the item (e.g., Common, Rare, Legendary).
- Effect: Any special effects or bonuses provided by the item.
- LP Recovery: The amount of Life Points (LP) recovered when using the item.
- EP Recovery: The amount of Energy Points (EP) recovered when using the item.
- Duration: The duration of the item's effect (e.g., 30 seconds, 5 minutes).
Important!
- If a parameter is left blank, it will not be displayed in the infobox.
- File names for images must be correctly uploaded to the wiki for them to appear.
- Ensure proper formatting and spacing for consistency across pages.