The Tree of Widsdom

智慧の樹

@set $Subtitle for person-notes

Type: Agent

The $Subtitle for person-notes is constructed out of four elements: the date information (remembering that a single $DueDate overrides a $StartDate - $EndDate span), $blogSubtitle, $blogSpec1, and $blogSpec2.

$AgentQuery

$Prototype="person_note"

$AgentAction

$Subtitle=(if($DueDate){$DueDate.format( "y " )}else{(if($StartDate){$StartDate.format( "y – " ) + (if($EndDate){$EndDate.format("y ")}else{"… "})})}) + (if($blogSubtitle){"\n" + (if($blogSubtitle.contains("\`\[\d\]")){$blogSubtitle.substr(4,($blogSubtitle.size-4))}else{$blogSubtitle})}) + (if($mySpec1){"\n" + $mySpec1}) + (if($mySpec2){"\n" + $mySpec2}) + (if($mySpec3){"\n" + $mySpec3})

For example, if your person-note has these key attributes set:

A person-note.
A person-note.

… then the resultant display (in Map View) will be this:

A person-note.