Difference between revisions of "Help:Formatting"

From The Utopian Encyclopedia
Jump to: navigation, search
(Format Styles)
 
(7 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
   = Introduction =
 
   = Introduction =
  
4Wz3mM  <a href="http://vkcyrqywkien.com/">vkcyrqywkien</a>
+
==Subheadings==
 +
Subheadings use
 +
 
 +
  == Introduction == or
 +
  === Introduction === and so on
 +
 
 +
 
 +
=Format Styles=
 +
==Character formatting==
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|- valign="top"
 +
! What it looks like
 +
! What you type
 +
|- id="emph" valign="top"
 +
|
 +
''Italicized text''<br />'''Bold text'''<br />'''''Italicized & Bold text'''''
 +
|
 +
<pre><nowiki>
 +
''Italicized text''
 +
'''Bold text'''
 +
'''''Italicized & Bold text'''''
 +
</nowiki></pre>
 +
|- valign=top
 +
|
 +
You can use <small>small text</small> for captions.
 +
|
 +
<pre><nowiki>
 +
You can use <small>small text</small> for captions.
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
Better stay away from <big>big text</big>, unless
 +
<small> it's <big>within</big> small</small> text.
 +
|
 +
<pre><nowiki>
 +
Better stay away from <big>big text</big>, unless
 +
<small> it's <big>within</big> small</small> text.
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
You can <s>strike out deleted material</s>
 +
and <u>underline new material</u>.
 +
 
 +
You can also mark <del>deleted material</del> and
 +
<ins>inserted material</ins> using logical markup.
 +
For backwards compatibility better combine this
 +
potentially ignored new <del>logical</del> with
 +
the old <s><del>physical</del></s> markup.
 +
 
 +
* When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way.
 +
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
 +
|
 +
<pre><nowiki>
 +
You can <s>strike out deleted material</s>
 +
and <u>underline new material</u>.
 +
 
 +
You can also mark <del>deleted material</del> and
 +
<ins>inserted material</ins> using logical markup.
 +
For backwards compatibility better combine this
 +
potentially ignored new <del>logical</del> with
 +
the old <s><del>physical</del></s> markup.
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
'''Suppressing interpretation of markup:'''
 +
<br/>
 +
<nowiki>Link &rarr; (''to'') the [[Wikipedia FAQ]]</nowiki>
 +
* Used to show literal data that would otherwise have special meaning.
 +
* Escape all wiki markup, including that which looks like HTML tags.
 +
* Does not escape HTML character references.
 +
* To escape HTML character references such as <tt>&amp;rarr;</tt> use <tt>&amp;amp;rarr;</tt>
 +
|
 +
<br/>
 +
<pre><nowiki>
 +
&lt;nowiki>Link &amp;rarr; (''to'')
 +
the [[Wikipedia FAQ]]&lt;/nowiki>
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
'''Commenting page source:'''
 +
<br/>
 +
''not shown when viewing page''
 +
* Used to leave comments in a page for future editors.
 +
* Note that most comments should go on the appropriate [[Wikipedia:Talk page|Talk page]].
 +
|
 +
<br/>
 +
<pre><nowiki>
 +
&lt;!-- comment here -->
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
'''Subscripts:'''
 +
<br/>
 +
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
 +
<br/>
 +
x₀ x₁ x₂ x₃ x₄
 +
<br/>
 +
x₅ x₆ x₇ x₈ x₉
 +
 
 +
'''Superscripts:'''
 +
<br/>
 +
x<sup>1</sup> x<sup >2</sup > x<sup >3</sup > or
 +
<br/>
 +
x⁰ x¹ x² x³ x⁴
 +
<br/>
 +
x⁵ x⁶ x⁷ x⁸ x⁹
 +
*The latter methods of sub/superscripting cannot be used in the most general context, as they rely on Unicode support which may not be present on all users' machines. For the 1-2-3 superscripts, it is nevertheless preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
 +
 
 +
|
 +
<br/>
 +
<pre><nowiki>
 +
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
 +
x&amp;#8320; x&amp;#8321; x&amp;#8322; x&amp;#8323; x&amp;#8324;
 +
x&amp;#8325; x&amp;#8326; x&amp;#8327; x&amp;#8328; x&amp;#8329;
 +
</nowiki></pre>
 +
 
 +
<pre><nowiki>
 +
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
 +
x&amp;#8304; x&amp;sup1; x&amp;sup2; x&amp;sup3; x&amp;#8308;
 +
x&amp;#8309; x&amp;#8310; x&amp;#8311; x&amp;#8312; x&amp;#8313;
 +
</nowiki></pre>
 +
|- valign="top"
 +
|
 +
'''Mathematical characters:'''
 +
<br/>∑ √ ± ∴ ≈ ≠<br/>
 +
≤ ≥ → ← ↔<br/>
 +
|<br/><pre><nowiki>
 +
&sum; &radic; &plusmn; &there4; &asymp; &ne;
 +
&le; &ge; &rarr; &larr; &harr;
 +
</nowiki></pre>
 +
|}
 +
 
 +
