Vorlage:ParseTextValue4ical: Unterschied zwischen den Versionen

Aus Bayernflora
Wechseln zu: Navigation, Suche
K
K (textLength fix)
Zeile 34: Zeile 34:
 
-->]]
 
-->]]
 
</noinclude><includeonly><!--  
 
</noinclude><includeonly><!--  
-->{{#vardefine: textLength |{{#len: {{{1|}}}}}}}<!--
 
 
  -->{{#vardefine: textBreakLength |74}}<!--  
 
  -->{{#vardefine: textBreakLength |74}}<!--  
 
  -->{{#vardefine: text|<!--  
 
  -->{{#vardefine: text|<!--  
Zeile 49: Zeile 48:
 
   -->|;|\;}}<!--  
 
   -->|;|\;}}<!--  
 
  -->}}<!--  
 
  -->}}<!--  
 +
-->{{#vardefine: textLength |{{#len: {{#var: text }}}}}}<!--
 
  -->{{#vardefine: i-loop |1}}<!--  
 
  -->{{#vardefine: i-loop |1}}<!--  
  

Version vom 14. Januar 2014, 17:56 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