The Tree of Widsdom

智慧の樹

IncSB

^do( IncSB, notename )^

Type: Macro

Purpose: Embeds a note as a SmartButton

You can insert a SmartButton anywhere with the IncSB macro. This is just a convenience for ^include(notename, bstSB)^.

Hover below to reveal BoxPress code

^include(^value("$1")^, bstSB)^

IncSB sample

This is the markup that is rendered below

^do(IncSB, "I am a sample normal_note")^
^do(IncSB, "I am a sample code_note")^
^do(IncSB, "I am a sample audio_note")^
^do(IncSB, "I am a sample person_note")^
^do(IncSB, "I am a sample person_note with image")^
^do(IncSB, "I am a sample article_note")^
^do(IncSB, "I am a sample fulltext book_note")^
^do(IncSB, "I am a sample quote_note")^
^do(IncSB, "I am a sample quote_ana_note")^
^do(IncSB, "I am a sample event_note")^

normal_note

I am a sample normal_note

2016.06.26 – …

code_note

Demo thing
I am a sample code_note

This code note has been made for demo purposes

Syntax: filename, title, [class, href, width]

audio_note

I am a sample audio_note

person_note

I am a sample person_note

1547 – 1637

person_note with $blogImage

I am a sample person_note with image

1547 – 1637

article_note

1995

I am a sample article_note

Antonuccio, David O. & Danton, William G. (1995). Therapy Versus Meds for Depression.

book_note with full text

quote_note

1936

I am a sample quote_note

H. P. Lovecraft. The Haunter of the Dark

quote_ana_note

1766

I am a sample quote_ana_note

Franz Mesmer. On the Influence of the Planets on the Human Body

event_note

350 BCE – 1858

I am a sample event_note

This is text from the “current” note. Notice the seamless integration.

For a full list, see Explore Prototype export schemes.