==No or limited formatting : showing exactly what is being typed==
 +
 
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
!What it looks like
 +
!What you type
 +
|-
 +
|'''&lt;nowiki&gt; tag:'''<br/>
 +
<nowiki>
 +
The nowiki tag ignores <nowiki>[[Wiki]]</nowiki> ''markup''.
 +
It reformats text by removing newlines    and multiple spaces.
 +
It still interprets special characters: &rarr;
 +
</nowiki>
 +
|<pre><nowiki>
 +
&lt;nowiki&gt;
 +
The nowiki tag ignores <nowiki>[[Wiki]]</nowiki> ''markup''.
 +
It reformats text by removing newlines
 +
and multiple spaces.
 +
It still interprets special
 +
characters: &amp;rarr;
 +
&lt;/nowiki&gt;
 +
</nowiki></pre>
 +
|-
 +
|'''&lt;pre&gt; tag:'''<br/>
 +
<pre>
 +
The pre tag ignores <nowiki>[[Wiki]]</nowiki> ''markup''.
 +
It also doesn't    reformat text.
 +
It still interprets special characters: &rarr;
 +
</pre>
 +
|<pre>&lt;pre&gt;<nowiki>
 +
The pre tag ignores <nowiki>[[Wiki]]</nowiki> ''markup''.
 +
It also doesn't    reformat text.
 +
It still interprets special characters:
 +
&amp;rarr;
 +
</nowiki>&lt;/pre&gt;</pre>
 +
|-
 +
|'''Leading space:'''<br/>
 +
Leading spaces are another way
 +
to preserve formatting.
 +
 
 +
 
 +
Putting a space at the beginning of each line
 +
stops the text  from being reformatted.
 +
It still interprets <nowiki>[[Wiki]]</nowiki> ''markup'' and
 +
special characters: →
 +
|<pre><nowiki>
 +
Leading spaces are another way
 +
to preserve formatting.
 +
Putting a space at the beginning of each line
 +
stops the text  from being reformatted.
 +
It still interprets <nowiki>[[Wiki]]</nowiki> ''markup'' and
 +
special characters: &amp;rarr;
 +
</nowiki></pre>
 +
|}
 +
 
 +
==Invisible text (comments)==
 +
It's uncommon, but on occasion acceptable, to add a hidden comment within the text of an article.  <!-- This is an example of text that won't normally be visible except in "edit" mode. --> The format is this:
 +
<nowiki><!-- This is an example of text that won't normally be visible except in "edit" mode. --></nowiki>
  
