Actions

Template

Difference between revisions of "GameGallery"

From Sonic Retro

m
m
Line 9: Line 9:
 
==Usage==
 
==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:
 
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:
  <pre>{{GameGallery|Mega Drive Games}}</pre>
+
  <pre>{{GameGallery|Mega Drive games}}</pre>
 
produces this:
 
produces this:
{{GameGallery|Mega Drive Games}}
+
{{GameGallery|Mega Drive games}}
  
 
Add <tt>gameSystem=hide</tt> to hide the system the game appeared on:
 
Add <tt>gameSystem=hide</tt> to hide the system the game appeared on:
<pre>{{GameGallery|Mega Drive Games|gameSystem=hide}}</pre>
+
<pre>{{GameGallery|Mega Drive games|gameSystem=hide}}</pre>
{{GameGallery|Mega Drive Games|gameSystem=hide}}
+
{{GameGallery|Mega Drive games|gameSystem=hide}}
  
 
[[Category:Navigational Templates|{{PAGENAME}}]]
 
[[Category:Navigational Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 12:59, 21 February 2012

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:

Add gameSystem=hide to hide the system the game appeared on:

{{GameGallery|Mega Drive games|gameSystem=hide}}