Difference between revisions of "Add Headings"

From energypedia
***** (***** | *****)
m (Ranisha moved page Add Headings to Help:Add Headings without leaving a redirect)
***** (***** | *****)
m
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
{{template:Tabs-1
 +
|Energypedia_Community:_Help|Back to the Help Portal
 +
|
 +
}}
 +
 +
= Add Headings =
  
{{#widget:YouTube|id=hrVkkJAPnf0|height=200|width=300}}
 
  
 
<br/>
 
<br/>
Line 6: Line 11:
 
= Instructions =
 
= Instructions =
  
An Article can and should be divided into different sections/headings to break up the text and organize the content. If a page has more than three section, a "[[Table of Content|table of content (TOC]])" is automatically generated. To add headings:&nbsp;
+
An Article can and should be divided into different sections/headings to break up the text and organise the content. If a page has more than three sections, a "[[Insert Table of Content|Table of Content (TOC]])" is automatically generated. The first letter of the main words in the headings should always be capitalised. For example, instead of writing "'''further information'''", please write "'''Further Information'''".
 +
 
 +
To add headings:&nbsp;
  
 
1. Highlight the words to create a heading.
 
1. Highlight the words to create a heading.
  
[[File:Headline 1.JPG|border|left|600px|add a heading|alt=add a heading]]
 
  
<br/>
+
[[File:Capture d’écran 2021-09-15 à 09.16.06.png|700x700px|alt=]]<div style="clear: both">
<div style="clear: both"></div>
+
</div>
2. Click on the option "Paragraph Format" in the toolbar and choose the desired heading format. Headings follow a six-level hierarchy format were heading 1 is the largest and heading 6 is the smallest.
+
2. Click on the option "Paragraph" in the toolbar and choose the desired heading format. Headings follow a hierarchy format with "'''Heading'''" the largest and "'''Sub-heading 4"''' the smallest. Please make sure that the first letter of the main words are always capitalised.
 +
 
 +
 
 +
[[File:Capture d’écran 2021-09-15 à 09.17.08.png|700x700px|alt=]]
 +
 
 +
 
 +
 
 +
3. The heading will now appear with a predefined font and size.
 +
 
 +
'''Note''': If you choose any heading formats from "'''Heading to Sub-heading 4"''', a line will be inserted automatically between the heading and the body text. However, if you choose paragraph, no line will be added.
 +
 
  
[[File:Headline choose.JPG|border|left|600px|add headings|alt=add headings]]
 
  
<br/>
+
[[File:Capture d’écran 2021-09-15 à 09.17.42.png|700x700px|alt=]]<div style="clear: both"></div>
<div style="clear: both"></div>
+
4. If there are more than three headings, a Table of Content is automatically generated.&nbsp;
3. The heading appears underlined and in a predefined height.
 
  
Note: If you choose any heading formats from heading 1 to heading 4 then a line will be inserted automatically between the heading and body text. However, if you choose either heading 5 or heading 6, then no line will be added between heading and body text.
 
  
[[File:Headline 2.JPG|border|left|600px|add headings|alt=add headings]]
+
[[File:Capture d’écran 2021-09-15 à 09.18.30.png]]
 +
<div style="clear: both">
  
<br/>
 
<div style="clear: both"></div>
 
4. If there are more than three headings, a table of content is automatically generated.&nbsp;
 
  
[[File:Contents headlines.JPG|border|600px|Add headings|alt=Add headings]]
+
</div>
<div style="clear: both"></div>
 
 
'''Advanced:'''
 
'''Advanced:'''
  
*If you want to force the table of content to be always shown regardless of the number of headings, you can put the magic keyword "__FORCETOC_" anywhere on the page and a Table of content will always be shown.
+
*If you want to show the Table of Content regardless of the number of headings, you can put the magic keyword "__FORCETOC_" anywhere on the page and a Table of Content will appear.
*Conversely, the magic keyword "__NOTOC_" will suppress the "Contents" if placed anywhere within the page.
+
*Conversely, the magic keyword "__NOTOC_" will suppress the Table of Contents if placed anywhere within the page.
  
<span style="font-size: 13.6px; line-height: 20.4px; background-color: rgb(255, 255, 255)">To put both the magic keywords, switch to " Show Wiki Text Editor" Option.</span><br/>
+
<span style="font-size: 13.6px; line-height: 20.4px; background-color: rgb(255, 255, 255)">To put both the magic keywords, switch to "'''Source editing'''" Option.</span><br/>
  
<br/>__NOAUTHORLIST__
+
{{Help Magic Words}}
  
 
[[Category:Help]]
 
[[Category:Help]]

Latest revision as of 07:43, 15 September 2021


Add Headings


Instructions

An Article can and should be divided into different sections/headings to break up the text and organise the content. If a page has more than three sections, a "Table of Content (TOC)" is automatically generated. The first letter of the main words in the headings should always be capitalised. For example, instead of writing "further information", please write "Further Information".

To add headings: 

1. Highlight the words to create a heading.


2. Click on the option "Paragraph" in the toolbar and choose the desired heading format. Headings follow a hierarchy format with "Heading" the largest and "Sub-heading 4" the smallest. Please make sure that the first letter of the main words are always capitalised.



3. The heading will now appear with a predefined font and size.

Note: If you choose any heading formats from "Heading to Sub-heading 4", a line will be inserted automatically between the heading and the body text. However, if you choose paragraph, no line will be added.


4. If there are more than three headings, a Table of Content is automatically generated. 


Capture d’écran 2021-09-15 à 09.18.30.png


Advanced:

  • If you want to show the Table of Content regardless of the number of headings, you can put the magic keyword "__FORCETOC_" anywhere on the page and a Table of Content will appear.
  • Conversely, the magic keyword "__NOTOC_" will suppress the Table of Contents if placed anywhere within the page.

To put both the magic keywords, switch to "Source editing" Option.