User:X!/afc.js

function afc_review { var type = prompt("[accept][exists][v][bio][nn][web][corp][music][dict (d)][context][cv][blank][adv][neo][lang][joke][npov][blp][not]"); var f = document.editform, t = f.wpTextbox1; t.value = t.value + "{" + "{sub" + "st:afc " + type.toLowerCase + "}}\n" + "{" + "{afc b}" + "}"; } addPortletLink("p-tb", "javascript:afc_review", "review", "ca-review", "Review", "");