Vorlage:ParseTextValue4ical: Unterschied zwischen den Versionen
Aus Bayernflora
K (: problem) |
K (CRLF TEst) |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 44: | Zeile 44: | ||
-->|\|\\}}<!-- | -->|\|\\}}<!-- | ||
-->|<nowiki></nowiki> | -->|<nowiki></nowiki> | ||
− | <nowiki></nowiki>|\n}}<!-- | + | <nowiki></nowiki>|\n}}<!-- |
-->|,|\,}}<!-- | -->|,|\,}}<!-- | ||
-->|;|\;}}<!-- | -->|;|\;}}<!-- | ||
Zeile 62: | Zeile 62: | ||
-->{{#vardefine: textWrapped |<!-- | -->{{#vardefine: textWrapped |<!-- | ||
-->{{#sub: {{#ifeq: {{#var: i-loop}} | 1 |{{#var: text}}|{{#var: textWrapped}}}}| 0 | {{#expr: {{#var: i-loop}} * {{#var: textBreakLength}} }} }}<!-- | -->{{#sub: {{#ifeq: {{#var: i-loop}} | 1 |{{#var: text}}|{{#var: textWrapped}}}}| 0 | {{#expr: {{#var: i-loop}} * {{#var: textBreakLength}} }} }}<!-- | ||
+ | CRLF needed here!!! | ||
--> | --> | ||
<nowiki></nowiki><!-- | <nowiki></nowiki><!-- |
Aktuelle Version vom 20. Januar 2014, 15:57 Uhr
Following transformation will be done:
- wrap text to 75 and indent it by 1 space
- escape: \, \; \n
Parameters
- 1=
- the text value
{{ParseTextValue4ical|1=very long text very long text very long text very long text very long text very long text next line goes here and here it goes further a line very long text very long text very long text very long text very long text}}
very long text very long text very long text very long text very long text very long text \n\nnext line goes here\nand here it goes further\na lin e very long text very long text very long text very long text very long text