Difference between revisions of "Help:Syntax"

From XFamily - Children of God
(framework)
 
m (FCKEditor)
 
(9 intermediate revisions by 4 users not shown)
Line 9: Line 9:
 
===Linking to a section of an article===
 
===Linking to a section of an article===
  
===Linking to a Category===
+
Use the following format to link to a particular section of an article.
 +
 
 +
<nowiki>[[Article Name#Section Name]]</nowiki>.
 +
 
 +
Example: [[Help:Syntax#Linking_to_a_section_of_an_article]]
 +
 
 +
===Linking to a category===
 +
 
 +
To link to a category, as opposed to including an article in a category, use a colon at the beginning of the link.
 +
 
 +
e.g. <nowiki>[[:Category:Category Name]]</nowiki>
 +
 
 +
===Linking to an image===
 +
 
 +
To link to an image, as opposed to displaying the image, use a colon at the beginning of the link.
 +
 
 +
e.g. <nowiki>[[:Image:Image_name.jpg]]</nowiki>
  
 
==External Links==
 
==External Links==
Line 20: Line 36:
  
 
{{Template:Placeholder}}
 
{{Template:Placeholder}}
 +
 +
 +
==Footnotes==
 +
 +
There are many different methods for citing sources and annotating documents.  One method that is often apropriate is the use of footnotes.  The easiest way to add footnotes is to use the Cite.php syntax which is very simple:
 +
 +
# <nowiki><ref>text of note</ref></nowiki> at the in-text place where you would like the footnote link to appear.
 +
# (Only needed once per article) <nowiki><references/></nowiki> in the section where the footnotes should appear.  If you omit this, the footnotes will not be displayed. 
 +
 +
===Example===
 +
<blockquote>
 +
<tt>
 +
According to scientists, the Sun is pretty big.{{highlight|'''&lt;ref>'''Miller, E: "The Sun.", page 23. Academic Press, 2005'''&lt;/ref>'''}}
 +
<br/>
 +
The Moon, however, is not so big.{{highlight|'''&lt;ref>'''Smith, R: "Size of the Moon", ''Scientific American'', 46(78):46'''&lt;/ref>'''}}
 +
<br/>
 +
<br/>
 +
&#61;=Notes==
 +
<br/>
 +
{{highlight|'''&lt;references/>'''}}
 +
</tt>
 +
</blockquote>
 +
 +
===More Information===
 +
*[http://en.wikipedia.org/wiki/Wikipedia:Footnotes Wikipedia: Footnotes]
 +
*[http://meta.wikimedia.org/wiki/Cite/Cite.php Wikimedia: Cite/Cite.php]
 +
  
 
=Advanced Wiki Syntax=
 
=Advanced Wiki Syntax=
Line 30: Line 73:
  
 
{{Template:Placeholder}}
 
{{Template:Placeholder}}
 +
 +
=FCKEditor=
 +
 +
The [http://mediawiki.fckeditor.net/index.php/Main_Page FCKeditor] extension has been installed but is disabled by default as it may cause problems when editing certain articles.  It can be enabled by going to [[Special:Preferences|Preferences/Misc]] and selecting "Enable rich editor."

Latest revision as of 11:23, 11 February 2012

Basic Wiki Syntax

Linking

This section is a placeholder. This means it is incomplete and in need of further elaboration.

We will update this as time permits.

Internal Links

Linking to a section of an article

Use the following format to link to a particular section of an article.

[[Article Name#Section Name]].

Example: Help:Syntax#Linking_to_a_section_of_an_article

Linking to a category

To link to a category, as opposed to including an article in a category, use a colon at the beginning of the link.

e.g. [[:Category:Category Name]]

Linking to an image

To link to an image, as opposed to displaying the image, use a colon at the beginning of the link.

e.g. [[:Image:Image_name.jpg]]

External Links

Categorization

This section is a placeholder. This means it is incomplete and in need of further elaboration.

We will update this as time permits.

Text Formatting

This section is a placeholder. This means it is incomplete and in need of further elaboration.

We will update this as time permits.


Footnotes

There are many different methods for citing sources and annotating documents. One method that is often apropriate is the use of footnotes. The easiest way to add footnotes is to use the Cite.php syntax which is very simple:

  1. <ref>text of note</ref> at the in-text place where you would like the footnote link to appear.
  2. (Only needed once per article) <references/> in the section where the footnotes should appear. If you omit this, the footnotes will not be displayed.

Example

According to scientists, the Sun is pretty big.<ref>Miller, E: "The Sun.", page 23. Academic Press, 2005</ref>
The Moon, however, is not so big.<ref>Smith, R: "Size of the Moon", Scientific American, 46(78):46</ref>

==Notes==
<references/>

More Information


Advanced Wiki Syntax

Tables

This section is a placeholder. This means it is incomplete and in need of further elaboration.

We will update this as time permits.

CSS

This section is a placeholder. This means it is incomplete and in need of further elaboration.

We will update this as time permits.

FCKEditor

The FCKeditor extension has been installed but is disabled by default as it may cause problems when editing certain articles. It can be enabled by going to Preferences/Misc and selecting "Enable rich editor."