Vorlage:ParseTextValue4ical: Unterschied zwischen den Versionen

Aus Bayernflora
Wechseln zu: Navigation, Suche
K (DEBUG)
K (fix : mit nowiki?)
Zeile 40: Zeile 40:
 
       -->{{#replace:<!--  
 
       -->{{#replace:<!--  
 
         -->{{#replace:<!--  
 
         -->{{#replace:<!--  
           -->{{{1|}}}<!--  
+
           -->{{#replace:<!--
        -->|\|\\}}<!--  
+
            -->{{{1|}}}<!--  
      -->|<nowiki></nowiki>
+
          -->|\|\\}}<!--  
 +
        -->|<nowiki></nowiki>
 
<nowiki></nowiki>|\n}}<!--  
 
<nowiki></nowiki>|\n}}<!--  
    -->|,|\,}}<!--  
+
      -->|,|\,}}<!--  
  -->|;|\;}}<!--  
+
    -->|;|\;}}<!--
 +
  -->|:|<nowiki>:</nowiki>}}<!--  
 
  -->}}<!--  
 
  -->}}<!--  
 
  -->{{#vardefine: textLength |{{#len: {{#var: text }}}}}}<!--  
 
  -->{{#vardefine: textLength |{{#len: {{#var: text }}}}}}<!--  

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