Module:Newarticletext: Difference between revisions
From The Petit Planet Wiki
More actions
ReisuDesign (talk | contribs) No edit summary |
ReisuDesign (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 75: | Line 75: | ||
function preload_link(page, preload, display) | function preload_link(page, preload, display) | ||
return mw.html.create(' | return mw.html.create('span') | ||
:attr( | :attr('class', 'preload-plus-link') | ||
:attr('data-preload', tostring(preload)) | |||
:attr('data-page', tostring(page)) | |||
:attr( | |||
:attr( | |||
:wikitext(display) | :wikitext(display) | ||
end | end | ||