Template:HeldItems/ItemsLA/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search

This template is used to create the items column of a table that shows which items a Pokémon can hold or drop. It is meant to be used on its species page. This template shows items for Pokémon Legends: Arceus specifically, while Template:HeldItems/Items1, Template:HeldItems/Items2, and Template:HeldItems/Items3 show one, two, or three items.

Other pages used to create these tables include: Template:HeldItems/header, Template:HeldItems/Games1, and Template:HeldItems/Games2. (See this page to check if there are any others that have not been added.)

Parameters

In Legends, Alpha Pokémon have different drops than non-Alpha (normal) spawns. This template shows items for both.

  • Normal spawns
    • 1: the name of the first item to show
    • 2: the rate of the first item (for 5%, only enter "5")
    • 3: the name of the second item to show
    • 4: the rate of the second item
  • Alpha spawns
    • 5: the name of the first (Alpha) item to show
    • 6: the rate of the first item
    • 7: the name of the second item to show
    • 8: the rate of the second item
Named
  • For the first item for normal spawns...
    • image1N (optional): an override for the image to show for the item; defaults to the "bag sprite" of the item, Bag [1] Sprite.png, where [1] is the value of parameter 1
    • size1N (optional): a custom size for the item's image (meant to shrink it); you can use values like "32px" or "50%", but defaults to "40px"
    • TMmove1N (optional): if the item is a TM, this can add custom text about the move it contains (for example, for TM43: ({{m|Detect}}))
    • availNote1N (optional): a custom note before the item's rate that can qualify how it is obtained; this may generally be necessary if different items can be obtained in different circumstances
  • image2N, size2N, TMmove2N, availNote2N (optional): same as above, but for the second item for normal spawns
  • image1A, size1A, TMmove1A, availNote1A (optional): same as above, but for the first item for Alpha spawns
  • image2A, size2A, TMmove2A, availNote2A (optional): same as above, but for the second item for Alpha spawns

Usage

A basic usage of ItemsLA is as follows.

{{HeldItems/header|type=Fairy}}
{{HeldItems/Games1|Legends: Arceus|tcolor=FFF|Pokémon Legends: Arceus}}
{{HeldItems/ItemsLA|Leppa Berry|50|Vivichoke|50|Exp. Candy M|100|Seed of Mastery|20}}
|}
Games Held items
Legends: Arceus
None.png Normal
Vivichoke Vivichoke (50%)
Grit items by level
Alpha icon.png Alpha
Exp. Candy M Exp. Candy M (100%)
Grit items by level

If an item's name is not the same as its image, use the image parameters.

{{HeldItems/header|type=Fairy}}
{{HeldItems/Games1|Legends: Arceus|tcolor=FFF|Pokémon Legends: Arceus}}
{{HeldItems/ItemsLA|Recipe{{!}}Recipe: Honey Cake|50|Recipe{{!}}Recipe: Grain Cake|50|Old Verse 1|100|Old Verse 2|20|image1N=Bag Recipe LA Sprite.png|image2N=Bag Recipe LA Sprite.png|image1A=Bag Old Verse LA Sprite.png|image2A=Bag Old Verse LA Sprite.png}}
|}
Games Held items
Legends: Arceus
None.png Normal
Grit items by level
Alpha icon.png Alpha
Old Verse 1 Old Verse 1 (100%)
Grit items by level

Other parameters mainly mirror those used in the generic item column templates (Items1, Items2, and Items3) and may not be needed for most Legends drops. If necessary, refer to Template:HeldItems/Items1 for an example of how the other paramters are used.