Editing tips: Difference between revisions

From Atomix
mNo edit summary
m Removed excess info
Line 1: Line 1:
Beyond using the editor, there are a few tips for adding internal links, which are described on [https://www.mediawiki.org/wiki/Help:Links#Internal_links MediaWiki help].
This page presents a collection of random snippets of code and tricks for the benefit of others. Most of it was found through [[https://www.mediawiki.org/wiki/Help:Contents mediawiki's help]] pages.
 
* The most important trick is the piped internal links. For example writing <nowiki>[[Turbulence spectrum| turbulence page]]</nowiki> which link the words [[Turbulence spectrum| turbulence page]] to an internal page called Turbulence spectrum.
 
* [https://www.mediawiki.org/wiki/Help:Lists Help with creating lists]


==Inserting special symbols and math==
==Inserting special symbols and math==

Revision as of 19:07, 26 November 2021

This page presents a collection of random snippets of code and tricks for the benefit of others. Most of it was found through [mediawiki's help] pages.

Inserting special symbols and math

Wrap your Tex code with <math>\varepsilon</math> to render [math]\displaystyle{ \varepsilon }[/math]

Creating tables

Tables can be converted from a spreadsheet (or latex code) into a MediaWiki by copy and pasting it into this handy online tool using their file menu. You can also paste Mediawiki, markdown or HTML code into the tool. You can then manipulate the table's or cell's format and generate code in different languages (csv, standard excel tables, MediaWiki and TeX tables, and more).

Examples of collapsible items

Below are examples of formatting used in this page for future reference.

Test 1: Collapsible table with caption

I am a caption! Table is sortable too.
Hello World
Content Goes
In Here

Test 2: Collapsible lists

Level 1 data ....

  • Lorem
  • Ipsum
  • Dolor