Difference between revisions of "GameGallery"
From Sonic Retro
m (Text replace - "Category:Navigational Templates" to "Category:Navigational templates") |
Ccawley2011 (talk | contribs) m |
||
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: | + | |secseparators = <div class="posrel shadow" style="float:left;margin:10px">²{#ifexist:File:,,¦[[Image:,,¦x144px¦link=%PAGE%]]¦[[Image:Notavailable.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;">%PAGE%</span>]]'''</span> ²{#ifeq:{{{gameSystem}}}¦hide¦<span style="display:none">¦<br />}²''<span style="color:#fff;">,</span>''²{#ifeq:{{{gameSystem}}}¦hide¦</span>¦}²</span></div> \n |
}}{{clear}}</includeonly><noinclude> | }}{{clear}}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Latest revision as of 11:19, 12 March 2021
Usage
Use with a category that includes games to create a gallery of those games. In order for this to work properly, games articles need to be using Template:Bob to display game information at the top of the article. For example, this:
{{GameGallery|Mega Drive games}}
produces this:
Dr. Robotnik's Mean Bean Machine
Sega Mega Drive, Virtual Console, Steam, RealOne Arcade, Nintendo Switch Online
Sonic 3D: Flickies' Island
Sega Mega Drive, Sega Saturn, Windows PC, Virtual Console, Steam, RealOne Arcade
Sonic the Hedgehog 2 (16-bit)
Sega Mega Drive, Virtual Console, Nintendo Switch Online, Steam, RealOne Arcade
Sonic the Hedgehog Spinball
Sega Mega Drive, Virtual Console, Steam, RealOne Arcade, iOS, Nintendo Switch Online
Add gameSystem=hide to hide the system the game appeared on:
{{GameGallery|Mega Drive games|gameSystem=hide}}