Difference between revisions of "LevelGallery"
From Sonic Retro
Scarred Sun (talk | contribs) m (Reverted edits by Scarred Sun (Talk) to last revision by PicklePower) |
Scarred Sun (talk | contribs) |
||
Line 18: | Line 18: | ||
|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><span class="posabs" style=" background:#000;opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;"> | + | |secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦[[Image:,,¦x144px¦link=%PAGE%]]¦[[Image:Image upload.svg{{!}}x144px{{!}}link=%PAGE%]]}²<br><span class="posabs" style=" background:#000;opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;"> <span style="font-size:110%">'''[[%PAGE%¦<span style="color:#fff;filter: alpha(opacity=100)">,,</span>]]''' ²{#ifeq:{{{gameTitle}}}¦hide¦<span style="display:none">¦<br />}²''[[,,¦<span style="color:#fff;filter: alpha(opacity=100)">,</span>]]''²{#ifeq:{{{gameTitle}}}¦hide¦</span>¦}²</span></div> \n |
}}{{clear}}</includeonly><noinclude> | }}{{clear}}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 15:02, 6 March 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.