Vorlage:ParseTextValue4ical: Unterschied zwischen den Versionen

Aus Bayernflora
Wechseln zu: Navigation, Suche
K (DEBUG)
K (DEBUG)
Zeile 78: Zeile 78:
 
-->
 
-->
  
DEBUG {{#var: textLength}} > {{#var: textBreakLength}}
+
DEBUG {{#var: textWrapped}}
  
{{PADLEFT:|{{#expr: ceil ( {{#var: textLength}} / {{#var: textBreakLength }} ) }}|.}}
 
 
{{#var: textWrapped}}
 
 
{{#var: text}}
 
  
 
</includeonly>
 
</includeonly>

Version vom 14. Januar 2014, 18:04 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
}}

very long text very long text very long text very long text very long text

 very long text \n\nnext line goes here