AONQpw , [url=http://iipgveqxkdgu.com/]iipgveqxkdgu[/url], [link=http://gqtkzvezvwdh.com/]gqtkzvezvwdh[/link], http://ojpvottxqsuz.com/
 
  
 
=Table of contents=
 
=Table of contents=

Latest revision as of 01:58, 30 May 2017

This is part of the Utopia WIKI Help Guide Series.

This Page references Utopia Wiki's official guide to Formatting. Please use common sense.


· Cheatsheet ·

Headings

Top Level Headers

For a top-level heading, put it on a separate line surrounded by '=='. For example:

  = Introduction =

Subheadings

Subheadings use

  == Introduction == or
  === Introduction === and so on


Format Styles

Character formatting

What it looks like What you type

Italicized text
Bold text
Italicized & Bold text

''Italicized text''
'''Bold text'''
'''''Italicized & Bold text'''''

You can use small text for captions.

You can use <small>small text</small> for captions.

Better stay away from big text, unless it's within small text.

Better stay away from <big>big text</big>, unless
<small> it's <big>within</big> small</small> text.

You can strike out deleted material and underline new material.

You can also mark deleted material and inserted material using logical markup. For backwards compatibility better combine this potentially ignored new logical with the old physical markup.

  • When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
You can <s>strike out deleted material</s>
and <u>underline new material</u>.

You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup.
For backwards compatibility better combine this
potentially ignored new <del>logical</del> with
the old <s><del>physical</del></s> markup.

Suppressing interpretation of markup:
Link → (''to'') the [[Wikipedia FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;


<nowiki>Link &rarr; (''to'') 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown when viewing page

  • Used to leave comments in a page for future editors.
  • Note that most comments should go on the appropriate Talk page.


<!-- comment here -->

Subscripts:
x1 x2 x3 or
x₀ x₁ x₂ x₃ x₄
x₅ x₆ x₇ x₈ x₉

Superscripts:
x1 x2 x3 or
x⁰ x¹ x² x³ x⁴
x⁵ x⁶ x⁷ x⁸ x⁹

  • The latter methods of sub/superscripting cannot be used in the most general context, as they rely on Unicode support which may not be present on all users' machines. For the 1-2-3 superscripts, it is nevertheless preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.


x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
x&#8320; x&#8321; x&#8322; x&#8323; x&#8324;
x&#8325; x&#8326; x&#8327; x&#8328; x&#8329;
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
x&#8304; x&sup1; x&sup2; x&sup3; x&#8308;
x&#8309; x&#8310; x&#8311; x&#8312; x&#8313;

Mathematical characters:
∑ √ ± ∴ ≈ ≠
≤ ≥ → ← ↔


∑ √ ± ∴ ≈ ≠
≤ ≥ → ← ↔

No or limited formatting : showing exactly what is being typed

What it looks like What you type
<nowiki> tag:

The nowiki tag ignores <nowiki>[[Wiki]] markup. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → </nowiki>

<nowiki>
The nowiki tag ignores <nowiki>[[Wiki]] ''markup''.
It reformats text by removing newlines 
and multiple spaces.
It still interprets special
characters: &rarr;
</nowiki>
</nowiki>
<pre> tag:
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters: →
<pre>
The pre tag ignores <nowiki>[[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters:
 &rarr;
</nowiki></pre>
Leading space:

Leading spaces are another way to preserve formatting.


Putting a space at the beginning of each line
stops the text   from being reformatted. 
It still interprets [[Wiki]] markup and
special characters: →
Leading spaces are another way 
to preserve formatting.
 Putting a space at the beginning of each line
 stops the text   from being reformatted. 
 It still interprets <nowiki>[[Wiki]] ''markup'' and
 special characters: &rarr;
</nowiki>

Invisible text (comments)

It's uncommon, but on occasion acceptable, to add a hidden comment within the text of an article. The format is this:

<!-- This is an example of text that won't normally be visible except in "edit" mode. -->


Table of contents

At the current status of the wiki markup language, having at least four headers on a page triggers the table of contents (TOC) to appear in front of the first header Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear.