Editing tips: Difference between revisions

From Atomix
organising help pages
 
mNo edit summary
Line 7: Line 7:
==Inserting special symbols and math==
==Inserting special symbols and math==
Wrap your Tex code with <nowiki><math>\varepsilon</math></nowiki> to render <math>\varepsilon</math>
Wrap your Tex code with <nowiki><math>\varepsilon</math></nowiki> to render <math>\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  [https://tablesgenerator.com 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===
{| class="wikitable sortable mw-collapsible"
|+ I am a caption! Table is sortable too.
! Hello
! World
|-
| Content
| Goes
|-
| In
| Here
|}
=== Test 2: Collapsible lists ===
Level 1 data ....
<ul class="mw-collapsible" data-collapsetext="You may collapse me by clicking here" data-expandtext="Let me back out !">
  <li>Lorem</li>
  <li>Ipsum</li>
  <li>Dolor</li>
</ul>




[[Category:Help]]
[[Category:Help]]

Revision as of 18:59, 26 November 2021

Beyond using the editor, there are a few tips for adding internal links, which are described on MediaWiki help.

  • The most important trick is the piped internal links. For example writing [[Turbulence spectrum| turbulence page]] which link the words turbulence page to an internal page called Turbulence spectrum.

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