CATUG wiki:Formatting guide: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(First draft of formatting guide, cut down from Wikipedia WP:CHEAT)
 
(cut down to meet our requirements)
Line 4: Line 4:
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |
|colspan="3" align="center" style="background:#cee0f2; text-align:center;" |
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Formatting guide</h2>
<h2 style="margin:.5em; margin-top:.1em; margin-bottom:.1em; border-bottom:0; font-weight:bold;">Formatting guide</h2>
<h4>For more advanced details, see [[Help:Wiki markup]]</h4>
|-<!--COLUMN HEADINGS-->
|-<!--COLUMN HEADINGS-->
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''Description'''
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''Description'''
Line 10: Line 9:
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''You get'''
| width="25%" style="background:#cee0f2; padding:0.3em; text-align:center;"|'''You get'''
|-<!--1ST ROW 1ST COLUMN-->
|-<!--1ST ROW 1ST COLUMN-->
|Italic text{{Anchor|Italic text}}
|Italic text
|<!--2ND COLUMN-->
|<!--2ND COLUMN-->
<tt><nowiki>''italic''</nowiki></tt>
<tt><nowiki>''italic''</nowiki></tt>
Line 18: Line 17:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-<!--2ND ROW 1ST COLUMN-->
|-<!--2ND ROW 1ST COLUMN-->
|Bold text{{Anchor|Bold text}}
|Bold text
|
|
<tt><nowiki>'''bold'''</nowiki></tt>
<tt><nowiki>'''bold'''</nowiki></tt>
Line 26: Line 25:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Bold and italic{{Anchor|bold and italic}}
|Bold and italic
|
|
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
Line 34: Line 33:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
||[[Wikipedia:Linking|Internal link]]{{Anchor|Internal link}}<br />
||Internal link<br />
<div style="padding: 0em .5em; font-size:0.9em;">''(within Wikipedia)''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''(within this Wiki)''</div>
|
|
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
<tt><nowiki>[[Name of page]]</nowiki></tt><br />
Line 45: Line 44:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Wikipedia:Linking|External link]]{{Anchor|External link}}<br />
|External link<br />
<div style="padding: 0em .5em; font-size:0.9em;">''(to other websites)''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''(to other websites)''</div>
|
|
Line 58: Line 57:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Wikipedia:Redirect|Redirect to another page]]{{Anchor|Redirect to another page}}
|Redirect to another page
|
|
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
<tt><nowiki>#REDIRECT [[Target page]]</nowiki></tt>
|
|
[[Image:Redirect arrow without text.svg|30px|link=]][[Target page]]
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|rowspan="3"|[[Help:Citations quick reference|Footnotes]]/[[Wikipedia:Referencing for beginners|References]]{{Anchor|Footnotes/References}}
<div style="padding: 0em .5em; font-size:0.9em;">''Numbering is generated automatically.''</div>
|<div style="margin-left:2em; font-size:0.9em;">''To create a footnote or reference, use this format:''</div>
<tt><nowiki>Article text.<ref name="test">[http://www.example.org Link text], additional text.</ref></nowiki></tt>
|rowspan="2"|Article text.<ref name="test">[http://www.example.org Link text], additional text.</ref>
|-
|<div style="margin-left:2em; font-size:0.9em;">''To reuse the same note, reuse the name with a trailing slash:''</div>
<tt><nowiki>Article text.<ref name="test" /></nowiki></tt>
|-
|<div style="margin-left:2em; font-size:0.9em;">''To display notes, add '''either''' of these lines to the References section:''</div>
<tt><nowiki><references/></nowiki></tt><br/>
<tt>{{tl|Reflist}}</tt>
|<br/><references /><br/>
|-
|-
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:Section|Section headings]]{{Anchor|Section headings}}<ref name="firstline">''Applies only at the very beginning of lines.''</ref><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 when four headings are added to an article.''</div>
|
|
Line 100: Line 85:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Bulleted list]]{{Anchor|Bulleted list}}<ref name="firstline" />
|Bulleted list<sup>1</sup>
<div style="padding: 0em .5em; font-size:0.9em;">''Empty lines between list items discouraged (see numbered lists).''</div>
<div style="padding: 0em .5em; font-size:0.9em;">''Empty lines between list items discouraged (see numbered lists).''</div>
|
|
Line 115: Line 100:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Help:List|Numbered list]]{{Anchor|Numbered list}}<ref name="firstline" />
|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 lines between list items restarts numbering at 1.''</div>
|
|
Line 130: Line 115:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|Indenting text{{Anchor|Indenting text}}<ref name="firstline" />
|Indenting text<sup>1</sup>
|
|
<tt><nowiki>no indent (normal)</nowiki></tt><br/>
<tt><nowiki>no indent (normal)</nowiki></tt><br/>
Line 144: Line 129:
|colspan="3" style="border-top:1px solid #cee0f2;"|
|colspan="3" style="border-top:1px solid #cee0f2;"|
|-
|-
|[[Wikipedia:Picture tutorial|Image]]{{Anchor|Thumbnail image}}
|Image
|
|
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
<tt><nowiki>[[</nowiki>File:Wiki.png|thumb|alt=Alternative&nbsp;text|Caption<nowiki>]]</nowiki></tt>
|
|
[[File:Wiki.png|thumb|alt=Alt text|Caption]]
[[File:Wiki.png|thumb|alt=Alt text|Caption]]
Line 152: Line 137:


|-<!--TALKPAGES-->
|-<!--TALKPAGES-->
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | Extra [[Wikipedia:Tutorial_%28Talk_pages%29|Talk Page]] markup
| colspan="3" style="background:#E6F2FF; padding: 0.2em; font-family: sans-serif; font-size: 0.9em; text-align:center;" | For use only on Talk Pages (following discussion about articles and messages for other editors)
|-
|-
|Signature{{Anchor|Signature}}
|Signature
|
|
<tt><nowiki>~~~~</nowiki></tt>
<tt><nowiki>~~~~</nowiki></tt>
Line 161: Line 146:
|-
|-


|colspan="3" style="border-top:1px solid #cee0f2; font-size:0.9em;"|<references/>
|colspan="3" style="border-top:1px solid #cee0f2; font-size:0.9em;"|''Note 1: Applies only at the very beginning of lines.''
|}
|}
</div>
</div>
Line 167: Line 152:
==See also==
==See also==
* To experiment with editing, use the [[CMUG:Sandbox|sandbox]].
* To experiment with editing, use the [[CMUG:Sandbox|sandbox]].
* For help with creating or editing a wikitable see [[Help:Wikitable]]
* For more advanced details, see see the Wikipedia page [[Wikipedia:Wikipedia:Cheatsheet |Wikipedia:Cheatsheet]], of which the above is a cut-down version, as this Wiki uses the same software.


__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__

Revision as of 12:25, 6 March 2010

Formatting guide

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)

[[Name of page]]
[[Name of page|Text to display]]

Name of page
Text to display

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

#REDIRECT [[Target page]]

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

(=Level 1= is used only for a page's title, and is generated automatically.)
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

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 lines 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:Wiki.png|thumb|alt=Alternative text|Caption]]

For use only on Talk Pages (following discussion about articles and messages for other editors)
Signature

~~~~

Username (talk) 10:02, 2 May 2024 (UTC)

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

See also

  • 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.