[
    {
        "created": "20180803003552614",
        "text": "{{$:/PSaT/newTiddler/info}}\n",
        "title": "$:/PSaT/newTiddler",
        "temp-tiddler-template": "$:/New order/template",
        "modified": "20180812071235116",
        "icon": "$:/PSaT/newTiddler/icon.svg",
        "description": "Create new tiddlers by cloning those with a tiddler-template-caption field (on Current Tiddler)",
        "caption": "NewTiddler from Template"
    },
    {
        "created": "20180803034422051",
        "text": "\\define is-template()\n<$list filter=\"[is[current]has:field[tiddler-template-caption]]\" variable=null emptyMessage=\"no\">yes</$list>\n\\end\n\\define no-template()\n<$button set=\"!!tiddler-template-caption\" setTo={{!!title}} class=\"tc-btn-invisible\" tooltip=\"Click to flag as a template tiddler\" aria-label=\"Use as a template tiddler\" description=\"Toggle a tiddler as a template tiddler\">\n{{$:/PSaT/newTiddler/icon.svg}}\n<$list filter=\"[<tv-config-toolbar-text>prefix[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\nToggle tiddler as a Template\n</span>\n</$list>\n</$button>\n\\end\n\\define has-template()\n<$fieldmangler>\n<$button message=\"tm-remove-field\" param=\"tiddler-template-caption\" class=\"tc-btn-invisible\" tooltip=\"Click to un-flag as a template tiddler\" aria-label=\"No longer a template a template tiddler\">\n{{$:/PSaT/newTiddler/template-yes.svg}}\n<$list filter=\"[<tv-config-toolbar-text>prefix[yes]]\">\n<span class=\"tc-btn-text\">\n<$text text=\" \"/>\nToggle tiddler as a not a Template\n</span>\n</$list>\n</$button>\n</$fieldmangler>\n\\end\n<$list filter=\"[is[current]has:field[tiddler-template-caption]]\" variable=null emptyMessage=<<no-template>> >\n<<has-template>>\n</$list>",
        "title": "$:/PSaT/newTiddler/Buttons/template-toggle",
        "tags": "$:/tags/ViewToolbar",
        "modified": "20180812071046341",
        "description": "Toggle a tiddler as a template tiddler",
        "caption": "{{$:/PSaT/newTiddler/icon.svg}} Tiddler Template"
    },
    {
        "text": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n    <defs></defs>\n    <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n        <g stroke=\"#4A4A4A\">\n            <rect x=\"0\" y=\"5\" width=\"11\" height=\"11\"></rect>\n            <rect x=\"5\" y=\"0\" width=\"11\" height=\"11\"></rect>\n            <path d=\"M1.5,6.5 L9.5,6.5\" stroke-linecap=\"square\"></path>\n            <path d=\"M6.5,1.5 L14.5,1.5\" stroke-linecap=\"square\"></path>\n        </g>\n    </g>\n</svg>",
        "type": "image/svg+xml",
        "title": "$:/PSaT/newTiddler/icon.svg",
        "modified": "20180803052358159",
        "created": "20180803033035777"
    },
    {
        "created": "20180803025023118",
        "text": "!!!Quick instructions\n;Create a template\n*Use any tiddler you wish as a template. \n**Tags, Fields, and text will be copied to the new tiddlers\n**Name it how you would like it to appear for new tiddlers \n:eg; \"New Task\" will result in \"New Task N\"\n*You do not need to flag a tiddler as a template, if you ''Create tiddlers from a template elsewhere''<br>using  either\n** `<<clone-tiddler  [tiddlername]>>` the tiddler need not contain and instance-of field. Default current Tiddler\n** `<<new-template-instance [tiddlername]>>` the tiddler must contain and \"instance-of\" field. Default current Tiddler\n\n;To add a template to the List of templates\n*From the View Template toolbar click {{$:/PSaT/newTiddler/icon.svg}} to flag the tiddler as a template.<br>Tiddlers acting as templates will be indicated with {{$:/PSaT/newTiddler/template-yes.svg}}<br> Alternately create a ''tiddler-template-caption'' field in your template tiddler.\n\n;Use a template to create new tiddlers from the ~SideBar \"New\" tab\n*In the sidebar tab \"New\" you can select from the available template tiddlers and click {{$:/PSaT/newTiddler/icon.svg}} to copy the template to a new tiddler.\n*{{$:/core/images/info-button}} will display the description on the selected \"templateTiddler/template\" tiddler. \n*{{$:/core/images/options-button}} will open the selected template tiddler.\n*You can hide the sideBar new tab with the checkbox therein or here <$checkbox tiddler=\"$:/PSaT/newTiddler/sideBar\" tag=\"$:/tags/SideBar\"> Show New Tiddler tab in ~SideBar?</$checkbox>\n*You can use the following macro in any tiddler to access the templates dropdown <<newTiddlerSelect>>\n```\n<<newTiddlerSelect>>\n```\n\n<details><summary>The following macros are defined in this solution</summary>\n\n<table style=\"width:100%\">\n<tr>\n<th style=\"width:20%\">Macro</th>\n<th>Description</th>\n<th>Defined in</th>\n</tr>\n<$list filter=\"[prefix[$:/PSaT/newTiddler]]\" variable=\"NewTiddler-tiddler\">\n<$list filter=\"[<NewTiddler-tiddler>fields[]prefix[macro-]sort[]]\" variable=\"macrofield\">\n<$list filter=\"[<macrofield>removeprefix[macro-]]\" variable=\"macroname\">\n<tr>\n<td><<macroname>></td><td><$view tiddler=<<NewTiddler-tiddler>> field=<<macrofield>>/></td><td><<NewTiddler-tiddler>></td>\n</tr>\n</$list>\n</$list>\n</$list>\n</table>\n</details>\n<details><summary>This tool Includes the following tiddlers</summary>\n<$list filter=\"[prefix[$:/PSaT/newTiddler]]\">\n\n</$list>\n</details>",
        "title": "$:/PSaT/newTiddler/info",
        "tags": "",
        "modified": "20180812063057898",
        "icon": "$:/PSaT/newTiddler/icon.svg"
    },
    {
        "created": "20180803025920121",
        "text": "\\define newTiddlerSelect()\n<$select tiddler=\"$:/PSaT/newTiddler\" field=\"temp-tiddler-template\">\n<$list filter='[all[]has:field[tiddler-template-caption]sort[]]'>\n<option value=<<currentTiddler>>><<tiddler-template-caption-then-title>></option>\n</$list>\n</$select>\n<$list filter=\"[{$:/PSaT/newTiddler!!temp-tiddler-template}]\">\n<<new-template-instance>> \n<$wikify name=tooltip text=\"New tiddler from template {{!!description}}\">\n<$button tooltip=<<tooltip>> class=\"tc-btn-invisible\">\n{{$:/core/images/info-button}}\n</$button>\n</$wikify>\n<$button tooltip=\"Open template tiddler\" class=\"tc-btn-invisible\" to=<<currentTiddler>> >\n{{$:/core/images/options-button}}\n</$button>\n<$button tooltip=\"Icon on these tiddlers\" class=\"tc-btn-invisible\">\n<$transclude tiddler={{!!icon}}/>\n</$button>\n</$list>\n\\end\n\\define tiddler-template-caption-then-title(tiddlername)\n<$set name=tiddlername value=\"$tiddlername$\" emptyValue=\"$(currentTiddler)$\">\n<$tiddler tiddler=<<tiddlername>> >\n<$set name=display value={{!!tiddler-template-caption}} emptyValue={{!!title}}>\n<<display>></$set>\n</$tiddler>\n</$set>\n\\end\n\\define fieldname-value() <$text text=\"\"\"$(fieldname-value-temp)$\"\"\"/>\n\\define fieldsvalues()\n<$list filter=\"[all[current]fields[]] -[[tiddler-template-caption]] -[[text]] -[[title]] -[[created]] -[[modified]] -[[tiddler-template-caption]]\" variable=\"field\"><$set name=\"fieldname-value-temp\" tiddler=<<currentTiddler>> field=<<field>> emptyValue=\"\"><<field>>=\"<<fieldname-value>>\" </$set> </$list>\n\\end\n\\define clone-current-actions() \n<$action-createtiddler $basetitle={{!!title}} $savetitle=\"$:/temp/clone-current-title\" $(attribs)$ text={{!!text}} />\n<$action-sendmessage $message=\"tm-edit-tiddler\" $param={{$:/temp/clone-current-title}}/>\n\\end\n\\define clone-template-actions() \n<$action-createtiddler $basetitle={{!!instance-of}} $savetitle=\"$:/temp/clone-template-title\" $(attribs)$ text={{!!text}} />\n<$action-sendmessage $message=\"tm-edit-tiddler\" $param={{$:/temp/clone-template-title}}/>\n\\end\n\\define clone-tiddler(tiddlername)\n<$set name=tiddlername value=\"$tiddlername$\" emptyValue=<<currentTiddler>> >\n<$tiddler tiddler=<<tiddlername>> >\n<$wikify name=\"attribs\" text=<<fieldsvalues>> >\n<$button actions=<<clone-current-actions>>class=<<tv-config-toolbar-class>> tooltip=\"Clone tiddler\">{{$:/PSaT/newTiddler/icon.svg}}\n</$button>\n</$wikify>\n</$tiddler>\n</$set>\n\\end\n\\define new-template-instance(tiddlername)\n<$set name=tiddlername value=\"$tiddlername$\" emptyValue=<<currentTiddler>> >\n<$tiddler tiddler=<<tiddlername>> >\n<$wikify name=\"attribs\" text=<<fieldsvalues>> >\n<$button actions=<<clone-template-actions>> class=<<tv-config-toolbar-class>> tooltip=\"New instance of template tiddler\">{{$:/PSaT/newTiddler/icon.svg}}\n</$button>\n</$wikify>\n</$tiddler>\n</$set>\n\\end",
        "title": "$:/PSaT/newTiddler/macros",
        "tags": "$:/tags/Macro",
        "modified": "20180812063036857",
        "macro-newtiddlerselect": "<<newTiddlerSelect>> to create new tiddlers from templates that have a tiddler-template-caption field",
        "icon": "$:/PSaT/newTiddler/icon.svg",
        "macro-new-template-instance": "<<new-template-instance [templatename]>> the template tiddler must contain and \"instance-of\" field with the New Tiddler title.",
        "macro-clone-tiddler": "<<clone-tiddler  [tiddlername]>> Clone tiddlername or current tiddler (except selected fields) will use the tiddlername",
        "macro-fieldsvalues": "<<fieldsvalues>> lists all fields  (except selected fields) on the current tiddlerand their contents in the form fieldname=\"value\""
    },
    {
        "created": "20180811044829152",
        "text": "[[New Tiddler from Template|$:/PSaT/newTiddler/info]]<br><br>\n<<newTiddlerSelect>><br>\n<small>\n//Create a new tiddler from tiddlers that have a tiddler-template-caption field//</small>\n <$button tooltip=\"Learn more about the new Tiddler macros\" to=\"$:/PSaT/newTiddler/info\" class=<<tv-config-toolbar-class>> >more...{{$:/core/images/info-button}}</$button>\n\n\nDefault ~NewTiddlers: {{$:/core/ui/Buttons/new-tiddler}} {{$:/core/ui/Buttons/new-journal}} {{$:/core/ui/Buttons/new-image}}\n\n<$checkbox tiddler=\"$:/PSaT/newTiddler/sideBar\" tag=\"$:/tags/SideBar\"> ~SideBar Tab?</$checkbox>\n",
        "title": "$:/PSaT/newTiddler/sideBar",
        "tags": "$:/tags/SideBar",
        "modified": "20180812063205135",
        "caption": "New"
    },
    {
        "text": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<svg\n   xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n   xmlns:cc=\"http://creativecommons.org/ns#\"\n   xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n   xmlns:svg=\"http://www.w3.org/2000/svg\"\n   xmlns=\"http://www.w3.org/2000/svg\"\n   xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n   xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n   width=\"16px\"\n   height=\"16px\"\n   viewBox=\"0 0 16 16\"\n   version=\"1.1\"\n   id=\"svg16\"\n   sodipodi:docname=\"template-yes.svg\"\n   inkscape:version=\"0.92.2 (5c3e80d, 2017-08-06)\">\n  <metadata\n     id=\"metadata20\">\n    <rdf:RDF>\n      <cc:Work\n         rdf:about=\"\">\n        <dc:format>image/svg+xml</dc:format>\n        <dc:type\n           rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" />\n        <dc:title></dc:title>\n      </cc:Work>\n    </rdf:RDF>\n  </metadata>\n  <sodipodi:namedview\n     pagecolor=\"#ffffff\"\n     bordercolor=\"#666666\"\n     borderopacity=\"1\"\n     objecttolerance=\"10\"\n     gridtolerance=\"10\"\n     guidetolerance=\"10\"\n     inkscape:pageopacity=\"0\"\n     inkscape:pageshadow=\"2\"\n     inkscape:window-width=\"2400\"\n     inkscape:window-height=\"1471\"\n     id=\"namedview18\"\n     showgrid=\"false\"\n     inkscape:zoom=\"14.75\"\n     inkscape:cx=\"8\"\n     inkscape:cy=\"32.40678\"\n     inkscape:window-x=\"-9\"\n     inkscape:window-y=\"-9\"\n     inkscape:window-maximized=\"1\"\n     inkscape:current-layer=\"svg16\" />\n  <defs\n     id=\"defs2\" />\n  <g\n     stroke=\"none\"\n     stroke-width=\"1\"\n     fill=\"none\"\n     fill-rule=\"evenodd\"\n     id=\"g14\">\n    <g\n       stroke=\"#4A4A4A\"\n       id=\"g12\">\n      <rect\n         x=\"0\"\n         y=\"5\"\n         width=\"11\"\n         height=\"11\"\n         id=\"rect4\" />\n      <rect\n         x=\"5\"\n         y=\"0\"\n         width=\"11\"\n         height=\"11\"\n         id=\"rect6\" />\n      <path\n         d=\"M1.5,6.5 L9.5,6.5\"\n         stroke-linecap=\"square\"\n         id=\"path8\" />\n      <path\n         d=\"M6.5,1.5 L14.5,1.5\"\n         stroke-linecap=\"square\"\n         id=\"path10\" />\n    </g>\n  </g>\n  <text\n     xml:space=\"preserve\"\n     style=\"font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:33.33333206px;line-height:4.25;font-family:'MS UI Gothic';-inkscape-font-specification:'MS UI Gothic, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none\"\n     x=\"-35.59322\"\n     y=\"-29.491526\"\n     id=\"text829\"><tspan\n       sodipodi:role=\"line\"\n       id=\"tspan827\"\n       x=\"-35.59322\"\n       y=\"-29.491526\">+</tspan></text>\n  <text\n     xml:space=\"preserve\"\n     style=\"font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12.11584663px;line-height:4.25;font-family:'MS UI Gothic';-inkscape-font-specification:'MS UI Gothic, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#00ff00;fill-opacity:1;stroke:none;stroke-width:0.36347541\"\n     x=\"-0.84113294\"\n     y=\"14.778245\"\n     id=\"text833\"\n     transform=\"scale(0.97094505,1.0299244)\"><tspan\n       sodipodi:role=\"line\"\n       id=\"tspan831\"\n       x=\"-0.84113294\"\n       y=\"14.778245\"\n       style=\"stroke-width:0.36347541\">✓</tspan></text>\n</svg>\n",
        "type": "image/svg+xml",
        "title": "$:/PSaT/newTiddler/template-yes.svg",
        "modified": "20180803062812440",
        "created": "20180803053123545"
    },
    {
        "created": "20180812053250204",
        "text": "",
        "modified": "20180812053744430",
        "title": "$:/PSaT/newTiddler/Tiddler Template",
        "instance-of": "Tiddler Template",
        "tiddler-source": "reference $:/PSaT/newTiddler",
        "tiddler-template-caption": "New Tiddler Template",
        "note": "Please add a tiddler-template-caption field with \"new templatename\" to this tiddler if you want it to apear in the new tiddler from template dropdown",
        "tags": ""
    },
    {
        "created": "20180812055250366",
        "title": "$:/PSaT/newTiddler/more-2.svg",
        "type": "image/svg+xml",
        "text": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->\n\n<svg\n   xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n   xmlns:cc=\"http://creativecommons.org/ns#\"\n   xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n   xmlns:svg=\"http://www.w3.org/2000/svg\"\n   xmlns=\"http://www.w3.org/2000/svg\"\n   xmlns:sodipodi=\"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd\"\n   xmlns:inkscape=\"http://www.inkscape.org/namespaces/inkscape\"\n   version=\"1.1\"\n   id=\"Capa_1\"\n   x=\"0px\"\n   y=\"0px\"\n   viewBox=\"0 0 640 300\"\n   xml:space=\"preserve\"\n   sodipodi:docname=\"more-2.svg\"\n   width=\"32\"\n   height=\"15\"\n   inkscape:version=\"0.92.2 (5c3e80d, 2017-08-06)\"><metadata\n     id=\"metadata12988\"><rdf:RDF><cc:Work\n         rdf:about=\"\"><dc:format>image/svg+xml</dc:format><dc:type\n           rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs\n     id=\"defs12986\" /><sodipodi:namedview\n     pagecolor=\"#ffffff\"\n     bordercolor=\"#666666\"\n     borderopacity=\"1\"\n     objecttolerance=\"10\"\n     gridtolerance=\"10\"\n     guidetolerance=\"10\"\n     inkscape:pageopacity=\"0\"\n     inkscape:pageshadow=\"2\"\n     inkscape:window-width=\"2400\"\n     inkscape:window-height=\"1471\"\n     id=\"namedview12984\"\n     showgrid=\"false\"\n     inkscape:zoom=\"1.3906433\"\n     inkscape:cx=\"320.12813\"\n     inkscape:cy=\"67.50976\"\n     inkscape:window-x=\"-9\"\n     inkscape:window-y=\"-9\"\n     inkscape:window-maximized=\"1\"\n     inkscape:current-layer=\"g17490\" /><g\n     id=\"g17490\"><g\n       id=\"g17501\"\n       transform=\"matrix(10.524993,0,0,9.8129651,4.0078418,-2497.7912)\"><circle\n         style=\"fill:#7383bf\"\n         cx=\"42\"\n         cy=\"270\"\n         r=\"3\"\n         id=\"circle12943\" /><g\n         id=\"g17479\"><line\n           id=\"line12947\"\n           y2=\"284\"\n           x2=\"15\"\n           y1=\"270\"\n           x1=\"1\"\n           style=\"fill:none;stroke:#556080;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10\" /><g\n           id=\"g17470\"><circle\n             style=\"fill:#7383bf\"\n             cx=\"18\"\n             cy=\"270\"\n             r=\"3\"\n             id=\"circle12939\" /><circle\n             style=\"fill:#7383bf\"\n             cx=\"30\"\n             cy=\"270\"\n             r=\"3\"\n             id=\"circle12941\" /><line\n             style=\"fill:none;stroke:#556080;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10\"\n             x1=\"1\"\n             y1=\"270\"\n             x2=\"15\"\n             y2=\"256\"\n             id=\"line12945\" /><line\n             style=\"fill:none;stroke:#556080;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10\"\n             x1=\"59\"\n             y1=\"270\"\n             x2=\"45\"\n             y2=\"284\"\n             id=\"line12949\" /><line\n             style=\"fill:none;stroke:#556080;stroke-width:2;stroke-linecap:round;stroke-miterlimit:10\"\n             x1=\"59\"\n             y1=\"270\"\n             x2=\"45\"\n             y2=\"256\"\n             id=\"line12951\" /></g></g></g></g><g\n     id=\"g12953\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12955\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12957\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12959\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12961\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12963\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12965\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12967\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12969\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12971\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12973\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12975\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12977\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12979\"\n     transform=\"translate(0,240)\" /><g\n     id=\"g12981\"\n     transform=\"translate(0,240)\" /></svg>",
        "modified": "20180812055720484"
    },
    {
        "created": "20180812071915764",
        "text": "hide",
        "title": "$:/config/ViewToolbarButtons/Visibility/$:/PSaT/newTiddler/Buttons/template-toggle",
        "tags": "",
        "modified": "20180812072258937"
    }
]