Help:CheckExtendedFunctions

From Metabolomics.JP
(Difference between revisions)
Jump to: navigation, search
Line 86: Line 86:
  
 
=repeat=
 
=repeat=
 +
{{#repeat:RepeatTemplate|3|a,b,c,d,e,f,g,h,i|,}}
 +
 +
<span style="color: red">※「Template:RepeatTemplate」の記述が3回出力されます。</span>
  
 
=repeatnum=
 
=repeatnum=
 +
{{#repeatnum:RepeatTemplate|3|a,b,c,d,e,f,g,h,i|,}}
 +
 +
<span style="color: red">※「Template:RepeatTemplate」の記述が3回出力されます。</span>
  
 
=ifexistfile=
 
=ifexistfile=
Line 108: Line 114:
  
 
=createstring=
 
=createstring=
 +
{{#createstring:abc|3}}
  
 
=ifexists=
 
=ifexists=
 +
File:Test.png -&gt; {{#ifexists:File:Test.png|true|false}}<br />
 +
File:NonExists.png -&gt; {{#ifexists:File:NonExists.png|true|false}}
  
 
=map=
 
=map=
  
 
=max=
 
=max=
 +
{{#max:54|12|31|123|5}}
  
 
=min=
 
=min=
 +
{{#min:54|12|31|123|5}}
  
 
=nth=
 
=nth=
 +
{{#nth:a;b;c;d;e|3|;}}
  
 
=searchlinenot=
 
=searchlinenot=

Revision as of 16:33, 21 February 2011

Contents

car

A

cdr

B C D E

cadr

B

cddr

C D E

caddr

C

cdddr

D E

and

1,2,3 and 1,3,4 -> 1 4


or

1,2,3 or 1,3,4 -> 1 2 3 4


def

var

ThisIsDefFunction

substring

ubst

trim

:a:

※「:」と「a」の間のスペース、タブ、改行を消しています。

length

10

count

4

indexof

6 5

lastindexof

8 7

isdigit

This is digit This is alphanumeric

isalnum

This is alphanumeric This is not alphanumeric

replace

abc123ghi a1b1c1d

cr

a

b

※「a」と「b」の間の二つ改行を出力しています。

bar

|

forcedbr

123456789012345678901234567890123456789012345678901234567890

※10桁ごとにを挿入しています。

repeat

Template:RepeatTemplateTemplate:RepeatTemplateTemplate:RepeatTemplate

※「Template:RepeatTemplate」の記述が3回出力されます。

repeatnum

Template:RepeatTemplateTemplate:RepeatTemplateTemplate:RepeatTemplate

※「Template:RepeatTemplate」の記述が3回出力されます。

ifexistfile

ndex.html

searchline

searchtitle

countline

counttitle

choose

abc1 1234


clink

createstring

abcabcabc

ifexists

File:Test.png -> true
File:NonExists.png -> false

map

max

123

min

5

nth

c

searchlinenot

searchlinereg

trimex

abcdef1234

upcase

abcdef -> ABCDEF
a1=B2. -> A1=B2.

downcase

ABCDEF -> abcdef
a1=B2. -> a1=b2.

Personal tools
Namespaces

Variants
Actions
Navigation
metabolites
Toolbox