Difference between revisions of "Editing the wiki"

(→‎Heading: Initial content)
Tags: Mobile web edit Mobile edit
 
(Altered bold & italic items)
Tags: Mobile web edit Mobile edit
 
(63 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.
  
Bold: <b>Text</b>
+
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: ' ' ' Text ' ' ' (no spaces)<br>
 +
Example: <b>Bold text</b><br>
 +
________________________________________________
 +
<p style="color: #112A46"><b>Italic...</b></p>
 +
Formatting: <nowiki><i>Text</i></nowiki><br>
 +
&nbsp;&nbsp;or: ' ' Text ' ' (no spaces)<br>
 +
Example: <i>Italic 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>
 +
<p style="color: #112A46"><b>Link...</b></p>
 +
Formatting: <nowiki>[[Overview]]</nowiki><br>
 +
Example: [[Overview]]
 +
________________________________________________<br>
 +
<p style="color: #112A46"><b>Image...</b></p>
 +
Formatting: <nowiki>[[File:filename.png|<size>]]</nowiki><br>
 +
&nbsp;&nbsp;(<size>: NNNpx)<br>
 +
Example:
 +
[[File:ic_connectivity_helper.png|50px]]
 +
________________________________________________<br>
 +
<p style="color: #112A46"><b>Block of text...</b></p>
 +
Formatting: <space>Text<br>
 +
&nbsp;&nbsp;(<space>: at start of line)<br>
 +
Example:
 +
Text
 +
________________________________________________<br>
  
Italic: <i>Text</i>
+
=<p style="color: #112A46"><b>Various styles...</b></p>=
  
Headings...
+
Formatting: <nowiki><pre style="Style/s">Text</pre></nowiki><br>
=Heading=
+
(Style/s: each style ended with ; character)<br>
==Heading==
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
===Heading===
+
<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/>
  
New line: <br>
+
Formatting: <nowiki><p style="color: #NNNNNN"></nowiki><br>
 
+
&nbsp;&nbsp;<nowiki>Text</p></nowiki>
Paragraph: <p>Text</p>
+
Example: <p style="color: #112A46">Text</p>
 
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
Link: [[Page title]]
+
<p style="color: #112A46"><b>Text background color...</b></p>
 
+
Formatting:<br>
Various styles...
+
&nbsp;<nowiki><pre style="background-color: #NNNNNN"></nowiki><br>
<strong>Text</strong>
+
&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>=
  
MacroDroid uses these...
+
- Must be at start of line<br>
(yet to test all)
+
- The larger the number inside <h></h>, the<br>&nbsp;&nbsp;smaller the displayed text will be<br>
<b> - Bold text
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<strong> - Important text
+
<p style="color: #112A46"><b>Text (biggest; collapsible)</b></p>
<i> - Italic text
+
Formatting: <nowiki><h1>Text</h1></nowiki><br>
<em> - Emphasized text
+
Example: (biggest)<br>
<mark> - Marked text
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<small> - Smaller text
+
<p style="color: #112A46"><b>Text (smaller)...</b></p>
<del> - Deleted text
+
Formatting: <nowiki><h2>Text</h2></nowiki>
<ins> - Inserted text
+
Example: <h2>Text</h2>
<sub> - Subscript text
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<sup> - Superscript text
+
<p style="color: #112A46"><b>Text (even smaller)...</b></p>
Text size...
+
Formatting: <nowiki><h3>Text</h3></nowiki>
<h1>Text</h1>
+
Example: <h3>Text</h3>
<h2>Text</h2>
+
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
<h3>Text</h3>
+
<p style="color: #112A46"><b>Text (smaller still)...</b></p>
(The larger the number inside </h>, the smaller the displayed text will be)
+
Formatting: <nowiki><h4>Text</h4></nowiki>
 +
Example: <h4>Text</h4>
 +
________________________________________________<br>
 +
Escaping formatting...<br>
  
 +
<nowiki><nowiki>formatted text</nowiki></nowiki><br><br>
 +
Used by macrodroidforum.com:<br>
 +
[PLAIN]formatted text[/PLAIN]
 +
________________________________________________<br>
 
(TO ADD MORE)
 
(TO ADD MORE)
 +
________________________________________________<br>
 +
 +
=<p style="color: #112A46"><b>Headings...</b></p>=
 +
 +
All headings have a separate edit page<br>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Heading (smallest)...</b></p>
 +
Formatting: <nowiki>===Heading===</nowiki><br>
 +
Example:
 +
=== Heading ===
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Heading (middle)...</b></p>
 +
Formatting: <nowiki>==Heading== </nowiki><br>
 +
Example:
 +
==Heading==
 +
<br>
 +
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br>
 +
<p style="color: #112A46"><b>Heading (biggest; collapsible)...</b></p>
 +
Formatting: <nowiki>=Heading=</nowiki><br>
 +
Example:
 +
=Heading=
 +
________________________________________________

Latest revision as of 02:00, 16 March 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 ' ' ' (no spaces)
Example: Bold text
________________________________________________

Italic...

Formatting: <i>Text</i>
  or: ' ' Text ' ' (no spaces)
Example: Italic 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

________________________________________________