Template:EditButton/CheckList
From Metabolomics.JP
< Template:EditButton(Difference between revisions)
Line 26: | Line 26: | ||
if (string.match("{{#get:initset}}", "、" .. body .. "、", 0) or | if (string.match("{{#get:initset}}", "、" .. body .. "、", 0) or | ||
string.match("{{#get:initset}}", "^" .. body .. "、", 0) or | string.match("{{#get:initset}}", "^" .. body .. "、", 0) or | ||
− | string.match("{{#get:initset}}", "、" .. body .. "$", 0) ) | + | string.match("{{#get:initset}}", "、" .. body .. "$", 0) ) then |
checked = ' checked="yes"' | checked = ' checked="yes"' | ||
else | else |