Docs: Clarify TextWidget with example (#3564)

logging-improvements
Bimba Laszlo 2018-11-21 12:26:00 +01:00 zatwierdzone przez Jeremy Ruston
rodzic ce7becd64f
commit d55a498fca
1 zmienionych plików z 23 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ caption: text
! Introduction
The text widget displays plain text.
The text widget displays plain text without parsing it as [[WikiText]], opposite of [[WikifyWidget]].
! Content and Attributes
@ -14,3 +14,25 @@ The content of the `<$text>` widget is not used.
|!Attribute |!Description |
|text |The text to display |
! Example
```
<$vars string="//italic//">
* <<string>>
* <$text text=<<string>>/>
</$vars>
```
Displays as:
<<<
<$vars string="//italic//">
* <<string>>
* <$text text=<<string>>/>
</$vars>
<<<