Last edited 4 years ago
by Elise

Help:Edit source: Difference between revisions

No categories assignedEdit
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 13: Line 13:


== Other Useful Tricks ==
== Other Useful Tricks ==
'''Creating breaks'' between lines on a page - use <Pre><br clear=all></ Pre>
<br clear=all>
'''Disable the Table of Contents on the page'''
'''Disable the Table of Contents on the page'''
<br clear=all>
* Add the text [[<nowiki>__NOTOC__</nowiki>]] anywhere in the page content to disable the automated Table of Contents
* Add the text [[<nowiki>__NOTOC__</nowiki>]] anywhere in the page content to disable the automated Table of Contents
 
<br clear=all>
'''More on Categories'''
'''More on Categories'''
* To put the article in categories, place this code anywhere in the content: <nowiki>[[Category:Category Name]]</nowiki>
* To put the article in categories, place this code anywhere in the content: <nowiki>[[Category:Category Name]]</nowiki>
N.B. the use of the 'nowiki' in the edit source (see image above) stops this category instruction from taking effect on this page!
N.B. the use of the 'nowiki' in the edit source (see image above) stops this category instruction from taking effect on this page!

Revision as of 17:22, 26 May 2020

Editing a page with source

You have a choice of Visual editing and edit source which can help with more sophisticated formatting if you need to make tables, or creating borders around images with varied spacing.

edit source 1.jpg

Creating a layout with borders around images and appropriate spacing can be troublesome in the Visual edit, particularly if the images are of varied sizes and need defining.



If you want a grey box around some code or text write the source edit as:

edit source 2 pre.jpg


[[File:insert image ABC.jpg|frame|400x400px]]


The code for the instructions on this page looks like this:

edit source 3.jpg

Other Useful Tricks

'Creating breaks between lines on a page - use


</ Pre>
Disable the Table of Contents on the page
* Add the text [[__NOTOC__]] anywhere in the page content to disable the automated Table of Contents
More on Categories * To put the article in categories, place this code anywhere in the content: [[Category:Category Name]] N.B. the use of the 'nowiki' in the edit source (see image above) stops this category instruction from taking effect on this page!