Template:Infobox npc: Difference between revisions
From Ultimate Dragon Ball Online Wiki
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
| Demon = #ff6677 <!-- Red --> | | Demon = #ff6677 <!-- Red --> | ||
| Ghost = #ff6677 <!-- Red --> | | Ghost = #ff6677 <!-- Red --> | ||
| | | Saibaman = #ff6677 <!-- Red --> | ||
| Bug = #ff6677 <!-- Red --> | | Bug = #ff6677 <!-- Red --> | ||
| Saiyan = #ff6677 <!-- Red --> | |||
| default = #ffffff }}">{{{race|<span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: #64ff77;>Human</span>}}}</span>}} | | default = #ffffff }}">{{{race|<span style="font-size: 0.9em; font-weight: bold; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: #64ff77;>Human</span>}}}</span>}} | ||
|- | |- | ||
| colspan="2" style="text-align: center; padding-top: 10px;" | [[File:{{#if: {{{image|}}} | {{{image}}} | | | colspan="2" style="text-align: center; padding-top: 10px;" | [[File:{{#if: {{{image|}}} | {{{image}}} | npc_no_image.png }}|200px]] | ||
|- | |- | ||
! 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 | ||
| Line 57: | Line 58: | ||
| <pre> | | <pre> | ||
{{Infobox_npc | {{Infobox_npc | ||
| title = | | title = Goku | ||
| | | image = Infobox_npc_example.png | ||
| | | race = Saiyan | ||
| level = 20 | | level = 20 | ||
| slot = Jacket | | slot = Jacket | ||
| Line 70: | Line 69: | ||
| {{Infobox_npc | | {{Infobox_npc | ||
| title = Classic Magic Rubber Suit (Top) | | title = Classic Magic Rubber Suit (Top) | ||
| icon = | | icon = Infobox_npc_example.png | ||
| description = Advanced materials are used to make this, completely without regard to cost. | | description = Advanced materials are used to make this, completely without regard to cost. | ||
| rarity = Rare | | rarity = Rare | ||
Revision as of 03:55, 11 March 2025
| Infobox npc Human | |
|---|---|
| |
| 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.
