[{"created":"20220630235312506","text":"<!-- SOME THINGS THAT NEED TO HAPPEN ON THIS TEMPLATE\n\n\n- CREATE WHOLE SERIES OF CONCATENATED TIDDLERS\n\n- it may be necessary to change the genre code to make selection tags rather than field values, but the code is working in the short term as is\n\n-autogenerated title needs to be copy/pasted in, no idea why, must be constantly evaluating and updating value -- maybe try making these inputs only stick when pressing a button\n\n  -->\n\n\\define newMedium()\n\n\\end\n\n\\define newGenre()\ngenre.$(lowerCaseTitle)$\n\\end\n\n\\define newTags()\n$(currentTiddler)$ Source\n\\end\n\n\\define Concatenate()\n$:/$(second)$.$(year)$.$(timestamp)$\n\\end\n\n\\define FullName()\n$(first)$ $(second)$\n\\end\n\n\\define personalstatement()\n$:/$(second)$.$(year)$.$(timestamp)$.1.personalstatement\n\\end\n\n\\define summary()\n$:/$(second)$.$(year)$.$(timestamp)$.2.summary\n\\end\n\n\\define structure()\n$:/$(second)$.$(year)$.$(timestamp)$.3.structure\n\\end\n\n\\define concept()\n$:/$(second)$.$(year)$.$(timestamp)$.4.concept\n\\end\n\n\\define character()\n$:/$(second)$.$(year)$.$(timestamp)$.5.character\n\\end\n\n\\define setting()\n$:/$(second)$.$(year)$.$(timestamp)$.6.setting\n\\end\n\n\\define reaction()\n$:/$(second)$.$(year)$.$(timestamp)$.7.reaction\n\\end\n\n\\define symbols()\n$:/$(second)$.$(year)$.$(timestamp)$.8.symbols\n\\end\n\n\\define captioner()\n''$(title)$'' by $(first)$ $(second)$ ($(year)$)\n\\end\n\n\\define expand()\n$:/state/expand/$(currentTiddler)$\n\\end\n\n\\define expand()\n$:/state/expand/$(currentTiddler)$\n\\end\n\n\\define toc-item(item, level)\n<$set name=\"state\" value=<<expand>> >\n  <$set name=\"toc-item-class\" filter=\"[<__item__>addsuffix[-]addsuffix<__level__>]\" value=\"toc-item-selected\" emptyValue=\"toc-item\">\n    <li class=<<toc-item-class>> >\n      <$reveal type=\"nomatch\" state=<<state>> text=\"show\">\n        <$button set=<<state>> setTo=\"show\" class=\"tc-btn-invisible\">\n          {{$:/core/images/right-arrow}}\n          <$link to=<<__item__>>>\n            <$view tiddler=<<__item__>> field=\"caption\">\n              <$view tiddler=<<__item__>> field=\"title\"/>\n            </$view>\n          </$link>\n        </$button>\n      </$reveal>\n      <$reveal type=\"match\" state=<<state>> text=\"show\">\n        <$button set=<<state>> setTo=\"\" class=\"tc-btn-invisible\">\n          {{$:/core/images/down-arrow}}\n          <$link to=<<__item__>>>\n            <$view tiddler=<<__item__>> field=\"caption\">\n              <$view tiddler=<<__item__>> field=\"title\"/>\n            </$view>\n          </$link>\n        </$button>\n      </$reveal>\n      <$list filter=\"[all[current]tag[Completed]]\">\n        <span class=\"tc-tag-label\">Completed</span>\n      </$list>\n      <$reveal type=\"match\" state=<<state>> text=\"show\">\n        <ol>\n          <$list filter=\"[tag<__item__>!has[draft.of]sort[created]]\">\n            <$macrocall $name=\"toc-item\" item=<<currentTiddler>> level={{!!level+1}} />\n          </$list>\n        </ol>\n      </$reveal>\n    </li>\n  </$set>\n</$set>\n\\end\n\n<style>\n  .tc-tag-label {\n    background-color: #ecf2f9;\n    border: 1px solid #bbc8d6;\n    border-radius: 4px;\n    padding: 2px 4px;\n    font-size: 0.8em;\n    margin-left: 5px;\n  }\n</style>\n\n\n\n\n<$set name=year value={{$:/state/NewTiddlerForm!!year_temp}}>\n<$set name=second value={{$:/state/NewTiddlerForm!!author.last_temp}}>\n<$set name=first value={{$:/state/NewTiddlerForm!!author.first_temp}}>\n<$set name=timestamp value=<<now \"YYYY0MM0DD0hh0mm\">> \\>\n<$set name=title value={{$:/state/NewTiddlerForm!!name_temp}}>\n\n\n! {{!!caption}}\n\n\n\n\n<!-- CREATE THESE BUTTONS, WHICH WILL CHANGE THE CONDITION OF THE CHECKSTATE FILE  -->\n\n<$button set=\"$:/state/{{currentTiddler}}.Reveal\" setTo=\"list\">Notebooks</$button>\n<$button set=\"$:/state/{{currentTiddler}}.Reveal\" setTo=\"new\">Start a new project</$button>\n\n<$reveal type=\"match\" state=\"$:/state/{{currentTiddler}}.Reveal\" text=\"list\">\n\n<!--\n <div class=\"tc-table-of-contents\">\n    <$macrocall $name=\"toc-selective-expandable\" tag=<<currentTiddler>>/>\n  </div>\n-->\n\n^^[[See Full Reading List|$:/ReadingController]]^^\n\n<ol class=\"tc-table-of-contents\">\n  <$list filter=\"[tag<currentTiddler>!has[draft.of]sort[created]]\">\n    <$macrocall $name=\"toc-item\" item=<<currentTiddler>> level=\"1\" />\n  </$list>\n</ol>\n\n\n</$reveal>\n\n<$reveal type=\"match\" state=\"$:/state/{{currentTiddler}}.Reveal\" text=\"new\">\n\nGreat! Let's __start a new new notebook__!'' \n<br>\n\n---\n\n<br>\n\nLet's begin by filling out some basic information\n\n<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='name_temp1' placeholder='Title'/><br>\n\n<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='author.first_temp1' placeholder='Authors First Name'/><br>\n\n<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='author.last_temp1' placeholder='Authors Last Name'/><br>\n\n<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='year_temp1' placeholder='Published Year'/><br>\n\n<br>\n\n<<captioner>>\n<br>\n<br>\n\n<$button>Preview\n<$action-setfield $tiddler='$:/state/NewTiddlerForm' name_temp={{$:/state/NewTiddlerForm!!name_temp1}} author.first_temp={{$:/state/NewTiddlerForm!!author.first_temp1}} author.last_temp={{$:/state/NewTiddlerForm!!author.last_temp1}} year_temp={{$:/state/NewTiddlerForm!!year_temp1}}/>\n</$button>\n\n<br>\n<br>\n<br>\n\nAwesome! Now is this a __fiction or nonfiction__ project?''\n\n---\n\n<!-- CREATE A DROPDOWN MENU THAT SWITCHES A STATE-FILE BETWEEN FICTION OR NONFICTION, ALLOWING FOR TWO DIFFERENT TEMPLATES \n\ndone, just need to distinguish templates now\n\n-->\n\n\n<$select tiddler='$:/state/NewTiddlerForm' field='type' default='Options'>\n<option disabled>Choose a new text</option>\n<option value='<a href=\"##Bottom_of_tiddler\"><br>Jump to end</a><br>{{||$:/fictionTemplate}}<a id=\"#Bottom_of_tiddler\"></a>'>Fiction</option>\n<option value='<a href=\"##Bottom_of_tiddler\"><br>Jump to end</a><br>{{||$:/nonfictionTemplate}}<a id=\"#Bottom_of_tiddler\"></a>'>Nonfiction</option>\n<option value='<a href=\"##Bottom_of_tiddler\"><br>Jump to end</a><br>{{||$:/collectionTemplate}}<a id=\"#Bottom_of_tiddler\"></a>'>Collection</option>\n<option value='<a href=\"##Bottom_of_tiddler\"><br>Jump to end</a><br>{{||$:/lectureTemplate}}<a id=\"#Bottom_of_tiddler\"></a>'>Lecture</option>\n</$select>\n\n\nAnd some genre information...?\n\n\n<!-- ALLOW FOR SELECTION FROM MULTIPLE GENRES\n(working but may need to change from fields to tags)\n\n<$select tiddler='$:/state/NewTiddlerForm' field='genre' multiple size='8'>\n<$list filter='[tag[Genre]]'>\n<option><$view field='title'/></option>\n</$list>\n</$select><br/>\n<$list filter='[list[$:/state/NewTiddlerForm!!genre]]'>\n<$view field='bibliography' /><br />\n</$list>\n\n<br>\n -->\n\n\n<$select tiddler='$:/state/NewTiddlerForm' field='genre' multiple size='8'>\n<$list filter='[tag[Genre]]'>\n<option value={{{ [<currentTiddler>get[bibliography]] }}}><$view field='title'/></option>\n</$list>\n</$select><br/>\n<$list filter='[list[$:/state/NewTiddlerForm!!genre]]'>\n<$text text=<<currentTiddler>> /><br />\n</$list>\n\n\n\n<$edit-text tiddler=\"$:/state/new-genre\" tag=\"input\" default=\"\" />\n\n<$set name=\"lowerCaseTitle\" value={{{ [{$:/state/new-genre}split[ ]join[]] }}}>\n\n<$button>\n  <$action-createtiddler\n    $basetitle={{$:/state/new-genre}}\n    tags=\"Genre Bibliography\"\n    bibliography=<<newGenre>>\n    icon=\"$:/core/images/file\"\n    color=\"#ba6d6d\"\n  >\n    <$action-setfield\n      $tiddler=\"$:/state/new-genre\"\n      text=\"\"\n    />\n    <$action-sendmessage\n      $message=\"tm-close-tiddler\"\n      $param=\"$:/state/new-genre\"\n    />\n  </$action-createtiddler>\n  Create New Genre\n</$button>\n\n\nAnd a medium?\n\n<$select tiddler='$:/state/NewTiddlerForm' field='medium' default=\"\">\n  <option value=\"\">Select a medium</option>\n  <option value=\"eBook\">eBook</option>\n  <option value=\"Hardcover\">Hardcover</option>\n  <option value=\"Paperback\">Paperback</option>\n</$select>\n\n\n\n\n\nGreat! - Now let's ''write a personal statement''\n<br>\n\n---\n\n<br>\nPersonal statements set clear intentions at the outset which focus attention and create a point of reflection. \n<br>\n\n<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' field='description' placeholder='personal statement' minheight='100px'/><br>\n\n\n<br>\n\n\n\n<!--\n\n!!Step 4 - ''Add a tag or tags to the tiddler'' (optional)\n\n---\nTags are used for the table of contents, so it may be advisable to add tags to new tiddlers. For example, if you wanted to add a tiddler that would be displayed under 'Tools' in the table of contents you would add the 'Tools' tag to the tiddler.\n\n<$select tiddler='$:/state/NewTiddlerForm' field='add_or_create_tag'>\n<option value='existing'>Add existing tag</option>\n<option value='create'>Add a new tag</option>\n</$select>\n<$reveal type=match state='$:/state/NewTiddlerForm!!add_or_create_tag' text='create'>\nNew Tag Name: <$edit-text tiddler='$:/state/NewTiddlerForm' field='tag_temp' placeholder='New Tag'/><$fieldmangler tiddler='$:/state/NewTiddlerForm'>\n\n<$button>\n<$action-sendmessage $message='tm-add-tag' $param={{$:/state/NewTiddlerForm!!tag_temp}}/>\n<$action-setfield $tiddler='$:/state/NewTiddlerForm' $field='tag_temp' $value=''/>Add Tag\n</$button>\n</$fieldmangler><br>\n</$reveal>\n<$reveal type='match' state='$:/state/NewTiddlerForm!!add_or_create_tag' text='existing'>\nTag to add: <$select tiddler='$:/state/NewTiddlerForm' field='tag_temp'>\n<$list filter='[tags[]sort[title]]'>\n<option><$view field='title'/></option>\n</$list>\n</$select>\n<$fieldmangler tiddler='$:/state/NewTiddlerForm'>\n<$button>\n<$action-sendmessage $message='tm-add-tag' $param={{$:/state/NewTiddlerForm!!tag_temp}}/>Add Tag\n</$button>\n</$fieldmangler>\n<br>\n</$reveal>\nList of current tags:<br>\n<$fieldmangler tiddler='$:/state/NewTiddlerForm'>\n<$set name=tiddlerEditing value='$:/state/NewTiddlerForm'>\n<$list filter='[[$:/state/NewTiddlerForm]tags[]]'><$view field='title'/> <$button>Remove Tag<$action-sendmessage $message='tm-remove-tag' $param=<<currentTiddler>>/></$button><br> </$list>\n</$set>\n</$fieldmangler>\n\n -->\n\nPerfect! Now check the information and let's create our project pages!\n\n---\nPress this button and the tiddler will be created and opened so you can view it.\n\n<!-- ADD TEMPLATE BASED ON DROPDOWN MENU SELECTION   \n1. Create a systems page based on a template associated with dropdown menu selection\n2. Occupy the fields of that page with user inputs\n3. Create an original title based on user inputs\n4. Create a series of child-tiddlers\n          a. Personal Statement\n          b. Summary\n          c. Structure\n          d. Categories\n                    d1. Themes/concepts\n                    d2. Characters\n                    d3. Setting\n                    d4. Reaction/Dialogue\n                    d5. Symbols\n  -->\n\n\n<$button>Create Tiddler\n<!-- SET TITLE -- -->\n<$action-setfield $tiddler=<<Concatenate>> caption=<<captioner>> text={{$:/state/NewTiddlerForm!!type}} year={{$:/state/NewTiddlerForm!!year_temp}} bibliography={{$:/state/NewTiddlerForm!!genre}} medium={{$:/state/NewTiddlerForm!!medium}} author=<<FullName>> tags=<<newTags>> description={{$:/state/NewTiddlerForm!!description}} />\n<$action-setfield $tiddler=<<personalstatement>> tags=<<Concatenate>> caption='Personal Statement' text='{{$:/state/NewTiddlerForm!!description}}'/>\n<$action-setfield $tiddler=<<summary>> tags=<<Concatenate>> caption='Summary' caption1=<<captioner>> structure=<<structure>>  text='{{||$:/template.summary}}'/>\n<$action-setfield $tiddler=<<structure>> tags=<<Concatenate>> caption='Structure' text='{{||$:/template.structure}}'  cover=<<Concatenate>> caption1=<<captioner>> structure=<<structure>>/>\n<$action-setfield $tiddler=<<concept>> tags=<<Concatenate>> caption='Themes' text='{{||$:/template.themes}}' caption1=<<captioner>> structure=<<structure>>/>\n<$action-setfield $tiddler=<<character>> tags=<<Concatenate>> caption='Characters' text='{{||$:/template.character}}' caption1=<<captioner>> structure=<<structure>>/>\n<$action-setfield $tiddler=<<setting>> tags=<<Concatenate>> caption='Setting' text='{{||$:/template.description}}' caption1=<<captioner>> structure=<<structure>>/>\n<$action-setfield $tiddler=<<reaction>> tags=<<Concatenate>> caption='Dialogue' text='{{||$:/template.reaction}}' caption1=<<captioner>> structure=<<structure>>/>\n<$action-setfield $tiddler=<<symbols>> tags=<<Concatenate>> caption='Symbols'  text='{{||$:/template.symbols}}' caption1=<<captioner>> structure=<<structure>>/>\n<$action-navigate $to=<<Concatenate>>/> \n<$action-setfield $tiddler='$:/state/NewTiddlerForm' name_temp='' author_temp='' year_temp='' text='' description='' tags='' name_temp1='' author.first_temp='' author.last_temp='' author.first_temp1='' author.last_temp1='' year_temp1=''/>\n</$button>\n<$button>Clear Form\n<$action-setfield $tiddler='$:/state/NewTiddlerForm' name_temp='' author_temp='' year_temp='' text='' description='' tags='' name_temp1='' author.first_temp='' author.last_temp='' author.first_temp1='' author.last_temp1='' year_temp1=''genre='' medium=''/>\n</$button>\n","modified":"20240914170327075","tags":"","title":"$:/readinglisttemplate","type":" ","bag":"default","caption":"Add a Source","revision":"1"}]