Nova Online Wiki:Editing guide/Source editor: Difference between revisions

From Nova Online Wiki
Jump to navigationJump to search
(wip)
 
mNo edit summary
 
Line 42: Line 42:
You could also do [[Media:Gabriel Gage.jpeg]] to link directly to the file without having to embed it to the page.
You could also do [[Media:Gabriel Gage.jpeg]] to link directly to the file without having to embed it to the page.


As for galleries, they work differently and are usually formatted as <br><nowiki>
As for galleries, they work differently and are usually formatted as <br><pre>
 
<gallery>
<gallery>
File:File.ext|Optional caption
File:File.ext|Optional caption
File:File2.ext
File:File2.ext
</gallery></nowiki>
</gallery></pre>


For example:
For example:

Latest revision as of 13:01, 18 October 2024

The source editor is a more advanced editing mode, and relies on raw wikitext and html. thus, formatting text is usually parser hooks. For example:

  • '''Bold text''' — Bold text
  • ''Italic text'' — Italic text
  • <sup>Superscript</sup> — Superscript
  • <sub>Subscript</sub> — Subscript
  • <code>Computer code</code> — Computer code
  • <s>Strike-through</s> — Strike-through
  • <u>Underline</u> — Underline

You can also use the nowiki tag to show wikitext on a page without having to look at the source code.

To link to another page, you simply pipe it using two square brackets. For example putting [[Gabriel Gage]] outputs Gabriel Gage.

To create a divider, just type out four minus symbols.


For different sections of the article, different types are formatted using the equals symbol.

For example, ==Section== outputs:

Section

You can also add in subsections by adding more minuses to it, and the maximum it can go is six equals signs. Example shown here:

Subsection

Subsubsection

Subsubsubsection
Subsubsubsubsection

A photo of Nova for demonstration

For files, it is a little complicated. Adding files to pages are formatted as [[File:File.ext|###px|thumb|caption|position|link=page]]. Not all of these parameters need to be used, and are usually completely optional.

For example, [[File:Gabriel Gage.jpeg|250px|thumb|A photo of Nova for demonstration|right|link=Gabriel Gage]] displays the image on the right.

You could also do Media:Gabriel Gage.jpeg to link directly to the file without having to embed it to the page.

As for galleries, they work differently and are usually formatted as

<gallery>
File:File.ext|Optional caption
File:File2.ext
</gallery>

For example:

displays a gallery.