Template:Random image

From Dwarf Fortress Wiki
Revision as of 19:20, 7 March 2014 by Loci (talk | contribs) (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.


Usage:

{{random image}}

Adds a random image from "/gallery", size 140x200px, and links it to "/gallery".


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

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