×
Create a new article
Write your page title here:
We currently have 3,034 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,034Articles

Template:ListThumb: Difference between revisions

(column parameter)
(allow npcs too)
Line 5: Line 5:
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<div style="-webkit-column-count:{{{columns|2}}};column-count:{{{columns|2}}};">
<div style="-webkit-column-count:{{{columns|2}}};column-count:{{{columns|2}}};">
{{#dpl:execandexit={{#ifeq:{{{page|{{PAGENAME}}}}}|Yume 2kki Locations|don't use on 2kki's page please|}}|execandexit={{#ifeq:{{NAMESPACE}}|Template|disabled on the template|}}|category={{{page|{{PAGENAME}}}}}|uses=Template:Locationbox|count=200|include={Locationbox}:image|format=,\n*[[File:,{{!}}{{{size|100}}}px{{!}}%PAGE%]] [[%PAGE%{{!}}%TITLE%]]<br />,|ordermethod=title|cacheperiod=604800}}
{{#dpl:execandexit={{#ifeq:{{{page|{{PAGENAME}}}}}|Yume 2kki Locations|don't use on 2kki's page please|}}|execandexit={{#ifeq:{{NAMESPACE}}|Template|disabled on the template|}}|category={{{page|{{PAGENAME}}}}}|uses=Template:Locationbox{{!}}Template:NPCBox|count=200|include={Locationbox}:image,{NPCBox}:image|format=,\n*[[File:,{{!}}{{{size|100}}}px{{!}}%PAGE%]] [[%PAGE%{{!}}%TITLE%]]<br />,|ordermethod=title|cacheperiod=604800}}
</div></div></div>
</div></div></div>
‎</includeonly>
‎</includeonly>

Revision as of 04:43, 1 July 2023

This template has DPL code that shows a list of all locations in a category of locations with thumb images next to each article link. Used on categories that list locations only. You can use this on other pages by specifying the page parameter (e.g. {{LocationThumb|page=Yume Nikki Locations}}). You can also alter the size of displayed images using size and number of columns using columns.