v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User:Lethosor/parser function test"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "anchorencode basepagename basepagenamee canonicalurl canonicalurle char colorconvert colorconvertto colorfg colortype defaultsort delay df_cvariation df_foreachta...")
 
(regex tests)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
anchorencode
+
char {{#ifeq:{{#char:100}}|d|1|0}}
  
basepagename
+
colorconvert {{#ifeq:{{#colorconvert:rgb(0,16,32)|rgb|hex}}|#001020|1|0}}
  
basepagenamee
+
colorconvertto {{#ifeq:{{#colorconvertto:#302010|rgb1}}|48|1|0}}
  
canonicalurl
+
colorfg {{#ifeq:{{#colorfg:#ffffff}}|#000000|1|0}}
  
canonicalurle
+
colortype {{#ifeq:{{#colortype:rgb(1,2,3)}}|rgb|1|0}}
  
char
+
delay {{#ifeq:{{#delay:a|b}}|{{((}}a{{!}}b{{))}}|1|0}}
 
 
colorconvert
 
 
 
colorconvertto
 
 
 
colorfg
 
 
 
colortype
 
 
 
defaultsort
 
 
 
delay
 
  
 
df_cvariation
 
df_cvariation
Line 41: Line 29:
 
df_tagvalue
 
df_tagvalue
  
displaytitle
+
eval {{#ifeq:{{#eval:{{((}}(({{))}}}}|{{((}}|1|0}}
 
 
eval
 
 
 
expr
 
 
 
filepath
 
 
 
formatdate
 
  
formatnum
+
md5 {{#ifeq:{{#md5:test}}|098f6bcd4621d373cade4e832627b4f6|1|0}}
  
fullpagename
+
mreplace {{#ifeq:{{#mreplace:abacada|a|8}}|8b8c8d8|1|0}}
  
fullpagenamee
+
nlenable
  
fullurl
+
nlenabled
  
fullurle
+
ordinal {{#ifeq:{{#ordinal:1}}|1st|1|0}}
  
gender
+
param {{#ifeq:{{#param:1|a|foo}}|foo|1|0}}
  
grammar
+
randint {{#ifeq:{{#randint:5|5}}|5|1|0}}
  
if
+
randorder {{#ifeq:{{#randorder:c|c}}|cc|1|0}}
  
ifeq
+
rmatch {{#ifeq:{{#rmatch:abc234|[a-z]+|$0}}|abc|1|0}}
  
iferror
+
rreplace {{#ifeq:{{#rreplace:a1b2c|\d|x}}|axbxc|1|0}}
  
ifexist
+
rsplit {{#ifeq:{{#rsplit:a{{!}}b{{!}}c{{!}}|[^a-z]|1}}|b|1|0}}
  
ifexpr
+
sha1 {{#ifeq:{{#sha1:test}}|a94a8fe5ccb19ba61c4c0873d391e987982fbbd3|1|0}}
  
int
+
splitrand {{#switch:{{#splitrand:a|x}}|a=1|#default=0}}
  
language
+
strc {{#ifeq:{{#strc:\044}}|$|1|0}}
  
lc
+
strcount {{#ifeq:{{#strcount:abcdabB|b}}|2|1|0}}
  
lcfirst
+
stricount {{#ifeq:{{#stricount:abcdabB|b}}|3|1|0}}
  
localurl
+
stripos {{#stripos:abcB|B}}
 
 
localurle
 
 
 
md5
 
 
 
mreplace
 
 
 
namespace
 
 
 
namespacee
 
 
 
namespacenumber
 
 
 
ns
 
 
 
nse
 
 
 
numberingroup
 
 
 
numberofactiveusers
 
 
 
numberofadmins
 
 
 
numberofarticles
 
 
 
numberofedits
 
 
 
numberoffiles
 
 
 
numberofpages
 
 
 
numberofusers
 
 
 
numberofviews
 
 
 
ordinal
 
 
 
padleft
 
 
 
padright
 
 
 
pagename
 
 
 
pagenamee
 
 
 
pagesincategory
 
 
 
pagesize
 
 
 
param
 
 
 
plural
 
 
 
protectionlevel
 
 
 
randint
 
 
 
randorder
 
 
 
rel2abs
 
 
 
rmatch
 
 
 
rreplace
 
 
 
rsplit
 
 
 
sha1
 
 
 
special
 
 
 
speciale
 
 
 
splitrand
 
 
 
strc
 
 
 
strcount
 
 
 
stricount
 
 
 
stripos
 
  
 
stristr
 
stristr
  
strlen
+
strlen {{#strlen:x}}
  
strpos
+
strpos {{#strpos:abc|b}}
  
strripos
+
strripos {{#strripos:aAh|a}}
  
strrpos
+
strrpos {{#strripos:aah|a}}
  
 
strsplit
 
strsplit
  
 
strstr
 
strstr
 
subjectpagename
 
 
subjectpagenamee
 
 
subjectspace
 
 
subjectspacee
 
 
subpagename
 
 
subpagenamee
 
  
 
substr
 
substr
  
switch
+
var {{#vardefine:a|1}}{{#var:a|0}}
 
 
tag
 
 
 
talkpagename
 
 
 
talkpagenamee
 
 
 
talkspace
 
 
 
talkspacee
 
 
 
time
 
 
 
timel
 
 
 
titleparts
 
 
 
uc
 
 
 
ucfirst
 
 
 
urlencode
 
 
 
var
 
  
var_final
+
var_final {{#vardefine:b|1}}{{#var:b|0}}
  
vardefine
+
vardefine {{#vardefine:c|1}}{{#var:c|0}}
  
vardefineecho
+
vardefineecho {{#vardefineecho:d|1}}
  
varexists
+
varexists {{#vardefine:e|2}}{{#varexists:e|1|0}}

Latest revision as of 23:37, 10 June 2019

char 1

colorconvert 1

colorconvertto 1

colorfg 1

colortype 1

delay 1

df_cvariation

df_foreachtag

df_foreachtoken

df_makelist

df_raw

df_statedesc

df_tag

df_tagentry

df_tagvalue

eval 1

md5 1

mreplace 1

nlenable

nlenabled

ordinal 1

param 1

randint 1

randorder 1

rmatch 1

rreplace 1

rsplit 1

sha1 1

splitrand 1

strc 1

strcount 1

stricount 1

stripos 1

stristr

strlen 1

strpos 1

strripos 1

strrpos 1

strsplit

strstr

substr

var 1

var_final 1

vardefine 1

vardefineecho 1

varexists 1