Template:Book

From Stoneshard wiki
Revision as of 18:37, 18 September 2022 by Psojed (talk | contribs)
Jump to navigation Jump to search
Template-info.png Documentation

This is treatise template created for use together with the Template:Tooltip hover box template on a specific Books & Notes page or Treatises page.

Usage

The book's data is loaded from Book data. This syntax provides the tooltip look and content loaded via the {{Book}} template. Use on pages is combined with float CSS, positioning the result to the right.

<div style="float: right">{{ {{{1|Tooltip hover box}}}|title= {{Book}}}}</div>

By default the page name is used as the book name. If you want to load a specific book on any page, you can provide its name as a parameter, for example:

{{ {{{1|Tooltip hover box}}}|title= {{Book|Pyromancy Treatise IV}}}}
Book
Book
Book
[[File:Book|link=Book/Tooltip|class=image2x|alt=Book|Book]]

Book Content

You can also load the text that's written inside a book or treatise by using this transclusion syntax:

{{:Book data|Pyromancy Treatise IV Content}}

...They surrounded me, and, for a brief moment, I feared that I was to share the fate of the poor sod whose charred remains we had stumbled upon at the crossroad. However, they seemed friendly enough, even if the sight of their eerie masks unnerved me greatly.

( . . . )

Once we were done with our dinner, the priest - I could only assume he was a priest - gestured for us to leave the tent. Weighed down by the heavy meal, we reluctantly followed him outside. To our astonishment, we were met by the sight of a huge crowd, even though just a couple hours ago there were hardly more than a few dozen elves in the entire camp. The pitch-black darkness of the night was no match to the blinding light of hundreds of flames. The moon, as if terrified of the competition, hid behind the sudden clouds. The priest marched onwards, confidently pushing people aside and creating a path for us to follow...

( . . . )

The song came to a halt, leaving us in thick, oppressive silence. For a few minutes we just stood there, exchanging confused looks, when suddenly, huge gouts of fire erupted out of thin air and engulfed the people sitting in the middle of the circle. The crowd roared, then burst into wild dance, utterly enraptured. The burning dervishes remained in their place as if nothing had happened - I believe I even spotted a faint smile on one of their faces. Terrified, we attempted to flee, vainly trying to get through the rows of spinning nomads as they drew closer and closer...