Description
This template has DPL code that shows a list of all locations/NPCs in a category of locations/characters with thumb images next to each article link.
Syntax
On a category of locations or characters:
{{ListThumb}}
On any other page:
{{ListThumb|page=Yume Nikki Locations}}
With other parameters:
{{ListThumb|page=Yume Nikki Characters|size=70|columns=3}}
Usage
The function creates collapsible section with a default of two columns. Articles are listed in alphabetical order and a thumbnail from each is placed to the left of the article name. This creates a more visual list than the pure text of category pages. Its recommended to use this template directly on the location/character categories. This template does not work with any other category of articles as they do not use the Locationbox, NPCBox, or Characterbox templates.
When used on a category of articles that use any of Locationbox, NPCBox, or Characterbox, the function grabs the images from the articles to use them as thumbnails. You can choose which category to generate a list of by specifying the page parameter.
Keep in mind that the size parameter defaults to 100px and only effects width, potentially making tall images a problem.
Note: this template is prevented from working on Category:Yume 2kki Locations as loading 800+ images is not a good idea.
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category Page | page | Select which category of which to generate a list of articles with thumbnails.
| Line | optional |
Thumbnail Widths | size | Limit the width of every thumbnail image to a size in pixels.
| Number | optional |
Number of Columns | columns | The number of columns the articles are ordered in. Any more than 2 may cause the list to be unreadable on mobile devices.
| Number | optional |
Sample
The following input:
{{ListThumb|page=HAL|size=300|columns=1}}
Produces: