Template:TestingTemplate
{{TestingTemplate|Ranch}}
frame.args = {
--[display] = ,
--[name] = Ranch,
--[size] = ,
}
frame:getParent().args = {
--[1] = Ranch,
}
nextParameter = Ranch
checking VALID_SIZE[nextParameter] = nil
checking VALID_PLURAL[nextParameter] = nil
Finally...
name = Ranch
iconSize = none
needsPlural = nil
{{TestingTemplate|name=Ranch|large}}
frame.args = {
--[display] = ,
--[name] = Ranch,
--[size] = ,
}
frame:getParent().args = {
--[1] = large,
--[name] = Ranch,
}
nextParameter = large
checking VALID_SIZE[nextParameter] = true
now iconSize = large
Finally...
name = Ranch
iconSize = large
needsPlural = nil
{{TestingTemplate|name=Ranch|large|s}}
frame.args = {
--[display] = ,
--[name] = Ranch,
--[size] = ,
}
frame:getParent().args = {
--[1] = large,
--[2] = s,
--[name] = Ranch,
}
nextParameter = large
checking VALID_SIZE[nextParameter] = true
now iconSize = large
nextParameter = s
checking VALID_SIZE[nextParameter] = nil
checking VALID_PLURAL[nextParameter] = true
now needsPlural = s
Finally...
name = Ranch
iconSize = large
needsPlural = es
{{TestingTemplate}}
Lua error in Module:TestModule at line 69: No building found with name: . Please see the template documentation for how to use the parameters.