More Examples

Caption: {{!!caption}}<br>Description: {{!!description}}<br>
<!-- Display the caption and description on the current tiddler, or any 
other field -->


<http://127.0.4.85:8081/resources#%24%3A%2Fcore%2Fui%2FControlPanel%2FTiddlerFields>
{{||$:/core/ui/TiddlerInfo/Fields}}
<!-- local fields and their values, can use other tiddlers with the $:/tags/
TiddlerInfo -->

<<tag $:/tags/TiddlerInfo>><$list 
filter="[all[shadows+system]tag[$:/tags/TiddlerInfo]] 
-[[$:/core/ui/TiddlerInfo/Tools]]"><$transclude/><br></$list>
<!-- content of all info tabs (if has value) except tools tab -->

Please share your own!

TW Tones




On Saturday, June 27, 2020 at 9:19:05 AM UTC+10, TW Tones wrote:
>
> Folks,
>
> The viewTemplate is a great way to get content or macros to be active on a 
> tiddler without using your text field to include macros and templates. This 
> leaves the text field free for the information you are composing. See 
> elsewhere for how to use the view template.
>
> *I just made this simple view template* to make displaying things on a 
> tiddler much easier. This helps for learning, debugging, and proto-typing 
> something you may later place in the view template. See the examples below, 
> it is a great way to learn.
>
> *You will be amazed at the possibilities*
>
> Once installed all you need to do is create a local-viewtemplate field on 
> any tiddler, and its value will be displayed in the view template for that 
> tiddler only
>
> *Remember The content of the field will be rendered so you can;*
>
>    - Include wikitext, buttons, transclusions, widgets, variables and 
>    more in your local-viewtemplate field
>    - Helps when debugging or prototyping
>    - This content does not appear when transcluding the current tiddler 
>    from elsewhere, although it could be if desired.
>
> *Other tips*
>
>    - Use `<br>` for line breaks
>    - Transclude with mode block to bring in multi-line content from 
>    elsewhere
>
>
> Create a tiddler tagged $:/tags/ViewTemplate containing the following;
> <$list 
> filter="[all[current]has[local-viewtemplate]get[local-viewtemplate]]" 
> variable=field-value>
> <<field-value>>
> </$list>
> Also Attached for your convenience
>
> You can use the `<<tag "$:/tags/ViewTemplate">>` pill to reorder this or 
> add a list-before/list-after field to set where it appears on the view 
> template, by default it will be at the bottom.
>
> *Examples,* try these in your local-viewtemplate one or more at a time
> ''Hi'' there
>
> [[more]]
>
> {{TableOfContents}}
>
> {{||$:/core/ui/Buttons/edit}}
>
> {{||$:/core/ui/Buttons/open-window}}
>
> {{||$:/core/ui/EditTemplate/tags}}
>
> {{$:/core/ui/Buttons/home}}
>
> <<tag>>
>
> <<tag $:/tags/ControlPanel>>
>
> <<list-links filter:"[tag[Core Macros]]">>
>
> <<dumpvariables>>
>
> <<transclusion>>
>
>
> *Feedback*
>
>    - Let me know here if this is helpful, if their is a call for it, I 
>    can make a multi-line text field work with this.
>    - Share any examples you develop by sharing the content of the 
>    local-viewtemplate you used similar to my examples above, describe what it 
>    does (I have not intentionally to get you to experiment)
>
> Regards
> TW Tones
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98c753bf-ca72-4bea-aa04-f23bd61917f8o%40googlegroups.com.

Reply via email to