Template:Infobox item: Difference between revisions
From Ultimate Dragon Ball Online Wiki
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
! 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 | ||
|- | |- | ||
| colspan="2" style="text-align: center; padding: 5px; font-style: italic;" | {{{description|}}} | |||
}} | |||
|- | |- | ||
{{#if: {{{class|}}} | | {{#if: {{{class|}}} | | ||
! <span style="display: inline-block; text-align: left; width: | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 50px;">Class</span> | ||
{{!}}{{{class | {{!}}<span style="padding-left: 10px;">{{{class}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{level|}}} | | {{#if: {{{level|}}} | | ||
! <span style="display: inline-block; text-align: left; width: | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 50px;">Level</span> | ||
{{!}}{{{level | {{!}}<span style="padding-left: 10px;">{{{level}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{slot|}}} | | {{#if: {{{slot|}}} | | ||
! <span style="display: inline-block; text-align: left; width: | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 50px;">Slot</span> | ||
{{!}}{{{slot | {{!}}<span style="padding-left: 10px;">{{{slot}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{weight|}}} | | {{#if: {{{weight|}}} | | ||
! <span style="display: inline-block; text-align: left; width: | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 50px;">Weight</span> | ||
{{!}}{{{weight | {{!}}<span style="padding-left: 10px;">{{{weight}}}</span> | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{npc_price|}}} | | {{#if: {{{npc_price|}}} | | ||
! <span style="display: inline-block; text-align: left; width: | ! <span style="display: inline-block; text-align: left; padding-left: 10px; width: 50px;">NPC Price</span> | ||
{{!}}{{{npc_price | {{!}}<span style="padding-left: 10px;">{{{npc_price}}} [[File:Ui_icon_zeni.png|16px]]</span> | ||
}} | }} | ||
|- | |||
| colspan="2" style="padding-bottom: 10px;" | <!-- This row adds space at the bottom --> | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Revision as of 02:38, 11 March 2025
| Infobox item Common | |
|---|---|
| General Information | |
Infobox Usage Guide
Parameter Explanations
- title: The name of the item. Defaults to the page name if not provided.
- icon: The filename of the item's icon (e.g., ItemIcon.png). Defaults to item_no_icon.png if not provided.
- description: A brief description of the item.
- Weight: The weight of the item.
- Event Item: Indicates if the item is exclusive to events. Accepts Yes or No. Displays a checkmark (✅) for Yes and a cross (❌) for No.
- Rarity: The rarity level of the item. Accepts values like Common, Superior, Excellent, Rare, or Legendary. Each value is color-coded:
- Common: White (#ffffff) - Superior: Light Blue (#99bbee) - Excellent: Yellow (#ffdd66) - Rare: Red (#ff6677) - Legendary: Pink (#ee77dd)
- Class: The class that can use the item.
- Level: The required level to use the item.
- Slot: The equipment slot where this item is placed (e.g., Weapon, Armor).
- NPC Price: The price of the item when sold to NPC vendors.
Notes
- If a parameter is left blank, it will not be displayed in the infobox.
- Ensure that image files (e.g., icons) are correctly uploaded to the wiki for them to appear.
- Proper formatting and consistent use of parameters ensure uniformity across pages.