Search results
Results from the WOW.Com Content Network
In MODULE_CODE, we want to add the "Wikify" tab, so we will use the addPortletLink() function (requiring the mediawiki.util module). Replace MODULE_CODE with a call to this function. Then we will bind an event handler so that when this link is clicked, we will call another function named doQwikify() that will actually execute the code.
{| |+ caption table code goes here |} To start a new table row, type a vertical bar and a hyphen on its own line: "|-". The codes for the cells in that row start on the next line. {| |+ The table's caption |-row code goes here |-next row code goes here |} Type the codes for each table cell in the next row, starting with a bar:
Playground Access PHP Ruby/Rails Python/Django SQL Other DB Fiddle [am]: Free & Paid No No No Yes MySQL, PostgreSQL, SQLite dbfiddle [an]: Free No No No Yes Db2, Firebird, MariaDB, MySQL, Node.js, Oracle, Postgres, SQL Server, SQLite, YugabyteDB
Tables will show the "[hide]" / "[show]" controls in the first row of the table (whether or not it is a header row), unless a table caption is present.(see § Tables with captions) Example with a header row
The module itself must return a Lua table of values. A Lua table is expressed as a list of values separated by commas, within curly braces. When the module is called by #invoke, the function it names (the first argument after |) is looked for in that table. That function, in turn, is expected to return something that can be represented as a string.
For guidelines on when and how to use tables, see the Manual of Style. The easiest way to insert a new table is to use the editing toolbar that appears when you edit a page (see image above). Clicking the button will open a dialog where you define what you want in your new table. Once you've chosen the number of rows and columns, the wiki ...
For years in HTML, a table has always forced an implicit line-wrap (or line-break). So, to keep a table within a line, the workaround is to put the whole line into a table, then embed a table within a table, using the outer table to force the whole line to stay together. Consider the following examples: Wikicode (showing table forces line-break)
This becomes a problem when you have 6 tabs or 24 spaces, what could be small on a notepad gets exploded on wikipedia. While yes I do use tabs outside wiki spaces are prefered on wiki, unless the css for lua code is changed kind of like how a .css pages on wiki are treated with a line number and proper tabing, I would say spacing is prefered..