Template:Image link list: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><ul style="display: flex; margin: 1em; gap: 1em; flex-wrap: wrap; list-style-type: none; text-align: center;"> {{#if:{{{link1|}}}| <li style="flex: 1 0 {{{item...")
 
 
Line 82: Line 82:
| image9 = Contact Small Lord Recluse.jpg
| image9 = Contact Small Lord Recluse.jpg
| link9  = Arachnos Archvillains
| link9  = Arachnos Archvillains
| text9  = Arachnos Archvillains
}}
}}
</pre>
</pre>
Line 113: Line 112:
| image9 = Contact Small Lord Recluse.jpg
| image9 = Contact Small Lord Recluse.jpg
| link9  = Arachnos Archvillains
| link9  = Arachnos Archvillains
| text9  = Arachnos Archvillains
}}
}}


[[Category:Formatting Templates]]</noinclude>
[[Category:Formatting Templates]]</noinclude>

Latest revision as of 03:31, 22 March 2022

Displays a list of image-link pairs.

Parameters

image height
in pixels, default 48
item width
default 6em
image1, image2, image3, ...
file names of images to display, no "File:"
link1, link2, link3, ...
page titles to link to, no "[[ ]]"
text1, text2, text3, ...
text to display instead of page titles

Example

{{image link list
| image1 = Portrait Wolf Spider.jpg
| link1  = Arachnos/Soldiers#Wolf Spiders
| text1  = Wolf Spiders
| image2 = Portrait Crab Spider Webmaster.jpg
| link2  = Arachnos/Soldiers#Crab Spiders
| text2  = Crab Spiders
| image3 = Portrait Bane Spider Commando.jpg
| link3  = Arachnos/Soldiers#Bane Spiders
| text3  = Bane Spiders
| image4 = Portrait Night Widow Boss.jpg
| link4  = Arachnos/Night Widows
| text4  = Night Widows
| image5 = Portrait Fortunata Mistress.jpg
| link5  = Arachnos/Fortunatas
| text5  = Fortunatas
| image6 = Portrait Tarantula Mistress.jpg
| link6  = Arachnos/Tarantulas
| text6  = Tarantulas
| image7 = Portrait Arachnobot.jpg
| link7  = Arachnos/Arachnobots and Drones
| text7  = Arachnobots and Drones
| image8 = Portrait Mu Adept.jpg
| link8  = Arachnos/Mu Mystics
| text8  = Mu Mystics
| image9 = Contact Small Lord Recluse.jpg
| link9  = Arachnos Archvillains
}}