Module:Icons: Difference between revisions

no edit summary
(Fix extension)
No edit summary
Line 1,342: Line 1,342:
--Adding a shortcut function for this
--Adding a shortcut function for this
function p.TotH()
function p.TotH()
return mw.html.create('span')
return '<span class="img-text">[[File:TotH.svg|25x25px|link=Throne of the Herald Expansion]]</span>'
:addClass('img-text')
:wikitext('[[File:TotH.svg|25x25px|link=Throne of the Herald Expansion]]')
:done()
end
end


function p.AoD()
function p.AoD()
return mw.html.create('span')
return '<span class="img-text">[[File:AoD.png|25x25px|link=Atlas of Discovery Expansion]]</span>'
:addClass('img-text')
:wikitext('[[File:AoD.png|25x25px|link=Atlas of Discovery Expansion]]')
:done()
end
end


function p.ItA()
function p.ItA()
return mw.html.create('span')
return '<span class="img-text">[[File:ItA.png|25x25px|link=Into the Abyss Expansion]]</span>'
:addClass('img-text')
:wikitext('[[File:ItA.png|25x25px|link=Into the Abyss Expansion]]')
:done()
end
end


function p.Melvor()
function p.Melvor()
return mw.html.create('span')
return '<span class="img-text">[[File:Melvor_Logo.svg|25x25px|link=Full Version]]</span>'
:addClass('img-text')
:wikitext('[[File:Melvor_Logo.svg|25x25px|link=Full Version]]')
:done()
end
end


2,875

edits