×
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

(page parameter)
m (add size param, default to 100)
Line 1: Line 1:
<noinclude>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. <nowiki>{{LocationThumb|page=Yume Nikki Locations}}</nowiki>) </noinclude>
<noinclude>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. <nowiki>{{LocationThumb|page=Yume Nikki Locations}}</nowiki>). You can also alter the size of displayed images using ''size''. </noinclude>
<includeonly>
<includeonly>
<div class="toccolours mw-collapsible">
<div class="toccolours mw-collapsible">
Line 5: Line 5:
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<div style="-webkit-column-count:2;column-count:2;">
<div style="-webkit-column-count:2;column-count: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:,{{!}}40px{{!}}%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|count=200|include={Locationbox}: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 00:11, 25 June 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.