mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 02:50:27 +00:00
be06257430
Belatedly realised that the design would be clearer without these two separate concepts being conflated into a single widget. As a result of this change, any other widget or template that generates transclude widgets has needed adjustment.
24 lines
765 B
Plaintext
24 lines
765 B
Plaintext
created: 201308241425
|
|
creator: JeremyRuston
|
|
modified: 201308241530
|
|
modifier: JeremyRuston
|
|
tags: widget docs
|
|
title: TranscludeWidget
|
|
|
|
! Introduction
|
|
|
|
The TranscludeWidget dynamically imports content from another tiddler.
|
|
|
|
! Attributes
|
|
|
|
|!Attribute |!Description |
|
|
|title |The title of the tiddler to transclude (defaults to the current tiddler) |
|
|
|field |The field name of the current tiddler (defaults to "text"; if present takes precedence over the index attribute) |
|
|
|index |The index of a property in a [[DataTiddler|DataTiddlers]] |
|
|
|class |CSS classes to added to the generated elements |
|
|
|style |CSS styles to be added to the generated elements |
|
|
|tooltip |Tooltip to be added to the generated elements |
|
|
|
|
The TranscludeWidget ignores any contained content.
|
|
|