|
|
(4 intermediate revisions by 2 users not shown) |
Line 4: |
Line 4: |
| }} | | }} |
| | | |
− | = Video = | + | = Add Headings = |
| | | |
| {{#widget:YouTube|id=hrVkkJAPnf0|height=200|width=300}} | | {{#widget:YouTube|id=hrVkkJAPnf0|height=200|width=300}} |
Line 12: |
Line 12: |
| = Instructions = | | = 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 "[[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'''". | + | 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: | | To add headings: |
Line 33: |
Line 33: |
| | | |
| [[File:Headline 2.JPG|border|left|600px|add headings|alt=add headings]] | | [[File:Headline 2.JPG|border|left|600px|add headings|alt=add headings]] |
− |
| |
− | <br/>
| |
| <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. | + | 4. If there are more than three headings, a Table of Content is automatically generated. |
| | | |
| [[File:Contents headlines.JPG|border|600px|Add headings|alt=Add headings]] | | [[File:Contents headlines.JPG|border|600px|Add headings|alt=Add headings]] |
Line 42: |
Line 40: |
| '''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 appear. | + | *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. | + | *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 " Show Wiki Text Editor" Option.</span><br/> |
| | | |
| {{Help Magic Words}} | | {{Help Magic Words}} |
| + | |
| + | [[Category:Help]] |
Latest revision as of 07:16, 22 August 2018
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.
Error creating thumbnail: convert: unable to open image `/var/www/ISWiki/prod/current/energypedia/images/5/53/Headline_1.JPG': No such file or directory @ error/blob.c/OpenBlob/2641.
convert: no images defined `/tmp/transform_5315403-1.jpg' @ error/convert.c/ConvertImageCommand/3044.
2. Click on the option "Paragraph Format" in the toolbar and choose the desired heading format. Headings follow a six-level hierarchy format with heading 1 the largest and heading 6 the smallest. Please make sure that the first letter of the main words are always capitalised.
Error creating thumbnail: convert: unable to open image `/var/www/ISWiki/prod/current/energypedia/images/c/c9/Headline_choose.JPG': No such file or directory @ error/blob.c/OpenBlob/2641.
convert: no images defined `/tmp/transform_4e5c7c5-1.jpg' @ error/convert.c/ConvertImageCommand/3044.
3. The heading will now appear with a predefined font and size.
Note: If you choose any heading formats from heading 1 to heading 4, a line will be inserted automatically between the heading and the body text. However, if you choose either heading 5 or heading 6, no line will be added.
Error creating thumbnail: convert: unable to open image `/var/www/ISWiki/prod/current/energypedia/images/8/8b/Headline_2.JPG': No such file or directory @ error/blob.c/OpenBlob/2641.
convert: no images defined `/tmp/transform_34772de-1.jpg' @ error/convert.c/ConvertImageCommand/3044.
4. If there are more than three headings, a Table of Content is automatically generated.
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 " Show Wiki Text Editor" Option.