2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/title
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2022-03-26 14:16:01 +00:00
|
|
|
\whitespace trim
|
2023-06-21 16:13:33 +00:00
|
|
|
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor" focus={{{ [{$:/config/AutoFocus}match[title]then[true]] ~[[false]] }}} tabindex={{$:/config/EditTabIndex}} cancelPopups="yes"/>
|
2016-12-15 17:12:57 +00:00
|
|
|
|
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
|
|
|
|
2023-06-21 16:13:33 +00:00
|
|
|
<div class="tc-message-box">
|
2016-03-31 10:14:15 +00:00
|
|
|
|
2022-03-26 14:16:01 +00:00
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}
|
2016-03-31 10:14:15 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$vars>
|
|
|
|
|
2023-06-21 16:13:33 +00:00
|
|
|
<$reveal state="!!draft.title" type="nomatch" text={{!!draft.of}} tag="div">
|
2016-12-15 17:12:57 +00:00
|
|
|
|
|
|
|
<$list filter="[{!!draft.title}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<div class="tc-message-box">
|
|
|
|
|
2022-03-26 14:16:01 +00:00
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}: <$link to={{!!draft.title}} />
|
2016-12-15 17:12:57 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
<$list filter="[{!!draft.of}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>
|
|
|
|
|
2022-03-26 14:16:01 +00:00
|
|
|
<$checkbox tiddler="$:/config/RelinkOnRename" field="text" checked="yes" unchecked="no" default="no"> {{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>
|
2016-12-15 17:12:57 +00:00
|
|
|
|
2019-02-01 17:33:39 +00:00
|
|
|
<$list filter="[title<fromTitle>backlinks[]limit[1]]" variable="listItem">
|
|
|
|
|
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">
|
2022-03-26 14:16:01 +00:00
|
|
|
<$button set=<<stateTiddler>> setTo="show" class="tc-btn-invisible">
|
|
|
|
{{$:/core/images/right-arrow}}
|
|
|
|
 
|
2018-11-15 15:43:16 +00:00
|
|
|
<<lingo EditTemplate/Title/References/Prompt>></$button>
|
2018-11-15 15:18:38 +00:00
|
|
|
</$reveal>
|
|
|
|
<$reveal type="match" state=<<stateTiddler>> text="show">
|
2022-03-26 14:16:01 +00:00
|
|
|
<$button set=<<stateTiddler>> setTo="hide" class="tc-btn-invisible">
|
|
|
|
{{$:/core/images/down-arrow}}
|
|
|
|
 
|
2018-11-15 15:43:16 +00:00
|
|
|
<<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>
|
|
|
|
|
2019-02-01 17:33:39 +00:00
|
|
|
</$list>
|
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
</$vars>
|
2016-12-15 17:12:57 +00:00
|
|
|
|
2018-11-15 15:18:38 +00:00
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$reveal>
|