Template:Random image

From Dwarf Fortress Wiki
Jump to navigation Jump to search

This template returns a random image from a gallery subpage (by default "/gallery"). To add an image to the rotation, edit the appropriate gallery subpage, not this page.


{{random image}}

Adds a random image from "/gallery", size 140x200px.

{{random image | dragonpics | size=400x400px | location=right | link=dragon }}

Adds a random image from "dragonpics", size 400x400px, aligned on the right, and link it to "dragon".