Changes

Jump to: navigation, search

Module:PrimalAspect

178 bytes removed, 5 years ago
Make this less specific so that it would work with ANY aspect, with the 6 primals shorthanded
local size = params.args.stacksize -- defaults to 1 via the template
if aspect == "Aer" or aspect == "A" then
return toGrid("Aer", size)
elseif aspect == "Terra" or aspect == "T" then
return toGrid("Terra", size)
elseif aspect == "Ignis" or aspect == "I" then
return toGrid("Ignis", size)
elseif aspect == "Aqua" or aspect == "Aq" or aspect == "Q" then
return toGrid("Aqua", size)
elseif aspect == "Ordo" or aspect == "O" then
return toGrid("Ordo", size)
elseif aspect == "Perditio" or aspect == "P" then
return toGrid("Perditio", size)
else
return toGrid(aspect, size)
return mw.getCurrentFrame():expandTemplate{title = "Gc"}
end
end