Anonymous

Melvor Idle:How to edit/Lua: Difference between revisions

From Melvor Idle
no edit summary
(Created page with "==mw.html== In widicode, we use the table syntax to create tables. However, in Lua, using the html library is prefered. This is because the mw.html is a fluent interface that can be used to very easily add, remove or customise specific parts of a table (or otherwise html element). ===Creating a basic table=== A table can be created by simply using <code>mw.html.create('table')</code...")
 
No edit summary
Line 1: Line 1:
==mw.html==
==mw.html==
In widicode, we use the table syntax to create tables. However, in Lua, using the [[https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#HTML_library|html library]] is prefered. This is because the mw.html is a fluent interface that can be used to very easily add, remove or customise specific parts of a table (or otherwise html element).
In widicode, we use the table syntax to create tables. However, in Lua, using the [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#HTML_library html library] is prefered. This is because the mw.html is a fluent interface that can be used to very easily add, remove or customise specific parts of a table (or otherwise html element).


===Creating a basic table===
===Creating a basic table===
2,875

edits