2014-01-19 21:45:55 +00:00
|
|
|
created: 201401191419
|
2019-01-15 16:14:50 +00:00
|
|
|
modified: 201901150000
|
2014-09-10 23:06:19 +00:00
|
|
|
tags: Widgets
|
2014-01-19 21:45:55 +00:00
|
|
|
title: TextWidget
|
2014-09-10 23:06:19 +00:00
|
|
|
caption: text
|
2019-01-15 16:14:50 +00:00
|
|
|
text-test: e=mc^^2^^
|
2014-01-19 21:45:55 +00:00
|
|
|
|
|
|
|
! Introduction
|
|
|
|
|
2018-11-21 11:26:00 +00:00
|
|
|
The text widget displays plain text without parsing it as [[WikiText]], opposite of [[WikifyWidget]].
|
2014-01-19 21:45:55 +00:00
|
|
|
|
|
|
|
! Content and Attributes
|
|
|
|
|
|
|
|
The content of the `<$text>` widget is not used.
|
|
|
|
|
|
|
|
|!Attribute |!Description |
|
|
|
|
|text |The text to display |
|
2018-11-21 11:26:00 +00:00
|
|
|
|
|
|
|
! Example
|
|
|
|
|
2019-01-15 16:14:50 +00:00
|
|
|
<$macrocall $name='wikitext-example-without-html' src='<$vars string="//italic//">
|
2018-11-21 11:26:00 +00:00
|
|
|
|
|
|
|
* <<string>>
|
|
|
|
* <$text text=<<string>>/>
|
|
|
|
|
|
|
|
</$vars>
|
2019-01-15 16:14:50 +00:00
|
|
|
' />
|
2018-11-21 11:26:00 +00:00
|
|
|
|
2019-01-15 16:14:50 +00:00
|
|
|
<$macrocall $name='wikitext-example-without-html' src='
|
|
|
|
The text-test field of this tiddler has a field value: <$text text={{!!text-test}}/>
|
2018-11-21 11:26:00 +00:00
|
|
|
|
2019-01-15 16:14:50 +00:00
|
|
|
It displays in its normal WikiText format as: {{!!text-test}}
|
|
|
|
' />
|