Difference between revisions of "Editing the wiki"

Tags: Mobile web edit Mobile edit
Tags: Mobile web edit Mobile edit
 
(53 intermediate revisions by the same user not shown)
Line 1: Line 1:
Here is technical details on how to format wiki pages. Some are standard html methods, while others are just for wiki use.
+
Here are the technical details on how to format wiki pages. Some are standard html methods, while others are just for wiki use.
 +
 
 +
See also...<br>
 +
[https://cheatography.com/davechild/cheat-sheets/wikipedia/ Wikipedia Cheat Sheet]<br>
 +
[https://www.mediawiki.org/wiki/Help:Formatting Help:Formatting - MediaWiki]
 +
________________________________________________
 +
<p style="color: #112A46"><b>Bold...</b></p>
 +
Formatting:
 +
<nowiki><b>Text</b></nowiki><br>
 +
&nbsp;&nbsp;or: <nowiki>'''Text'''</nowiki><br>
 +
Example: <b>Text</b><br>
 +
&nbsp;&nbsp;or: '''Text'''
 +
________________________________________________
 +
<p style="color: #112A46"><b>Italic...</b></p>
 +
Formatting: <nowiki><i>Text</i></nowiki><br>
 +
Example: <i>Text</i>
 +
________________________________________________
 +
<p style="color: #112A46"><b>New line...</b></p>
 +
(Line break)<br>
 +
Formatting: <nowiki><br></nowiki><br>
 +
&nbsp;&nbsp;or: <nowiki><br/></nowiki><br>
 +
________________________________________________
 +
<p style="color: #112A46"><b>Paragraph...</b></p>
 +
Formatting: <nowiki><p>Text</p></nowiki>
 +
________________________________________________
 +
<p style="color: #112A46"><b>Space (non-breaking)...</b></p>
 +
Formatting: <nowiki>&nbsp;</nowiki><br>
 +
Example: Word1&nbsp;&nbsp;&nbsp;&nbsp;Word2
 +
________________________________________________<br>
 +
<p style="color: #112A46"><b>Bullet point (•)...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(?)</b></p>
 +
Formatting:<br><nowiki>* Item 1</nowiki><br><nowiki>* Item 2</nowiki><br><br>
 +
Example:
 +
* Item 1
 +
* Item 2
 
________________________________________________<br>
 
________________________________________________<br>
Bold...<br>
+
<p style="color: #112A46"><b>Link...</b></p>
Formatting: < b>Text< /b><br>
+
Formatting: <nowiki>[[Overview]]</nowiki><br>
Example: <b>Text</b>
+
Example: [[Overview]]
 
________________________________________________<br>
 
________________________________________________<br>
Italic...<br>
+
<p style="color: #112A46"><b>Image...</b></p>
Formatting: < i>Text< /i><br>
+
Formatting: <nowiki>[[File:filename.png|<size>]]</nowiki><br>
Example: <i>Text</i>
+
&nbsp;&nbsp;(<size>: NNNpx)<br>
 +
Example:
 +
[[File:ic_connectivity_helper.png|50px]]
 
________________________________________________<br>
 
________________________________________________<br>
Headings...
+
<p style="color: #112A46"><b>Block of text...</b></p>
 
+
Formatting: <space>Text<br>
Heading #1 (collapsible; biggest)...<br>
+
&nbsp;&nbsp;(<space>: at start of line)<br>
Formatting: =Heading(=)<br>
 
 
Example:
 
Example:
 +
Text
 +
________________________________________________<br>
  
=Heading=
+
=<p style="color: #112A46"><b>Various styles...</b></p>=
 
 
Heading #2 (middle)...<br>
 
Formatting: (==)Heading==<br>
 
Example:
 
==Heading==
 
 
 
Heading #3 (smallest)...<br>
 
Formatting: (===)Heading===<br>
 
Example:
 
===Heading===
 
 
 
<br>
 
New line (line break)...<br>
 
Formatting: < br>
 
 
 
Paragraph...<br>
 
Formatting: < p>Text< /p>
 
 
 
Link...<br>
 
Formatting: ([[)Page title]]<br>
 
Example: [[Page title]]
 
  
 +
Formatting: <nowiki><pre style="Style/s">Text</pre></nowiki><br>
 +
(Style/s: each style ended with ; character)<br>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Text color...</b></p>
 +
Formatting: <nowiki><pre style="color: #NNNNNN"></nowiki><br>
 +
&nbsp;&nbsp;<nowiki>Text</pre></nowiki>
 +
Example: <pre style="color: #112A46">Text</pre><br/>
  
Various styles...
+
Formatting: <nowiki><p style="color: #NNNNNN"></nowiki><br>
<strong>Text</strong>
+
&nbsp;&nbsp;<nowiki>Text</p></nowiki>
 +
Example: <p style="color: #112A46">Text</p>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Text background color...</b></p>
 +
Formatting:<br>
 +
&nbsp;<nowiki><pre style="background-color: #NNNNNN"></nowiki><br>
 +
&nbsp;&nbsp;<nowiki>Text</pre></nowiki>
 +
Example: <pre style="background-color: #ACC8E5">Text</pre>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Rounded corners...</b></p>
 +
Formatting:<br>
 +
&nbsp;&nbsp;<nowiki><pre style="border-radius: NNpx;"></nowiki><br>
 +
&nbsp;&nbsp;<nowiki>Text</pre></nowiki><br>
 +
Example:
 +
<pre style="border-radius: 10px;">Text</pre>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Padding...</b></p>
 +
Formatting: <nowiki><pre style="padding: NNpx;"></nowiki><br>
 +
&nbsp;&nbsp;<nowiki>Text</pre></nowiki>
 +
Example: <pre style="padding: 50px;">Text</pre>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Combined styles...</b></p>
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
Text</pre>
 
Text</pre>
 +
________________________________________________<br>
 +
<p style="color: #112A46"><b>MacroDroid uses these...</b></p>
 +
(yet to test all)<br>
 +
<b>Bold text</b><br>
 +
<strong>Important text</strong><br>
 +
<i>Italic text</i><br>
 +
<em>Emphasized text</em><br>
 +
<mark>Marked text</mark><br>
 +
<small>Smaller text</small><br>
 +
<del>Deleted text</del><br>
 +
<ins>Inserted text</ins><br>
 +
<sub>Subscript text</sub><br>
 +
<sup>Superscript text</sup><br>
 +
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _<br>
  
Bullet point (•)...
+
=<p style="color: #112A46"><b>Text size...</b></p>=
Formatting: (*)
 
Example: *
 
  
<br>
+
- Must be at start of line<br>
MacroDroid uses these...
+
- The larger the number inside <h></h>, the<br>&nbsp;&nbsp;smaller the displayed text will be<br>
(yet to test all)
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<b>Bold text</b>
+
<p style="color: #112A46"><b>Text (biggest; collapsible)</b></p>
<strong>Important text</strong>
+
Formatting: <nowiki><h1>Text</h1></nowiki><br>
<i>Italic text</i>
+
Example: (biggest)<br>
<em>Emphasized text</em>
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<mark>Marked text</mark>
+
<p style="color: #112A46"><b>Text (smaller)...</b></p>
<small>Smaller text</small>
+
Formatting: <nowiki><h2>Text</h2></nowiki>
<del>Deleted text</del>
+
Example: <h2>Text</h2>
<ins>Inserted text</ins>
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<sub>Subscript text</sub>
+
<p style="color: #112A46"><b>Text (even smaller)...</b></p>
<sup>Superscript text</sup>
+
Formatting: <nowiki><h3>Text</h3></nowiki>
 +
Example: <h3>Text</h3>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Text (smaller still)...</b></p>
 +
Formatting: <nowiki><h4>Text</h4></nowiki>
 +
Example: <h4>Text</h4>
 +
________________________________________________<br>
 +
Escaping formatting...<br>
  
Text size...
+
<nowiki><nowiki>formatted text</nowiki></nowiki><br><br>
(must be at start of line)
+
Used by macrodroidforum.com:<br>
 +
[PLAIN]formatted text[/PLAIN]
 +
________________________________________________<br>
 +
(TO ADD MORE)
 +
________________________________________________<br>
  
<h1>Text</h1>
+
=<p style="color: #112A46"><b>Headings...</b></p>=
  (Collapsible. Biggest)
 
<h2>Text</h2>
 
<h3>Text</h3>
 
(The larger the number inside <h></h>, the smaller the displayed text will be)
 
  
<br>
+
All headings have a separate edit page<br>
MacroDroid forum uses these...
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
Doesn't work: [PLAIN]Formatted text[/PLAIN]
+
<p style="color: #112A46"><b>Heading (smallest)...</b></p>
 +
Formatting: (===)Heading===<br>
 +
Example:
  
<br>
+
=== Heading ===
(TO ADD MORE)
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Heading (middle)...</b></p>
 +
Formatting: (==)Heading==<br>
 +
Example:
 +
== Heading (==)<br>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Heading (biggest; collapsible)...</b></p>
 +
Formatting: =Heading(=)<br>
 +
Example:
 +
= Heading (=)
 +
________________________________________________

Latest revision as of 09:29, 24 February 2026

Here are the technical details on how to format wiki pages. Some are standard html methods, while others are just for wiki use.

See also...
Wikipedia Cheat Sheet
Help:Formatting - MediaWiki ________________________________________________

Bold...

Formatting: <b>Text</b>
  or: '''Text'''
Example: Text
  or: Text ________________________________________________

Italic...

Formatting: <i>Text</i>
Example: Text ________________________________________________

New line...

(Line break)
Formatting: <br>
  or: <br/>
________________________________________________

Paragraph...

Formatting: <p>Text</p> ________________________________________________

Space (non-breaking)...

Formatting:  
Example: Word1    Word2 ________________________________________________

Bullet point (•)...     (?)

Formatting:
* Item 1
* Item 2

Example:

  • Item 1
  • Item 2

________________________________________________

Link...

Formatting: [[Overview]]
Example: Overview ________________________________________________

Image...

Formatting: [[File:filename.png|<size>]]
  (<size>: NNNpx)
Example: Ic connectivity helper.png ________________________________________________

Block of text...

Formatting: <space>Text
  (<space>: at start of line)
Example:

Text

________________________________________________

Various styles...

Formatting: <pre style="Style/s">Text</pre>
(Style/s: each style ended with ; character)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text color...

Formatting: <pre style="color: #NNNNNN">
  Text</pre>

Example:

Text


Formatting: <p style="color: #NNNNNN">
  Text</p>

Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text background color...

Formatting:
 <pre style="background-color: #NNNNNN">
  Text</pre>

Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Rounded corners...

Formatting:
  <pre style="border-radius: NNpx;">
  Text</pre>
Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Padding...

Formatting: <pre style="padding: NNpx;">
  Text</pre>

Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Combined styles...

Text

________________________________________________

MacroDroid uses these...

(yet to test all)
Bold text
Important text
Italic text
Emphasized text
Marked text
Smaller text
Deleted text
Inserted text
Subscript text
Superscript text
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Text size...

- Must be at start of line
- The larger the number inside <h></h>, the
  smaller the displayed text will be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text (biggest; collapsible)

Formatting: <h1>Text</h1>
Example: (biggest)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text (smaller)...

Formatting: <h2>Text</h2>

Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text (even smaller)...

Formatting: <h3>Text</h3>

Example:

Text

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Text (smaller still)...

Formatting: <h4>Text</h4>

Example:

Text

________________________________________________
Escaping formatting...

<nowiki>formatted text</nowiki>

Used by macrodroidforum.com:
[PLAIN]formatted text[/PLAIN] ________________________________________________
(TO ADD MORE) ________________________________________________

Headings...

All headings have a separate edit page
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Heading (smallest)...

Formatting: (===)Heading===
Example:

Heading

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Heading (middle)...

Formatting: (==)Heading==
Example: == Heading (==)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Heading (biggest; collapsible)...

Formatting: =Heading(=)
Example: = Heading (=) ________________________________________________