Jump to content

Help:Syntax: Difference between revisions

From SeptemWiki
No edit summary
Line 33: Line 33:
|}
|}


== Headlines and Lists ==
== Headlines and Table of Contents  ==


'''Note:''' In order for headline and list syntax to be parsed, it '''must''' be placed at the beginning of a line, with no spaces.
'''Note:''' In order for headline syntax to be parsed, it '''must''' be placed at the beginning of a line, with no spaces before it.


To create a headline for a section, start and end the line with a number of equals signs.  The number of signs determines the level of the headline.
To create a headline for a section, start and end the line with a number of equals signs.  The number of signs determines the level of the headline.


Level 1 headlines are used for page titles themselves and are discouraged in pages.
Level 1 headlines are used for page titles themselves.  Please do not use them in pages.


<pre>
<pre>
Line 48: Line 48:
==== You can go to level 6 but beyond 4 is pushing it ====
==== You can go to level 6 but beyond 4 is pushing it ====
</pre>
</pre>
When a page contains four or more headlines, a Table of Contents is automatically generated for it.  If you wish to suppress this, put the magic word <code><nowiki>__NOTOC__</nowiki></code> somewhere in the page.  (That's two underscores on either side of the letters.)

Revision as of 17:10, 19 March 2016

This is a handy guide to the most common bits of Wiki syntax you may want to use.

Basic text formatting markup

Desired Result Description Example
Italic Text Two single quotes on each side
''Italic Text''
Bold Text Three single quotes on each side
'''Bold Text'''
Bold and Italic Five single quotes on each side
'''''Bold and Italic'''''
Strikethru The "strike" tag
<strike>Strikethru</strike>
Preformatted text
The "pre" tag
<pre>Preformatted text</pre>
''Demonstrate '''bits''' of wiki syntax '''without''' it actually being processed'' The "nowiki" tag
<nowiki>''Demonstrate '''bits''' of wiki syntax '''without''' it actually being processed''</nowiki>

Headlines and Table of Contents

Note: In order for headline syntax to be parsed, it must be placed at the beginning of a line, with no spaces before it.

To create a headline for a section, start and end the line with a number of equals signs. The number of signs determines the level of the headline.

Level 1 headlines are used for page titles themselves. Please do not use them in pages.

== Main page sections are Level 2 ==

=== Subsections are level 3 ===

==== You can go to level 6 but beyond 4 is pushing it ====

When a page contains four or more headlines, a Table of Contents is automatically generated for it. If you wish to suppress this, put the magic word __NOTOC__ somewhere in the page. (That's two underscores on either side of the letters.)