No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
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: | |||
* <code>label</code> — sets thumb label and links to a page with the same name, if not overridden by the ''target'' parameter | |||
* <code>image</code> — The name of the image to display. Images with transparent backgrounds work best. | |||
* <code>target</code> — (optional) sets the link target page if differs from the label. | |||
* <code>show thumbs</code> — (optional, default <code>1</code>) switches thumbs on/off. | |||
== Example == | |||
<pre> | |||
{{Thumbwall | {{Thumbwall | ||
|Game Genres | |Game Genres | ||
|Action;Icon-Action.png | |label1=Action | ||
|Adventure;Icon-Adventure.png | |image1=Icon-Action.png | ||
|Mods | |label2=Adventure | ||
|image2=Icon-Adventure.png | |||
|label3=Mods | |||
|image3=Icon-Mods.png | |||
|target3=Form:Mod | |||
|show thumbs=1 | |||
}} | |||
</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 | |||
|show thumbs=1 | |||
}} | |||
You can have virtually any number of series. | |||
If thumbs a not needed, for compact view, set <code>show thumbs</code> to <code>0</code>: | |||
<pre> | |||
{{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 | |||
}} | |||
</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 | |||
|show thumbs=0 | |||
}} | }} | ||
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 parameterimage— 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, default1) 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
Game Genres
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
Game Genres
