Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
No edit summary |
No edit summary |
||
Line 796:
function elementalweaknesstypearg(arg)
if not infobox.isDefined(arg) then
-- return '[[File:Pure essence.png|No elemental weakness|link=Elemental weakness]]'
return '[[File:Pure essence.png|No elemental weakness]]'
end
Line 802 ⟶ 803:
if string.find(lowarg, 'air') then
-- return '[[File:Air rune.png|Air elemental weakness|link=Elemental weakness]]'
return '[[File:Air rune.png|Air elemental weakness]]'
elseif string.find(lowarg, 'earth') then
-- return '[[File:Earth rune.png|Earth elemental weakness|link=Elemental weakness]]'
return '[[File:Earth rune.png|Earth elemental weakness]]'
elseif string.find(lowarg, 'fire') then
-- return '[[File:Fire rune.png|Fire elemental weakness|link=Elemental weakness]]'
return '[[File:Fire rune.png|Fire elemental weakness]]'
elseif string.find(lowarg, 'water') then
-- return '[[File:Water rune.png|Water elemental weakness|link=Elemental weakness]]'
return '[[File:Water rune.png|Water elemental weakness]]'
end
-- return '[[File:Pure essence.png|No elemental weakness|link=Elemental weakness]]'
return '[[File:Pure essence.png|No elemental weakness]]'
end
|