Example:ParserFunctions: Unterschied zwischen den Versionen

Aus FB-Wiki
Wechseln zu: Navigation, Suche
K (Schützte „Example:ParserFunctions“ ([edit=sysop] (unbeschränkt) [move=sysop] (unbeschränkt)))
 
Zeile 1: Zeile 1:
 
{{#expr: 1 and -1 }} → {{#expr: 1 and -1 }}  
 
{{#expr: 1 and -1 }} → {{#expr: 1 and -1 }}  
 
{{#expr: 1 and 0 }} → {{#expr: 1 and 0 }}  
 
{{#expr: 1 and 0 }} → {{#expr: 1 and 0 }}  
 +
 +
{{VorlageTableBackground|Color=yellow|F1=Color yellow}}
 +
----
 +
{{VorlageTableBackground|Color=|F1=Color|F2=Color}}
 +
----
 +
{{VorlageTableBackground|F1=Kein Feld für Color|F2=Kein Feld für Color}}
 +
 +
'''StringFunctions '''
 +
* test #replace
 +
:{{#replace:Žmržlina|ž|z}}
 +
 +
* test #len
 +
:{{#len:}}
 +
:{{#len:0}}
 +
:{{#len:test}}
 +
 +
* test #urldecode
 +
:{{#urldecode:}}
 +
:{{#urldecode:foo%20bar}}
 +
:{{#urldecode:%D0%9C%D0%B5%D0%B4%D0%B8%D0%B0%D0%92%D0%B8%D0%BA%D0%B8}}
 +
:{{#urldecode: some unescaped string}}
 +
 +
  
 
= How TO USE =
 
= How TO USE =
 
http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
 
http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions

Aktuelle Version vom 26. Juli 2017, 09:35 Uhr

1 → 1 0 → 0

Color yellow

Color Color

Kein Feld für Color Kein Feld für Color

StringFunctions

  • test #replace
Žmrzlina
  • test #len
0
1
4
  • test #urldecode
foo bar
МедиаВики
some unescaped string


How TO USE

http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions