\define songs() {{$:/state/new-button-caption}} - Songs
\define games() {{$:/state/new-button-caption}} - Games
\define art() {{$:/state/new-button-caption}} - Art
\define intro() {{$:/state/new-button-caption}} - Intro
\define books() {{$:/state/new-button-caption}} - Books
\define tagme() [[$(tagx)$]]
\define nontidexist(tiddler)
<br>
* Workshop <span class="tagme"> <<tagme>> </span> does NOT exist. You are GOOD TO GO, Houston!
<br><br>
<hr>
This
<$wikify name="songs" text=<<songs>> >
<$wikify name="games" text=<<games>> >
<$wikify name="art" text=<<art>> >
<$wikify name="intro" text=<<intro>> >
<$wikify name="books" text=<<books>> >
<$button>
<$action-createtiddler $basetitle={{$:/state/new-button-caption}} tags="Workshop createdByButton Board" text={{$:/plugins/reidgould/dpbd/templates/view/Board}} focus=yes />
<$set name=tagx value={{$:/state/new-button-caption}} >
<$action-createtiddler $basetitle=<<songs>> tags=<<tagme>> text="Homemade Button" focus=yes />
<$action-createtiddler $basetitle=<<games>> tags=<<tagme>> text="Homemade Button" focus=yes />
<$action-createtiddler $basetitle=<<art>> tags=<<tagme>> text="Homemade Button" focus=yes />
<$action-createtiddler $basetitle=<<intro>> tags=<<tagme>> text="Homemade Button" focus=yes />
<$action-createtiddler $basetitle=<<books>> tags=<<tagme>> text="Homemade Button" focus=yes />
</$set>
<<tagx>>
</$button>
</$wikify>
</$wikify>
</$wikify>
</$wikify>
</$wikify>
button will create a Workshop with the following names and tags:<br>
<br>
* {{$:/state/new-button-caption}} TAGS: <<tag Workshop>> <<tag createdByButton>> <<tag Board>>
<br><br>
* <<songs>> TAGS: {{$(tagx)$||$:/core/ui/TagTemplate}}<br>
<br>
* <<games>> TAGS: {{$(tagx)$||$:/core/ui/TagTemplate}}<br>
<br>
* <<art>> TAGS: {{$(tagx)$||$:/core/ui/TagTemplate}}<br>
<br>
* <<intro>> TAGS: {{$(tagx)$||$:/core/ui/TagTemplate}}<br>
<br>
* <<books>> TAGS: {{$(tagx)$||$:/core/ui/TagTemplate}}<br>
<hr>
\end
\define tidexist(tiddler)
<$vars tiddler="""$tiddler$""">
<$list filter="[title[$tiddler$]] +[has[title]]" emptyMessage=<<nontidexist """$tiddler$""">>>
<br>
<span class=tagme><<tagme>></span> EXISTS. Overwriting existing tiddler prohibited. Enter new name or click to edit<span class=tagme> [[existing tiddler|$tiddler$]]</span>.
<br><br>
</$list>
</$vars>
\end
<style>
#createAWorkshop input:not([type]), .tagme a.tc-tiddlylink {
color: red;
font-family: Arial, non-serif;
font-size:1.2em;
font-weight: 600;
width: 80%;
}
#createAWorkshop input:not([type]) {
position:relative;
left: 5%;
}
</style>
<div id="createAWorkshop" style="background: lightblue; color:maroon; padding:10px;">
!!!__Create a Workshop__
<$edit-text tiddler="$:/state/new-button-caption" tag=input default="" size=35 placeholder=<<now "YYYY 0MM 0DD Workshop" >> />
<$set name=tagx value={{$:/state/new-button-caption}} >
<$reveal text=<<tagx>> type="match" default="" >
(enter the date/name of the workshop)
</$reveal>
<$reveal text=<<tagx>> type="nomatch" default="" >
<br>
<<tidexist $(tagx)$ >>
</$reveal>
<!-- <pre><$view /></pre> -->