User:Dovid/sandbox/test

User:Dovid/sandbox/test2

noinclude: noinclude

all/noinclude

includeonly: includeonly

all/includeonly

onlyinclude: onlyinclude (what I did?!)

all/onlyinclude

Bare just for test:

Ez1 all named

Ez2 partly positional name start

Ez3 partly positional name end

Ez4 fully positional

---

Independent nontemplated ref sourced in middle

---

Err: Mixed with |name= ... oddity, ref def missing oddity plus positional at end

Err: Repeat but positional at end s/b identical except text end->start

Err: EzNonothing

Err: EzNoname

Now we make use of them manually (which will fail on the EZ's in text mode when tildes are used): Man RepeatEz1 Man RepeatEz2 Man RepeatEz3 Man RepeatEz4 Manual Repeat5 Manual use reflist6

Now we make use of them with Ez -- some are Ez of Ez! (which will fail on the EZ's in text mode when tildes are used):

Ez RepeatEz1 Ez RepeatEz2 Ez RepeatEz3 Ez RepeatEz4 Ez Repeat of Manual 5 Ez Repeat of Reflist 6

Ez with bad repeat of name EzEz Repeat1

This junk helped me debug a Lua oddity:

function ez.refnaw(frame) local args=frame.getParent(frame).args local content = "Args:" for argname,argval in pairs(args) do           content = content .. " " .. argname .. "=" .. argval .. ";"       end content = content .. " *** 1:" .. (args[1] or "=nil") .. " 2:" .. (args[2] or "=nil") .. " name:" .. (args["name"] or "=nil") .. " text:" .. (args["text"] or "=nil") return content end

function ez.ref(frame) -- return ez.easy(frame) -- squate -- return ez.refnaw(frame) -- iterate parent -- return ez.refnawsome(frame) -- args count? -- return return ez.refhaw(frame) -- combo naw/nawsome return ez.refaww(frame) -- normal?! end

function errNoName(suffix) suffix = (suffix or '') -- .. (notes ==  ?  : '' .. notes) return 'Error: no ref name/1 parameter (' .. suffix .. ')' end

function ez.easy(frame) return "foobar" end

function ez.refhaw(frame) return ez.refnaw(frame) .. " ***** " .. ez.refnawsome(frame) end

function ez.refnawsome(frame) return "nawsome " .. (tonumber( frame.args.len ) or 0) end