Difference between revisions of "LevelGallery"
From Sonic Retro
PicklePower (talk | contribs) |
PicklePower (talk | contribs) |
||
Line 14: | Line 14: | ||
{{#dpl: | {{#dpl: | ||
|category={{{1}}} | |category={{{1}}} | ||
− | |include={LevelBob}:levelscreen,{LevelBob}: | + | |include={LevelBob}:levelscreen,{LevelBob}:levelscreen,{LevelBob}:name,{LevelBob}:name,{LevelBob}:game |
|ordermethod=title | |ordermethod=title | ||
|order=ascending | |order=ascending | ||
|mode = userformat | |mode = userformat | ||
− | |secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦[[Image:,,¦x144px¦link=%PAGE%]]¦[[Image:Image upload.svg{{!}}x144px{{!}}link=%PAGE%]]}²<br><div class="posabs" style="background:#000;opacity:0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;">²{#if:,,¦'''[[,,]]'''¦'''[[%PAGE%]]'''}² ²{#ifeq:{{{gameTitle}}}¦hide¦<span style="display:none">¦<br />}²''[[ | + | |secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦[[Image:,,¦x144px¦link=%PAGE%]]¦[[Image:Image upload.svg{{!}}x144px{{!}}link=%PAGE%]]}²<br><div class="posabs" style="background:#000;opacity:0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;">²{#if:,,¦'''[[,,]]'''¦'''[[%PAGE%]]'''}² ²{#ifeq:{{{gameTitle}}}¦hide¦<span style="display:none">¦<br />}²''[[,]]''²{#ifeq:{{{gameTitle}}}¦hide¦</span>¦}²</div></div> \n |
}}{{clear}}</includeonly><noinclude> | }}{{clear}}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 18:48, 3 November 2011
Usage
Use with a category that includes level articles to create a gallery of those levels. In order for this to work properly, level articles need to be using Template:LevelBob. For example, this:
{{LevelGallery|Sonic Heroes Levels}}
produces this:
Extension:DynamicPageList (DPL), version 3.3.3: Warning: No results.
Add gameTitle=hide to hide the game title:
{{LevelGallery|Sonic Chaos Levels|gameTitle=hide}}
Extension:DynamicPageList (DPL), version 3.3.3: Warning: No results.