c_DE_event

Type: Display expression

This display expression is like c_DE_norm except it prepends a calendar Proticon plus a BCE-detecting SmartDate!

Display expression

(if($DENum){$SiblingOrder + ". "}) + (if($DEIcon){"πŸ“… "}) + if($DueDate) {
	if($EndDate&!$StartDate) {
  	if($DueDate<date(1)){$DueDate.format( "(y BCE – " )}
  	else{$DueDate.format( "(y – " )} + 
		if($EndDate<date(1)){$EndDate.format("y BCE) ")}
    else{$EndDate.format("y) ")} }
	else {
		if($DueDate<date(1))
			{$DueDate.format( "(y BCE) " )}
  	else
    	{$DueDate.format( "(y) " )}}}
 else {
   if($StartDate){
     if($StartDate<date(1)){$StartDate.format( "(y BCE – " )}
     else{$StartDate.format( "(y – " )}}
   else{"(… – "} +
   if($EndDate){
     if($EndDate<date(1))
       {$EndDate.format("y BCE) ")}
     else
       {$EndDate.format("y) ")}}
   else
     {"…) "}} +
$Name + (if($ChildCount & $DECount){" (" + $DescendantCount + ")"}) + (if($DEBips){"  " + (if($blogExpOpt){if($blogExpOpt.contains(COMPILE)){"–"}; + if($blogExpOpt.contains(COLUMNS)){"βΈ¬"}; + if($blogExpOpt.contains(NOKIDS)){"β¬’"}; + if($blogExpOpt.contains(BLOCKS)){"⧈"}; + " "}) + (if(1){if($blogImage){"β—ΌοΈŽ"}; + if($DTSource){"πŸŒ€"}; + if($DTItem){"β†™οΈŽ"}; + if($ReferenceURL){"πŸ“œ"}; + if($URL){"β†—οΈŽ"};})})