Difference between revisions of "Help:Editing advanced"

From LinuxMCE
Jump to: navigation, search
(Created page with "{{nav}} ==Editing an article== An editable article page has a [Edit] tab on top of the page which can be used to enter editing mode for the whole article.<br> ==Creating sectio...")
 
(Limiting TOC depth)
Line 17: Line 17:
 
:::<nowiki> ==== for sub-subsection </nowiki>
 
:::<nowiki> ==== for sub-subsection </nowiki>
  
==== Limiting TOC depth ====
+
=== Editing a section ===
This a global configuration set in ''LocalSettings.php'' by the '''<nowiki> $wgMaxTocLevel </nowiki>''' variable.
+
Any section of an article is editable by clicking on the [edit] link that is at the end of the line the section title is on. To make changes to the section, click the [Edit] link.<br>
 +
 
 +
Subsections are included in the part of the section that is edited. <br>
 +
 
 +
"<nowiki>__NOEDITSECTION__</nowiki>" anywhere on the page will remove the edit links.<br>
 +
 
 +
 
 +
===Deleting or merging a section===
 +
A section is removed by deleting a heading or a heading's tags, without affecting the content of the section. Removing a section's heading appends its contents to the previous section. The contents of the two are merged.<br>
 +
To delete a section and remove all its contents, delete all the content along with the heading.
  
 
{{p}}
 
{{p}}

Revision as of 13:35, 28 September 2012

Home | Editing help | Table of contents (2)



Editing an article

An editable article page has a [Edit] tab on top of the page which can be used to enter editing mode for the whole article.

Creating sections in an article

The section heading syntax is the double equal (==) tag.
To create a section, simply add its title within a pair of double equals ( == Title of The Section == ) with nothing else on the line.

Inserting a new section

Inserting a section can be done by editing either the section before or after it. A new section is created anywhere a line starts and ends with a section tag (equal signs).

Subsections

Each additional "=" corresponds to a subsection.

== for section
=== for subsection
==== for sub-subsection

Editing a section

Any section of an article is editable by clicking on the [edit] link that is at the end of the line the section title is on. To make changes to the section, click the [Edit] link.

Subsections are included in the part of the section that is edited.

"__NOEDITSECTION__" anywhere on the page will remove the edit links.


Deleting or merging a section

A section is removed by deleting a heading or a heading's tags, without affecting the content of the section. Removing a section's heading appends its contents to the previous section. The contents of the two are merged.
To delete a section and remove all its contents, delete all the content along with the heading.