PC Gaming Shelter
An archive dedicated to preserving PC Gaming history and more

Template:Thumbwall/doc: Difference between revisions

From PC Gaming Shelter
No edit summary
 
Line 5: Line 5:
* <code>image</code> &mdash; The name of the image to display. Images with transparent backgrounds work best.
* <code>image</code> &mdash; The name of the image to display. Images with transparent backgrounds work best.
* <code>target</code> &mdash; (optional) sets the link target page if differs from the label.
* <code>target</code> &mdash; (optional) sets the link target page if differs from the label.
* <code>show thumbs</code> &mdash; (optional, default <code>1</code>) switches thumbs on/off.
== Example ==
== Example ==
<pre>
<pre>

Latest revision as of 12:07, 6 June 2026

The template creates a navigational element - wall of thumbs linked to wiki pages.

The first unnamed parameter sets the heading for the block. The rest of parameters are numbered series of:

  • label — sets thumb label and links to a page with the same name, if not overridden by the target parameter
  • image — The name of the image to display. Images with transparent backgrounds work best.
  • target — (optional) sets the link target page if differs from the label.
  • show thumbs — (optional, default 1) switches thumbs on/off.

Example

{{Thumbwall
|Game Genres
|label1=Action
|image1=Icon-Action.png
|label2=Adventure
|image2=Icon-Adventure.png
|label3=Mods
|image3=Icon-Mods.png
|target3=Form:Mod
|show thumbs=1
}}
Result

You can have virtually any number of series.

If thumbs a not needed, for compact view, set show thumbs to 0:

{{Thumbwall
|Game Genres
|label1=Action
|image1=Icon-Action.png
|label2=Adventure
|image2=Icon-Adventure.png
|label3=Mods
|image3=Icon-Mods.png
|target3=Form:Mod
|show thumbs=0
}}
Result