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.

Editing User:Lethosor/parser function test

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
char {{#ifeq:{{#char:100}}|d|1|0}}
+
anchorencode
  
colorconvert {{#ifeq:{{#colorconvert:rgb(0,16,32)|rgb|hex}}|#001020|1|0}}
+
basepagename
  
colorconvertto {{#ifeq:{{#colorconvertto:#302010|rgb1}}|48|1|0}}
+
basepagenamee
  
colorfg {{#ifeq:{{#colorfg:#ffffff}}|#000000|1|0}}
+
canonicalurl
  
colortype {{#ifeq:{{#colortype:rgb(1,2,3)}}|rgb|1|0}}
+
canonicalurle
  
delay {{#ifeq:{{#delay:a|b}}|{{((}}a{{!}}b{{))}}|1|0}}
+
char
 +
 
 +
colorconvert
 +
 
 +
colorconvertto
 +
 
 +
colorfg
 +
 
 +
colortype
 +
 
 +
defaultsort
 +
 
 +
delay
  
 
df_cvariation
 
df_cvariation
Line 29: Line 41:
 
df_tagvalue
 
df_tagvalue
  
eval {{#ifeq:{{#eval:{{((}}(({{))}}}}|{{((}}|1|0}}
+
displaytitle
 +
 
 +
eval
 +
 
 +
expr
 +
 
 +
filepath
 +
 
 +
formatdate
 +
 
 +
formatnum
 +
 
 +
fullpagename
 +
 
 +
fullpagenamee
 +
 
 +
fullurl
 +
 
 +
fullurle
 +
 
 +
gender
 +
 
 +
grammar
 +
 
 +
if {{#if:2|1|0}}
 +
 
 +
ifeq {{#ifeq:aaa|aaab|0|1}}
 +
 
 +
iferror {{#iferror:<span class="error"></span>|1|0}}
 +
 
 +
ifexist {{#ifexist:User:Lethosor/parser function test|1|0}}
 +
 
 +
ifexpr {{#ifexpr:4=5-1|1|0}}
 +
 
 +
int {{#ifeq:{{int:aboutsite}}|About Dwarf Fortress Wiki|1|0}}
 +
 
 +
language
 +
 
 +
lc {{#ifeq:{{lc:AbC dE}}|abc de|1|0}}
 +
 
 +
lcfirst {{#ifeq:{{lcfirst:ABc dE}}|aBc dE|1|0}}
 +
 
 +
localurl
 +
 
 +
localurle
  
 
md5 {{#ifeq:{{#md5:test}}|098f6bcd4621d373cade4e832627b4f6|1|0}}
 
md5 {{#ifeq:{{#md5:test}}|098f6bcd4621d373cade4e832627b4f6|1|0}}
Line 35: Line 91:
 
mreplace {{#ifeq:{{#mreplace:abacada|a|8}}|8b8c8d8|1|0}}
 
mreplace {{#ifeq:{{#mreplace:abacada|a|8}}|8b8c8d8|1|0}}
  
nlenable
+
namespace
 +
 
 +
namespacee
 +
 
 +
namespacenumber
 +
 
 +
ns
 +
 
 +
nse
 +
 
 +
numberingroup
 +
 
 +
numberofactiveusers
  
nlenabled
+
numberofadmins
  
ordinal {{#ifeq:{{#ordinal:1}}|1st|1|0}}
+
numberofarticles
  
param {{#ifeq:{{#param:1|a|foo}}|foo|1|0}}
+
numberofedits
  
randint {{#ifeq:{{#randint:5|5}}|5|1|0}}
+
numberoffiles
  
randorder {{#ifeq:{{#randorder:c|c}}|cc|1|0}}
+
numberofpages
  
rmatch {{#ifeq:{{#rmatch:abc234|[a-z]+|$0}}|abc|1|0}}
+
numberofusers
  
rreplace {{#ifeq:{{#rreplace:a1b2c|\d|x}}|axbxc|1|0}}
+
numberofviews
  
rsplit {{#ifeq:{{#rsplit:a{{!}}b{{!}}c{{!}}|[^a-z]|1}}|b|1|0}}
+
ordinal
  
sha1 {{#ifeq:{{#sha1:test}}|a94a8fe5ccb19ba61c4c0873d391e987982fbbd3|1|0}}
+
padleft
  
splitrand {{#switch:{{#splitrand:a|x}}|a=1|#default=0}}
+
padright
  
strc {{#ifeq:{{#strc:\044}}|$|1|0}}
+
pagename
  
strcount {{#ifeq:{{#strcount:abcdabB|b}}|2|1|0}}
+
pagenamee
  
stricount {{#ifeq:{{#stricount:abcdabB|b}}|3|1|0}}
+
pagesincategory
  
stripos {{#stripos:abcB|B}}
+
pagesize
 +
 
 +
param
 +
 
 +
plural
 +
 
 +
protectionlevel
 +
 
 +
randint
 +
 
 +
randorder
 +
 
 +
rel2abs
 +
 
 +
rmatch
 +
 
 +
rreplace
 +
 
 +
rsplit
 +
 
 +
sha1
 +
 
 +
special
 +
 
 +
speciale
 +
 
 +
splitrand
 +
 
 +
strc
 +
 
 +
strcount
 +
 
 +
stricount
 +
 
 +
stripos
  
 
stristr
 
stristr
  
strlen {{#strlen:x}}
+
strlen
  
strpos {{#strpos:abc|b}}
+
strpos
  
strripos {{#strripos:aAh|a}}
+
strripos
  
strrpos {{#strripos:aah|a}}
+
strrpos
  
 
strsplit
 
strsplit
  
 
strstr
 
strstr
 +
 +
subjectpagename
 +
 +
subjectpagenamee
 +
 +
subjectspace
 +
 +
subjectspacee
 +
 +
subpagename
 +
 +
subpagenamee
  
 
substr
 
substr
  
var {{#vardefine:a|1}}{{#var:a|0}}
+
switch
 +
 
 +
tag
 +
 
 +
talkpagename
 +
 
 +
talkpagenamee
 +
 
 +
talkspace
 +
 
 +
talkspacee
 +
 
 +
time
 +
 
 +
timel
 +
 
 +
titleparts
 +
 
 +
uc
 +
 
 +
ucfirst
 +
 
 +
urlencode
 +
 
 +
var
  
var_final {{#vardefine:b|1}}{{#var:b|0}}
+
var_final
  
vardefine {{#vardefine:c|1}}{{#var:c|0}}
+
vardefine
  
vardefineecho {{#vardefineecho:d|1}}
+
vardefineecho
  
varexists {{#vardefine:e|2}}{{#varexists:e|1|0}}
+
varexists

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: