Template:Tolkien's legendarium/sandbox

From English Wikipedia @ Freddythechick

<imagemap> File:Tolkien's Legendarium.svg|thumb|upright=2|alt=Diagram of of the documents comprising Tolkien's Legendarium, as interpreted very strictly, strictly, or more broadly|Diagram of the documents comprising Tolkien's legendarium, with clickable links.

rect 112 52 226 169 The Hobbit rect 330 52 478 169 The Lord of the Rings rect 505 52 653 169 The Silmarillion rect 670 52 805 169 Unfinished Tales

rect 30 178 162 292 The Annotated Hobbit rect 171 178 302 292 The History of The Hobbit rect 328 178 477 292 The History of The Lord of the Rings

rect 225 381 356 514 The Lost Road and Other Writings rect 383 381 531 514 The Notion Club Papers rect 81 377 546 524 J. R. R. Tolkien's explorations of time travel

rect 32 611 138 744 The Book of Lost Tales rect 147 611 253 744 The Lays of Beleriand rect 263 611 381 744 The Shaping of Middle-earth rect 391 611 509 744 The Shaping of Middle-earth rect 527 611 644 744 Morgoth's Ring rect 653 611 793 744 The War of the Jewels

rect 260 770 550 840 The History of Middle-earth

rect 253 855 387 893 Languages constructed by J. R. R. Tolkien rect 387 855 497 893 Tolkien's artwork rect 497 855 660 893 Tolkien's scripts rect 660 855 745 893 Poetry in The Lord of the Rings

rect 10 10 817 893 commons:File:Tolkien's Legendarium.svg

</imagemap>

This template displays the image File:Tolkien's Legendarium.svg overlaid with clickable links to the articles for the documents and subjects mentioned. As the links are mapped to the parts of the image only by pixel coordinates, the template must be manually adjusted if the image is ever altered.

Three optional parameters control the image's displayed size, horizontal alignment and caption.

Parameter details
Parameter Usage Default
upright Used as the upright parameter when displaying the image, to control the overall size of the image 2
location Used as the location parameter when displaying the image, to control the horizontal alignment of the image Empty (defaults to 'right' because 'thumb' is always specified)
caption Parameter text becomes the caption at the foot of the image Diagram of the documents comprising Tolkien's legendarium, with clickable links.