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
No edit summary
Line 1: Line 1:
<templatedata>
{
"params": {},
"description": "Creates a navigational element - wall of thumbs linked to wiki pages."
}
</templatedata>
The first unnamed parameter sets the heading for the block. The rest of parameters are numbered series of:
* <code>label</code> &mdash; sets thumb label and links to a page with the same name, if not overridden by the ''target'' parameter
* <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.
== Example ==
<pre>
{{Thumbwall
{{Thumbwall
|Game Genres
|Game Genres
Line 7: Line 19:
|label3=Mods
|label3=Mods
|image3=Icon-Mods.png
|image3=Icon-Mods.png
|target3=Form:Mod
}}
}}
</pre>
;Result
{{Thumbwall
|Game Genres
|label1=Action
|image1=Icon-Action.png
|label2=Adventure
|image2=Icon-Adventure.png
|label3=Mods
|image3=Icon-Mods.png
|target3=Form:Mod
}}
You can have virtually any number of series.

Revision as of 11:05, 26 March 2026

Creates a navigational element - wall of thumbs linked to wiki pages.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

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.

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
}}
Result

You can have virtually any number of series.