Actions

Template

Difference between revisions of "LevelGallery"

From Sonic Retro

m
(Finally, it works.)
Line 5: Line 5:
 
|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;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';filter: alpha(opacity=80);opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;"><span style="font-size:110%">'''[[%PAGE%{{!}}<font color=#fff>%PAGE%</font>]]'''</span><br />''[[,,{{!}}<font color=#fff>,</font>]]''</span></div>  \n  
+
|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;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=80)';filter: alpha(opacity=80);opacity: 0.8;left:0;bottom:0;right:0;padding:5px;text-align:left;"><span style="font-size:110%">'''[[%PAGE%¦<font color=#fff>%PAGE%</font>]]'''</span><br />''[[,,¦<font color=#fff>,</font>]]''</span></div>  \n  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
Use with a category that includes level articles to create a gallery of those levels.  For example, this:
+
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:
  <pre>{{LevelGallery|Sonic CD Levels}}</pre>
+
  <pre>{{LevelGallery|Sonic Heroes Levels}}</pre>
 
produces this:
 
produces this:
{{LevelGallery|Sonic CD Levels}}
+
{{LevelGallery|Sonic Heroes Levels}}
 
[[Category:Navigational Templates|{{PAGENAME}}]]
 
[[Category:Navigational Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 21:53, 6 August 2010

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.