CATUG wiki:Formatting guide: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(→‎See also: * To add links to Bible verses, see Template:Bibleverse)
(Use better examples)
Line 4: Line 4:
= 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/>
  ... like this.
  ... 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.
Leave an empty line between paragraphs. Without this, the Wiki software will flow your text continuously.
Line 47: Line 47:
<div style="padding: 0em .5em; font-size:0.9em;">''(within this Wiki)''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''(within this Wiki)''</div>
|
|
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
<tt><nowiki>[[Mac Ministry List]]</nowiki></tt><br />
<tt><nowiki>[[Name of page|Text to display]]</nowiki></tt>
<tt><nowiki>[[Mac Ministry List|our mailing list]]</nowiki></tt>
|
|
[[Name of page]]<br />
[[Mac Ministry List]]<br />
[[Name of page|Text to display]]
[[Mac Ministry List|our mailing list]]
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
Line 68: Line 68:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Redirect to another page
|Redirect to another page <br/> (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)
|
|
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
<tt><nowiki>#REDIRECT [[Mac Ministry List]]</nowiki></tt>
|
|
[[Image:Redirect arrow without text.png|30px|link=]][[Target page]]
[[Image:Redirect arrow without text.png|30px|link=]][[Mac Ministry List]]
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
Line 117: Line 117:
|-
|-
|Numbered list<sup>1</sup>
|Numbered list<sup>1</sup>
<div style="padding: 0em .5em; font-size:0.9em;">''Empty lines between list items restarts numbering at 1.''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''Empty line between list items restarts numbering at 1.''</div>
|
|
<tt># One</tt><br />
<tt># One</tt><br />
Line 147: Line 147:
|Image
|Image
|
|
<tt><nowiki>[[</nowiki>File:Redirect arrow without text.png|thumb|alt=Alternative&nbsp;text|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>[[</nowiki>File:Logo 4.jpg|thumb|75px|alt=Alternative text in case image does not load|Caption<nowiki>]]</nowiki></tt>
|
|
[[File:Redirect arrow without text.png|thumb|alt=Alt text|Caption]]
[[File:Logo 4.jpg|thumb|75px|alt=Alternative text in case image does not load|Caption]]
|-
|-



Revision as of 12:12, 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]]
[[Mac Ministry List|our mailing list]]

Mac Ministry List
our mailing list

External link
(to other websites)

[http://www.example.org Text to display]
[http://www.example.org]
http://www.example.org

Text to display
[1]
http://www.example.org

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]]

Redirect arrow without text.pngMac Ministry List

Article title

{{title|Title to appear at top of page}}

Section headings1
A Table of Contents will automatically be generated when four headings are added to an article.

= Level 1 =
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 1

Level 2

Level 3

Level 4

Level 5
Level 6
Bulleted list1
Empty lines between list items discouraged (see numbered lists).

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list1
Empty line between list items restarts numbering at 1.

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text1

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent
Image

[[File:Logo 4.jpg|thumb|75px|alt=Alternative text in case image does not load|Caption]]

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

~~~~

Username (talk) 12:59, 2 May 2024 (UTC)

Note 1: Applies only at the very beginning of lines.

See also