2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/title
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor" focus="true"/>
|
|
|
|
|
2016-05-01 12:56:41 +00:00
|
|
|
<$vars pattern="""[\|\[\]{}]""" bad-chars="""`| [ ] { }`""">
|
2016-03-31 10:14:15 +00:00
|
|
|
|
2018-08-18 13:47:35 +00:00
|
|
|
<$list filter="[all[current]regexp:draft.title<pattern>]" variable="listItem">
|
2016-03-31 10:14:15 +00:00
|
|
|
|
|
|
|
<div class="tc-message-box">
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}
|
2016-03-31 10:14:15 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$vars>
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
<$reveal state="!!draft.title" type="nomatch" text={{!!draft.of}} tag="div">
|
|
|
|
|
|
|
|
<$list filter="[{!!draft.title}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<div class="tc-message-box">
|
|
|
|
|
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
<$list filter="[{!!draft.of}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>
|
|
|
|
|
|
|
|
<$checkbox tiddler="$:/config/RelinkOnRename" field="text" checked="yes" unchecked="no" default="no"> {{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>
|
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
<$vars stateTiddler=<<qualify "$:/state/edit/references">> >
|
2016-12-15 17:12:57 +00:00
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
<$reveal type="nomatch" state=<<stateTiddler>> text="show">
|
2018-11-15 15:43:16 +00:00
|
|
|
<$button set=<<stateTiddler>> setTo="show" class="tc-btn-invisible">{{$:/core/images/right-arrow}}
|
|
|
|
<<lingo EditTemplate/Title/References/Prompt>></$button>
|
2018-11-15 15:18:38 +00:00
|
|
|
</$reveal>
|
|
|
|
<$reveal type="match" state=<<stateTiddler>> text="show">
|
2018-11-15 15:43:16 +00:00
|
|
|
<$button set=<<stateTiddler>> setTo="hide" class="tc-btn-invisible">{{$:/core/images/down-arrow}}
|
|
|
|
<<lingo EditTemplate/Title/References/Prompt>></$button>
|
2018-11-15 15:18:38 +00:00
|
|
|
</$reveal>
|
2016-12-15 17:12:57 +00:00
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
<$reveal type="match" state=<<stateTiddler>> text="show">
|
|
|
|
<$tiddler tiddler=<<fromTitle>> >
|
|
|
|
<$transclude tiddler="$:/core/ui/TiddlerInfo/References"/>
|
|
|
|
</$tiddler>
|
2016-12-15 17:12:57 +00:00
|
|
|
</$reveal>
|
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
</$vars>
|
|
|
|
|
|
|
|
</$vars>
|
2016-12-15 17:12:57 +00:00
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$reveal>
|