The Tree of Widsdom

智慧の樹

QuoteHere

^do( QuoteHere, text, [author], [title], [url] )^

Type: Macro

Purpose: Adds a blockquote with citation info and url

The QuoteHere macro inserts a well-formatted blockquote with citation information at the end. You insert the quotation live, inside the markup.

Author, title, and url are all independent and optional.

Hover below to reveal BoxPress code

<blockquote><p>$1</p>^if(^value($3)^|^value($2)^)^<footer class="afterquote">^if(^value($2)^)^$2^endIf^^if(^value($3)^)^, <cite>^if(^value($4)^)^<a href="$4"> $3</a>^else^$3^endIf^</cite>^endIf^</footer>^endIf^</blockquote>

QuoteHere sample

This is the markup that is rendered below

^do(QuoteHere, "And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.", "H. P. Lovecraft", "The Haunter of the Dark", "http://www.hplovecraft.com/writings/texts/fiction/hd.aspx")^

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Both author and title are optional, so you can do this:

This is the markup that is rendered below

^do(QuoteHere, "And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.", "Just Author")^

^do(QuoteHere, "And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.",,"Just Title")^

^do(QuoteHere, "And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.")^

And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.

Just Author

And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.

Just Title

And beyond all else he glimpsed an infinite gulf of darkness, where solid and semi-solid forms were known only by their windy stirrings, and cloudy patterns of force seemed to superimpose order on chaos and hold forth a key to all the paradoxes and arcana of the worlds we know.