CATUG wiki:Formatting guide: Difference between revisions
(Add simple headings using semicolon at start of line. Remove title template as we are no longer using it) |
(Table of Contents (moved from style guide page)) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= Adding text= | = Adding text= | ||
Start typing in the first column; don't leave spaces at the left margin, unless for some reason you want it to look... <br/> | Start typing in the first column; don't leave spaces at the left margin, unless for some reason you want it to look... <br/> | ||
Line 77: | Line 75: | ||
|- | |- | ||
|Section headings<sup>1</sup><br /> | |Section headings<sup>1</sup><br /> | ||
<div style="padding: 0em .5em; font-size:0.9em;">''A Table of Contents will automatically be generated when four headings are added to an article.''</div> | <div style="padding: 0em .5em; font-size:0.9em;">''A Table of Contents will automatically be generated at the top when four headings are added to an article.''</div> | ||
| | | | ||
<tt><nowiki>= Level 1 =</nowiki></tt><br /> | <tt><nowiki>= Level 1 =</nowiki></tt><br /> | ||
Line 84: | Line 82: | ||
<tt><nowiki>==== Level 4 ====</nowiki></tt><br /> | <tt><nowiki>==== Level 4 ====</nowiki></tt><br /> | ||
<tt><nowiki>===== Level 5 =====</nowiki></tt><br /> | <tt><nowiki>===== Level 5 =====</nowiki></tt><br /> | ||
| | | | ||
= Level 1 = | = Level 1 = | ||
Line 91: | Line 88: | ||
==== Level 4 ==== | ==== Level 4 ==== | ||
===== Level 5 ===== | ===== Level 5 ===== | ||
|- | |- | ||
|Simple headings to be omitted from the table of contents | |Simple headings to be omitted from the table of contents | ||
|<nowiki>;Simple heading</nowiki> | |<nowiki>;Simple heading</nowiki> | ||
|'''Simple heading''' | |'''Simple heading''' | ||
|- | |||
|Table of Contents | |||
<div style="padding: 0em .5em; font-size:0.9em;">''A Table of Contents will automatically be generated at the top when four headings are added to an article. This code makes it appear at a particular place other than the top of the page.''</div> | |||
|<nowiki>__TOC__</nowiki> | |||
|__TOC__ | |||
|- | |||
|No table of contents | |||
<div style="padding: 0em .5em; font-size:0.9em;">''If the contents of a multi-section page are so short that it doesn't need a table of contents, use this to suppress the automatic one.''</div> | |||
|<nowiki>__NOTOC__</nowiki> | |||
| | |||
|- | |- | ||
|colspan="3" style="border-top:1px solid #cee0f2;"| | |colspan="3" style="border-top:1px solid #cee0f2;"| | ||
Line 164: | Line 170: | ||
</div> | </div> | ||
=See also= | |||
* For our in-house style guide, see [[CATUG wiki:Notes for editors]] | * For our in-house style guide, see [[CATUG wiki:Notes for editors]] | ||
* To add links to Bible verses, see [[Template:Bibleverse]] | * To add links to Bible verses, see [[Template:Bibleverse]] |
Revision as of 12:28, 4 April 2011
Adding text
Start typing in the first column; don't leave spaces at the left margin, unless for some reason you want it to look...
... like this. It looks ugly but can be useful e.g. for commands that have to be re-typed exactly.
Leave an empty line between paragraphs. Without this, the Wiki software will flow your text continuously.
The following table shows how to do other formatting.
Wiki markup | ||
Description | You type | You get |
Italic text |
''italic'' |
italic |
Bold text |
'''bold''' |
bold |
Bold and italic |
'''''bold & italic''''' |
bold & italic |
Internal link (within this Wiki)
|
[[Mac Ministry List]] |
|
External link (to other websites)
|
[http://www.example.org Text to display] |
|
Redirect to another page (This is used on a page by itself to send a reader from one link to another page, e.g. for an abbreviation or synonym) |
#REDIRECT [[Mac Ministry List]] |
|
Section headings1 A Table of Contents will automatically be generated at the top when four headings are added to an article.
|
= Level 1 = |
Level 1Level 2Level 3Level 4Level 5 |
Simple headings to be omitted from the table of contents | ;Simple heading | Simple heading |
Table of Contents
A Table of Contents will automatically be generated at the top when four headings are added to an article. This code makes it appear at a particular place other than the top of the page.
|
__TOC__ | |
No table of contents
If the contents of a multi-section page are so short that it doesn't need a table of contents, use this to suppress the automatic one.
|
__NOTOC__ | |
Bulleted list1
Empty lines between list items discouraged (see numbered lists).
|
* One |
|
Numbered list1
Empty line between list items restarts numbering at 1.
|
# One |
|
Indenting text1 |
no indent (normal) |
no indent (normal)
|
Image |
[[File:Logo 4.jpg|thumb|75px|alt=Alternative text in case image does not load|Caption]] |
|
For use only on Talk Pages (following discussion about articles and messages for other editors) | ||
Signature |
~~~~ |
|
Note 1: Applies only at the very beginning of lines. |
See also
- For our in-house style guide, see CATUG wiki:Notes for editors
- To add links to Bible verses, see Template:Bibleverse
- To experiment with editing, use the sandbox
- For more advanced details, see see the Wikipedia page Wikipedia:Cheatsheet, of which the above is a cut-down version, as this Wiki uses the same software