Template:Image display by title

From Sun Haven Wiki
Jump to navigation Jump to search
float Template documentation[View] [Edit] [History] - [Sandbox] [Refresh]
Displays images and names of item. This template is case-sensitive.

Important Note: First parameter should be singular

Syntax

{{Item showcase
|name (singular)
|category = Item category (optional)
|only     = Name matcher
|not      = Name matcher (comma-separated)
}}

Category

This template will put an "s" on the end of the name as the category. This doesn't work for items like "Shelf", because that would look for the category "Shelfs" - not "Shelves". This parameter allows this to be overridden to handle this case.

Only

Text to look for at the end of an item name. For example, "Stool" would look for all items that end with the word "Stool".

Not

Comma-separated list of texts to exclude from the list.

Note: not and only searches for the end of text. If you want it to search anywhere in the text, add % to the end (i.e. only=Year of the%)

Examples

Beds

{{Item showcase|Bed}}

Stools

{{Item showcase|Chair|only=Stool}}

Windows

{{Item showcase|Window}}
See the articles and the templates currently using this template.