Template:Item/doc

Similar to Template:Wild Encounter, Template:Set Encounter, Template:Trainer Battle and the associated sub-templates, this is a template series used on PBB Wikia to standardize the appearance and details of information tables by using the following sub-templates. The major difference is that these sub-templates are for field items. Note that directly using the main template does not work!

Sub-templates
Make sure to put  between sub-templates, in order to prevent the template from crashing. Each sub-template has its own parameters, as follows:

Item/header
This is the header to begin the table. By default, nothing is shown above the table. Here are details of the 3 parameters, to change the header's appearance:
 * Width: This decides the width of whole table. By default, it is "650px", but it can be changed through the use of this parameter when necessary.
 * Floor/Section: Adds an additional column to show either the floors or sections if necessary. Input "Floor" for showing floors and "Section" for displaying sections. Otherwise, ignore this.
 * Theme: Pick a theme from the following table that best suits the place, then the corresponding codes will be used to apply the required background colour to title and headers. Most of the time, it should be having the same theme as the article infobox, but if the table is showing Gym Trainers, use the theme matching specialized type of the Gym. If default theme shall be used, delete this attribute.

Item/div
This is the sub-template for showing the requirements. The attributes are "Theme", which changes the background colour according to the table shown above, and "Requirement", for typing in the actual conditions to pick up the item.

Item/entry
This is the most important part of this template, showing the details of each item available, automatically importing the bag sprite files. A list of parameters are here:
 * Class: Classification of the items. Depending on this input, different sets of parameters will be required to complete the entry. For normal items, ignore this. For TMs or HMs, input "TM" and "HM" respectively. For Gym Battle rewards, type "Gym". For event-only items, type "Event".
 * Item: The item name. Only used for normal or event items, except for the reward in Aredia Gym, where King's Red Jewel is also awarded.
 * Repeat: If the item is repeated, type in how many times it is repeated. Otherwise, ignore this parameter. Only used for normal items because TMs, HMs and Gym Badges cannot be duplicated.
 * Type: Only used if the Class is "TM", "HM" or "Gym". It shows the type of TM or HM.
 * Number: Only used if the Class is "TM", "HM" or "Gym". It displays the TM or HM number.
 * Move: Only used if the Class is "TM", "HM" or "Gym". It shows the attack of that TM or HM.
 * Badge: Only for Class "Gym". Gym Badge name. Just type "Arc", "Brimstone" and so on, no need to input "Badge" because it is already included in the template.
 * Leader: Only for Class "Gym". It shows the Gym Leader's name.
 * Floor or Section: Shows either the floor or section. If Floor is used, just type in the floor number, no need to include "/F". These 2 parameters cannot be used together, only one of them can be used at a time, or the template will crash.
 * Location: Obtaining location or method of the item. Not used in Class "Gym" because it is automatically generated.
 * Hidden: Only for normal items, type "yes" if the item is invisible.
 * Warning: Only for normal items, if the player must fight an important battle immediately afterwards, use this.

Item/footer
This is the footer to complete the table. The only parameter available is "Update" — type "yes" if any of the items are added between updates, or are event-only, with the modification shown in trivia of the page. Input "page" if there are changes, but modifications are shown in other location articles instead. Otherwise, ignore this parameter.