Template:ItemList

From KeenWiki
Jump to navigation Jump to search

This template expands into a list of items for a given mod or official game. The items are taken from the description on the images uploaded for each item. See Commander Keen's Valentine Bash for an example.

It is used by placing wikicode similar to the following on a mod's page:

== Items ==

{{ItemList}}

Example

  • Potato Chip.png
    Potato Chip
    100 points.
  • Toffee Apple.png
    Toffee Apple
    200 points.
  • Watermelon Slice.png
    Watermelon Slice
    500 points.
  • Jam Donut.png
    Jam Donut
    1,000 points.
  • Chocolate Swiss Roll.png
    Chocolate Swiss Roll
    2,000 points.
  • Pavlova Bowl.png
    Pavlova Bowl
    5,000 points.
  • Ocflore Artifact.png
    Artifact
    An elaborate relic the old Dorsal spoke of.
  • Ocfore Keys.png
    Keys
    Keys to open doors and activate poles.
  • Ostrum.png
    Ostrum
    Globules which hold life-sustaining properties.
  • Ostrum Orb.png
    Ostrum Orb
    Concentrated Ostrum Orb. Gives an extra keen.

If there are no points or collectible items, this must be specified as Items=Hidden or Points=Hidden to avoid a warning:


  • Dangerous Dave in Copyright Infringement - Coin.png
    Coin
    100 points.

No images of this mod's items have been uploaded yet!

== Items ==

{{ItemList|Items=Hidden}}


  • Dangerous Dave in Copyright Infringement - Coin.png
    Coin
    100 points.


Details

Images for each item must be uploaded, and the ItemImage template included on the image's description page, like so:

{{ItemImage
 | Name = Item name
 | Type = Point
 | Points = 500
 | Game = Name of mod
}}

See File:Commander Keen's Valentine Bash - Sherbert.png for example use (note you may need to click the edit link on that page to see the code).

The Game value must match the page title for the mod, as this is how the images are matched up to mods. See Template:ItemImage for more details on what each parameter is for.