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
(just custom funcs)
(more)
Line 1: Line 1:
char
+
char {{#ifeq:{{#char:100}}|d|1|0}}
  
colorconvert
+
colorconvert {{#ifeq:{{#colorconvert:rgb(0,16,32)|rgb|hex}}|#001020|1|0}}
  
colorconvertto
+
colorconvertto {{#ifeq:{{#colorconvertto:#302010|rgb1}}|48|1|0}}
  
colorfg
+
colorfg {{#ifeq:{{#colorfg:#ffffff}}|#000000|1|0}}
  
colortype
+
colortype {{#ifeq:{{#colortype:rgb(1,2,3)}}|rgb|1|0}}
  
 
delay
 
delay
Line 53: Line 53:
 
rsplit
 
rsplit
  
sha1
+
sha1 {{#ifeq:{{#sha1:test}}|a94a8fe5ccb19ba61c4c0873d391e987982fbbd3|1|0}}
  
splitrand
+
splitrand {{#switch:{{#splitrand:a|x}}|a=1|#default=0}}
  
strc
+
strc {{#ifeq:{{#strc:\044}}|$|1|0}}
  
strcount
+
strcount {{#ifeq:{{#strcount:abcdabB|b}}|2|1|0}}
  
stricount
+
stricount {{#ifeq:{{#stricount:abcdabB|b}}|3|1|0}}
  
 
stripos
 
stripos

Revision as of 03:36, 3 June 2019

char 1

colorconvert 1

colorconvertto 1

colorfg 1

colortype 1

delay

df_cvariation

df_foreachtag

df_foreachtoken

df_makelist

df_raw

df_statedesc

df_tag

df_tagentry

df_tagvalue

eval

md5 1

mreplace 1

nlenable

nlenabled

ordinal

param

randint

randorder

rmatch

rreplace

rsplit

sha1 1

splitrand 1

strc 1

strcount 1

stricount 1

stripos

stristr

strlen

strpos

strripos

strrpos

strsplit

strstr

substr

var

var_final

vardefine

vardefineecho

varexists