Difference between revisions of "Help:Editing"

From Iota Phi Wiki
Jump to navigation Jump to search
 
(An article to help people learn how to edit the wiki. To be expanded with other information.)
Line 1: Line 1:
You need '''HELP'''
You need '''HELP'''
==Wiki markup==
Like HTML, a Wiki has a syntax system you can use to format a wiki page called '''wiki markup'''.
===Links and URLs===
Unlike in HTML, the element <code><a></code>, is not allowed for links. The following are used instead: <code><nowiki>[[ ]], [ ], ~~~~, ~~~ & {{ }}</nowiki></code>. See the table below.
{|
|
*[[#emph|Article link]]
*[[#renamedlink|Renamed link]]
*[[#blendlink|Blend link]]
*[[#otherpagelink|Other page link]]
*[[#link-to-section|Section link]]
*[[#createpagelink|Create page link]]
*[[#signingcomments|Signing comments]]
*[[#redirects|Redirects]]
*[[#categorize|Categorize]]
*[[#categorypagelink|Category page link]]
*[[#link-external|External links]]
|}
{| border="1" cellpadding="2" width=”100%” align="center" style="margin: 1em 1em 1em 0; background-color:#faf5ff; border:1px solid #aaaaaa; border-collapse: collapse; empty-cells: show;"
|- valign="top"
! width=“50%”|What it looks like
! width=“50%”|What you type
|- id="emph" valign="top"
| width=“50%”|
(Article link)
Iota Phi has an interesting [[Chapter History]].
* A link to another Wiki article.
* As a URL, the first letter of the target page is automatically capitalized and spaces are represented by underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
* Thus the link above is to the URL iotaphi.org/wiki/Chapter_History, which is the article with the name "Chapter History".
| width=“50%” valign="top"|
<code><nowiki>Iota Phi has an interesting [[Chapter History]].</nowiki></code>
|- id="renamedlink" valign="top"
| width=“50%”|
Iota Phi has an interesting [[Chapter History|chapter history]]. (Renamed link)
* Same target, different name.
* The target ("piped") text must be placed '''first''', then the text to be displayed,  '''second'''.
| width=“50%” valign="top"|
<code><nowiki>Iota Phi has an interesting [[Chapter History|chapter history]].</nowiki></code>
|- id="blendlink" valign="top"
| width=“50%”|
(Blend link)
Many members of Iota Phi have received [[Distinguished Service Key]]s.
Examples include [[President]]s, [[Fellowship]]s, and [[Banquet]]s.
* Endings are blended into the link.
**''Exception'': a trailing apostrophe (') and any characters following the apostrophe are ''not'' blended.
* Preferred style is to use this instead of a piped link, if possible.
* Blending can be suppressed by using <nowiki><nowiki></nowiki></nowiki> tags, which may be desirable in some instances.  Example: an [[Alumni]]<nowiki>-only</nowiki> event.
| width=“50%”|
<code><nowiki>Many members of Iota Phi have received [[Distinguished Service Key]]s.</nowiki></code>
<code><nowiki>Examples include [[President]]s, [[Fellowship]]s, and [[Banquet]]s.</nowiki></code>
<code><nowiki>an [[Alumni]]<nowiki>-only</nowiki> event</nowiki></code>
|- id="otherpagelink" valign="top"
| width=“50%”|
(Other page link)
See [[Portal:Leadership]].
* A link to another namespace.  Examples of common namespaces include User:, Category:, and Portal:.
| width=“50%”|
<code><nowiki>See [[Portal:Leadership]].</nowiki></code>
|- id="link-to-section" valign="top"
| width=“50%”|
(Section link)
[[Risk Management#A Summary]] is a link to a section within another page.
[[#Links and URLs]] is a link to another section on the current page.
[[Risk Management#A Summary|A Summary]] is a piped link to a section within another page.
* The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case, and punctuation.  Links to non-existent sections are not broken; they are treated as links to the top of the page.
* Include "| link title" to create a stylish (piped) link title.
| width=“50%”|
<code><nowiki>[[Risk Management#A Summary]] is a link to a section within another page.</nowiki></code>
<code><nowiki>[[#Links and URLs]] is a link to another section on the current page.</nowiki></code>
<code><nowiki>[[Risk Management#A Summary|A Summary]] is a piped link to a section within another page.</nowiki></code>
|- id="createpagelink" valign="top"
| width=“50%”|
(Create page link)
Links to pages that don’t exist yet look red: [[The Bestest Day Ever]]
* You can create it by clicking on the link.
* To create a new page:
*# Create a link to it on some other (related) page.
*# Save that page.
*# Click on the link you just made. The new page will open for editing.
* For more information, see [[Making a NEW page]].
* Avoid creating a new article without linking to it from at least one other article.
| width=“50%”|
<code><nowiki>[[Name of page that does not exist yet]] is a red link.</nowiki></code>
|- id="signingcomments" valign="top"
| width=“50%”|
(Signing comments)
The character '''tilde''' (~) is used when adding a comment to a Talk page.
You should sign your comment by adding four tildes (<nowiki>~~~~</nowiki>)
to the comment so as to add your user name plus date/time:
: [[User:Aaron|Aaron Lipton]] 13:40, Jan 14, 2007 (UTC)
Adding three tildes (<nowiki>~~~</nowiki>) will add just your user name:
: [[User:Aaron|Aaron]]
and adding five tildes (<nowiki>~~~~~</nowiki>) gives the date/time alone:
: 13:40, Jan 14, 2007 (UTC)
* The first two both provide a link to your [[Wikipedia:user page|user page]].
| width=“50%”|
<code><nowiki>The character '''tilde''' (~) is used when adding a comment to a Talk page. You should sign your comment by appending four tildes (~~~~) to the comment so as to add your user name plus date/time: </nowiki></code><br />
<code><nowiki>:~~~~</nowiki></code><br />
<code><nowiki>Adding three tildes (~~~) will add just your user name:</nowiki></code><br />
<code><nowiki>: ~~~</nowiki></code><br />
<code><nowiki>and adding five tildes (~~~~~) gives the date/time alone:</nowiki></code><br />
<code><nowiki>: ~~~~~</nowiki></code><br />
|- id="redirects" valign="top"
| width=“50%”|
(Redirects)
* [[Wikipedia:Redirect|Redirect]] one article title to another by placing a directive like the one shown to the right on the ''first'' line of the article (such as at a page titled "[[DSK]]").
* It is possible to redirect to a section. For example, a redirect to [[Distinguished Service Key#Past DSK Recipients]] will redirect to the Past DSK Recipients section of the [[Distinguished Service Key]] page, if it exists.
| width=“50%”|
<code><nowiki>#REDIRECT [[Distinguished Service Key]] </nowiki></code>
<code><nowiki>#REDIRECT [[Distinguished Service Key#Past DSK Recipients]] ill redirect to the Past DSK Recipients section of the [[Distinguished Service Key]] page, if it exists.</nowiki></code>
|- id="categorize" valign="top"
| width=“50%”|
(Categorize)
* To put an article in a category, place a link like the one to the right anywhere in the article. As with interlanguage links, it does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.
| width=“50%”|
<code><nowiki>[[Category:Awards]]</nowiki></code>
|- id="categorypagelink" valign="top"
| width=“50%”|
(Category page link)
* To ''link'' to a category page without putting the article into the category, use a colon prefix (":Category") in the link. The formatted text link will appear as: [[:Category:Awards]].
| width=“50%”|
<code><nowiki>[[:Category:Awards]]</nowiki></code>
|- id="link-external" valign="top"
| width=“50%”|
(External links)
Three ways to link to external (non-wiki) sources:
# Bare URL: http://www.iotaphi.org/ (bad style)
# Unnamed link: [http://www.iotaphi.org/] (only used within article body for footnotes)
# Named link: [http://www.iotaphi.org/ Iota Phi]
* Square brackets indicate an external link. Note the use of a ''space'' (not a pipe) to separate the URL from the link text in the "named" version.
| width=“50%”|
<code><nowiki>Three ways to link to external (non-wiki) sources:</nowiki></code><br />
<code><nowiki># Bare URL: http://en.wikipedia.org/ (bad style)</nowiki></code><br />
<code><nowiki># Unnamed link: [http://en.wikipedia.org/] (only used within article body for footnotes)</nowiki></code><br />
<code><nowiki># Named link: [http://en.wikipedia.org Wikipedia]</nowiki></code><br />
|}
===Images===
Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]].
{| border="1" cellpadding="2" cellspacing="0" align="center" style="margin: 1em 1em 1em 0; background-color:#faf5ff; border:1px solid #aaaaaa; border-collapse: collapse; empty-cells: show;"
|-
! What it looks like
! What you type
|- valign="top"
|A picture:
[[Image:Pin.gif]]
|<pre>A picture:
<nowiki>[[Image:Pin.gif]]</nowiki></pre>
|- valign="top"
|With alternative text:
[[Image:Pin.gif|Wikipedia, The Free Encyclopedia.]]
|<pre>With alternative text:
<nowiki>[[Image:Pin.gif|Alpha Phi Omega Service Pin]]</nowiki></pre>
* Alternative text, used when the image is unavailable or when the image is loaded in a text-only browser, or when spoken aloud, is '''strongly''' encouraged.
|- valign="top"
|Floating to the right side of the page using the ''frame'' attribute and a caption:
[[Image:Pin.gif|frame|Service Pin]]<br clear=all>
|<pre>Floating to the right side of the page
using the ''frame'' attribute and a caption:
<nowiki>[[Image:Pin.gif|frame|Service Pin]]</nowiki></pre>
* The frame tag automatically floats the image right.
* The caption is also used as alternate text.
|- valign="top"
|Floating to the right side of the page using the ''thumb'' attribute and a caption:
[[Image:Pin.gif|thumb|Service Pin]]<br clear=all>
|<pre>Floating to the right side of the page
using the ''thumb'' attribute and a caption:
<nowiki>[[Image:Pin.gif|thumb|Service Pin]]</nowiki></pre>
* The thumb tag automatically floats the image right.
* The caption is also used as alternate text.
* An enlarge icon is placed in the lower right corner.
|- valign="top"
|Floating to the right side of the page ''without'' a caption:
[[Image:Pin.gif|right|Service Pin]]
|<pre>Floating to the right side of the page
''without'' a caption:
<nowiki>[[Image:Pin.gif|right|Service Pin]]</nowiki></pre>
* The help topic on [[Wikipedia:Extended image syntax|extended image syntax]] explains more options.
|- valign="top"
|A picture resized to 30 pixels...
[[Image:Pin.gif|30 px]]
|<pre>A picture resized to 30 pixels...
<nowiki>[[Image:Pin.gif|30 px]]</nowiki></pre>
* The help topic on [[Wikipedia:Extended image syntax|extended image syntax]] explains more options.
|- valign="top"
|Linking directly to the description page of an image:
[[:Image:Pin.gif]]
|<pre>Linking directly to the description page
of an image:
<nowiki>[[:Image:Pin.gif]]</nowiki></pre>
* Clicking on an image displayed on a page
(such as any of the ones above)
also leads to the description page
|- valign="top"
|Linking directly to an image without displaying it:
[[:Image:Pin.gif|Image of the Alpha Phi Omega Service Pin]]
|<pre>Linking directly to an image
without displaying it:
<nowiki>[[:media:Pin.gif|Image of the Alpha Phi Omega Service Pin]]</nowiki></pre>
* To include links to images shown as links instead of drawn on the page, use a "media" link.
|- valign="top"
|Using the span and div tag to separate images from text (note that this may allow images to cover text):
|<pre><nowiki>Example:
<div style="display:inline;
width:220px; float:right;">
Place images here </div></nowiki></pre>
|- valign="top"
|Using wiki markup to make a table in which to place a vertical column of images (this helps edit links match headers, especially in Firefox browsers):
|<pre><nowiki>Example: {| align=right
|-
|
Place images here
|}
</nowiki></pre>
|}
===Headings===
For a top-level heading, put it on a separate line surrounded by '=='. For example:
  == Introduction ==
Subheadings use '===', '====', and so on.
===Character formatting===
{| border="1" cellpadding="2" cellspacing="0" align="center" style="margin: 1em 1em 1em 0; background-color:#faf5ff; border:1px solid #aaaaaa; border-collapse: collapse; empty-cells: show;"
|- valign="top"
! What it looks like
! What you type
|- id="emph" valign="top"
|
''Italicized text''<br />'''Bold text'''<br />'''''Italicized & Bold text'''''
|
<pre><nowiki>
''Italicized text''
'''Bold text'''
'''''Italicized & Bold text'''''
</nowiki></pre>
|- valign=top
|
You can use <small>small text</small> for captions.
|
<pre><nowiki>
You can use <small>small text</small> for captions.
</nowiki></pre>
|- valign="top"
|
Better stay away from <big>big text</big>, unless
<small> it's <big>within</big> small</small> text.
|
<pre><nowiki>
Better stay away from <big>big text</big>, unless
<small> it's <big>within</big> small</small> text.
</nowiki></pre>
|- valign="top"
|
You can <s>strike out deleted material</s>
and <u>underline new material</u>.
You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup.
For backwards compatibility better combine this
potentially ignored new <del>logical</del> with
the old <s><del>physical</del></s> markup.
* When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way.
* When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
|
<pre><nowiki>
You can <s>strike out deleted material</s>
and <u>underline new material</u>.
You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup.
For backwards compatibility better combine this
potentially ignored new <del>logical</del> with
the old <s><del>physical</del></s> markup.
</nowiki></pre>
|- valign="top"
|
'''Suppressing interpretation of markup:'''
<br/>
<nowiki>Link &rarr; (''to'') the [[Wikipedia FAQ]]</nowiki>
* Used to show literal data that would otherwise have special meaning.
* Escape all wiki markup, including that which looks like HTML tags.
* Does not escape HTML character references.
* To escape HTML character references such as <tt>&amp;rarr;</tt> use <tt>&amp;amp;rarr;</tt>
|
<br/>
<pre><nowiki>
&lt;nowiki>Link &amp;rarr; (''to'')
the [[Wikipedia FAQ]]&lt;/nowiki>
</nowiki></pre>
|- valign="top"
|
'''Commenting page source:'''
<br/>
''not shown when viewing page''
* Used to leave comments in a page for future editors.
* Note that most comments should go on the appropriate [[Wikipedia:Talk page|Talk page]].
|
<br/>
<pre><nowiki>
&lt;!-- comment here -->
</nowiki></pre>
|-
|
'''<span id="diacritics">Diacritical marks:</span>'''
<br/>
À Á Â Ã Ä Å <br/>
Æ Ç È É Ê Ë <br/>
Ì Í
Î Ï Ñ Ò <br/>
Ó Ô Õ
Ö Ø Ù <br/>
Ú Û Ü ß
à á <br/>
â ã ä å æ
ç <br/>
è é ê ë ì í<br/>
î ï ñ ò ó ô <br/>
œ õ
ö ø ù ú <br/>
û ü ÿ
|
<br/>
<pre><nowiki>
&amp;Agrave; &amp;Aacute; &amp;Acirc; &amp;Atilde; &amp;Auml; &amp;Aring;
&amp;AElig; &amp;Ccedil; &amp;Egrave; &amp;Eacute; &amp;Ecirc; &amp;Euml;
&amp;Igrave; &amp;Iacute; &amp;Icirc; &amp;Iuml; &amp;Ntilde; &amp;Ograve;
&amp;Oacute; &amp;Ocirc; &amp;Otilde; &amp;Ouml; &amp;Oslash; &amp;Ugrave;
&amp;Uacute; &amp;Ucirc; &amp;Uuml; &amp;szlig; &amp;agrave; &amp;aacute;
&amp;acirc; &amp;atilde; &amp;auml; &amp;aring; &amp;aelig; &amp;ccedil;
&amp;egrave; &amp;eacute; &amp;ecirc; &amp;euml; &amp;igrave; &amp;iacute;
&amp;icirc; &amp;iuml; &amp;ntilde; &amp;ograve; &amp;oacute; &amp;ocirc;
&amp;oelig; &amp;otilde; &amp;ouml; &amp;oslash; &amp;ugrave; &amp;uacute;
&amp;ucirc; &amp;uuml; &amp;yuml;
</nowiki></pre>
|- valign="top"
|
'''Punctuation:'''
<br/>
¿ ¡ § ¶<br/>
† ‡ • &ndash; &mdash;<br/>
‹ › « »<br/>
‘ ’ “ ”
|
<br/>
<pre><nowiki>
&amp;iquest; &amp;iexcl; &amp;sect; &amp;para;
&amp;dagger; &amp;Dagger; &amp;bull; &amp;ndash; &amp;mdash;
&amp;lsaquo; &amp;rsaquo; &amp;laquo; &amp;raquo;
&amp;lsquo; &amp;rsquo; &amp;ldquo; &amp;rdquo;
</nowiki></pre>
|- valign="top"
|
'''Commercial symbols:'''
<br/>
™ © ® ¢ € ¥<br/>
£ ¤
|
<br/>
<pre><nowiki>
&amp;trade; &amp;copy; &amp;reg; &amp;cent; &amp;euro; &amp;yen;
&amp;pound; &amp;curren;
</nowiki></pre>
|- valign="top"
|
'''Subscripts:'''
<br/>
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
<br/>
x₀ x₁ x₂ x₃ x₄
<br/>
x₅ x₆ x₇ x₈ x₉
'''Superscripts:'''
<br/>
x<sup>1</sup> x<sup >2</sup > x<sup >3</sup > or
<br/>
x⁰ x¹ x² x³ x⁴
<br/>
x⁵ x⁶ x⁷ x⁸ x⁹
'''Combined:'''
<br/>
ε<sub>0</sub> = 8.85 &times; 10<sup>&minus;12</sup> C² / J m.
<br/>
1 [[Wikipedia:hectare|hectare]] = [[Wikipedia:1 E4 m&sup2;|1 E4 m&sup2;]]
*The [[Wikipedia:Manual of Style (mathematics)#Superscripts and subscripts|Manual of Style]] prefers the <nowiki>x<sub>1</sub></nowiki> format.
*The latter methods of sub/superscripting cannot be used in the most general context, as they rely on Unicode support which may not be present on all users' machines. For the 1-2-3 superscripts, it is nevertheless preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.
|
<br/>
<pre><nowiki>
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
x&amp;#8320; x&amp;#8321; x&amp;#8322; x&amp;#8323; x&amp;#8324;
x&amp;#8325; x&amp;#8326; x&amp;#8327; x&amp;#8328; x&amp;#8329;
</nowiki></pre>
<pre><nowiki>
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
x&amp;#8304; x&amp;sup1; x&amp;sup2; x&amp;sup3; x&amp;#8308;
x&amp;#8309; x&amp;#8310; x&amp;#8311; x&amp;#8312; x&amp;#8313;
</nowiki></pre>
<pre><nowiki>
&amp;epsilon;<sub>0</sub> = 8.85 &amp;times;
10<sup>&amp;minus;12</sup> C&amp;sup2; / J m.
1 [[hectare]] = [[1 E4 m&amp;sup2;]]
</nowiki></pre>
|- valign="top"
|
'''Greek characters:'''
<br/>
α β γ δ ε ζ<br/>
η θ ι κ λ μ ν<br/>
ξ ο π ρ σ ς<br/>
τ υ φ χ ψ ω<br/>
Γ Δ Θ Λ Ξ Π<br/>
Σ Φ Ψ Ω
|
<br/>
<pre><nowiki>
&amp;alpha; &amp;beta; &amp;gamma; &amp;delta; &amp;epsilon; &amp;zeta;
&amp;eta; &amp;theta; &amp;iota; &amp;kappa; &amp;lambda; &amp;mu; &amp;nu;
&amp;xi; &amp;omicron; &amp;pi; &amp;rho; &amp;sigma; &amp;sigmaf;
&amp;tau; &amp;upsilon; &amp;phi; &amp;chi; &amp;psi; &amp;omega;
&amp;Gamma; &amp;Delta; &amp;Theta; &amp;Lambda; &amp;Xi; &amp;Pi;
&amp;Sigma; &amp;Phi; &amp;Psi; &amp;Omega;
</nowiki></pre>
|}
===No or limited formatting—showing exactly what is being typed===
A few different kinds of formatting will tell the Wiki to display things as you typed them—what you see, is what you get!
{| border="1" cellpadding="2" cellspacing="0" align="center" style="margin: 1em 1em 1em 0; background-color:#faf5ff; border:1px solid #aaaaaa; border-collapse: collapse; empty-cells: show;"
|-
!What it looks like
!What you type
|-
|'''&lt;nowiki&gt; tag:'''<br/>
<nowiki>
The nowiki tag ignores [[Wiki]] ''markup''.
It reformats text by removing newlines    and multiple spaces.
It still interprets special characters: &rarr;
</nowiki>
|<pre><nowiki>
&lt;nowiki&gt;
The nowiki tag ignores [[Wiki]] ''markup''.
It reformats text by removing newlines
and multiple spaces.
It still interprets special
characters: &amp;rarr;
&lt;/nowiki&gt;
</nowiki></pre>
|-
|'''&lt;pre&gt; tag:'''</br>
<pre>
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't    reformat text.
It still interprets special characters: &rarr;
</pre>
|<pre>&lt;pre&gt;<nowiki>
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't    reformat text.
It still interprets special characters:
&amp;rarr;
</nowiki>&lt;/pre&gt;</pre>
|-
|'''Leading space:'''<br/>
Leading spaces are another way
to preserve formatting.
Putting a space at the beginning of each line
stops the text  from being reformatted.
It still interprets [[Wiki]] ''markup'' and
special characters: →
|<pre><nowiki>
Leading spaces are another way
to preserve formatting.
Putting a space at the beginning of each line
stops the text  from being reformatted.
It still interprets [[Wiki]] ''markup'' and
special characters: &amp;rarr;
</nowiki></pre>
|}
===Invisible text (comments)===
It's uncommon, but on occasion acceptable, to add a hidden comment within the text of an article.  <!-- This is an example of text that won't normally be visible except in "edit" mode. --> The format is this:
<nowiki><!-- This is an example of text that won't normally be visible except in "edit" mode. --></nowiki>
=== Table of contents===
<!-- ==== Placement of the Table of Contents (TOC) ==== -->
At the current status of the wiki markup language, having at least four headers on a page triggers the table of contents (TOC) to appear in front of the first header (or after introductory sections).  Putting <nowiki>__TOC__</nowiki> anywhere forces the TOC to appear at that point (instead of just before the first header).  Putting <nowiki>__NOTOC__</nowiki> anywhere forces the TOC to disappear.  See also [[Wikipedia:Section#Compact_TOC|Compact TOC]] for alphabet and year headings.
<!--
THE TEXT BELOW IS COMMENTED OUT SINCE THE DESCRIBED TECHNIQUE
DOESN'T WORK AFTER UPGRADING TO MEDIAWIKI 1.5
====Keeping headings out of the Table of Contents====
If you want some subheadings to not appear in the Table of Contents, then make the following replacements.
Replace  <nowiki> == Header 2 == with <h2> Header 2 </h2> </nowiki>
Replace  <nowiki> === Header 3 === with <h3> Header 3 </h3> </nowiki>
And so forth.
For example, notice that the following header has the same font as the other subheaders to this "Tables" section, but the following header does not appear in the Table of Contents for this page.
<h4> This header has the h4 font, but is NOT in the Table of Contents (actually, it is)</h4>
This effect is obtained by the following line of code.
<code><nowiki><h4> This header has the h4 font, but is not in the Table of Contents </h4></nowiki></code>
Note that when editing by section, this approach places the text between the tags in the subsequent section, not the previous section. To edit this text, click the edit link next to "Tables", not the one above.
-->
===Tables===
There are two ways to build tables:
*in special Wiki-markup (see [[Wikipedia:Help:Table|Table]])
*with the usual HTML elements: &lt;table&gt;, &lt;tr&gt;, &lt;td&gt; or &lt;th&gt;.
===Variables===
{| style="text-align:center"
|-
! Code
! Effect
|-
| <nowiki>{{CURRENTWEEK}}</nowiki> || {{CURRENTWEEK}}
|-
| <nowiki>{{CURRENTDOW}}</nowiki> || {{CURRENTDOW}}
|-
| <nowiki>{{CURRENTMONTH}}</nowiki> || {{CURRENTMONTH}}
|-
| <nowiki>{{CURRENTMONTHNAME}}</nowiki>
| {{CURRENTMONTHNAME}}
|-
| <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>
| {{CURRENTMONTHNAMEGEN}}
|-
| <nowiki>{{CURRENTDAY}}</nowiki> || {{CURRENTDAY}}
|-
| <nowiki>{{CURRENTDAYNAME}}</nowiki> || {{CURRENTDAYNAME}}
|-
| <nowiki>{{CURRENTYEAR}}</nowiki> || {{CURRENTYEAR}}
|-
| <nowiki>{{CURRENTTIME}}</nowiki> || {{CURRENTTIME}}
|-
| <nowiki>{{NUMBEROFARTICLES}}</nowiki>
| {{NUMBEROFARTICLES}}
|-
| <nowiki>{{NUMBEROFUSERS}}</nowiki>
| {{NUMBEROFUSERS}}
|-
| <nowiki>{{PAGENAME}}</nowiki> || {{PAGENAME}}
|-
| <nowiki>{{NAMESPACE}}</nowiki> || {{NAMESPACE}}
|-
| <nowiki>{{REVISIONID}}</nowiki> || {{REVISIONID}}
|-
| <nowiki>{{SERVER}}</nowiki> || {{SERVER}}
|-
| <nowiki>{{ns:1}}</nowiki> || {{ns:1}}
|-
| <nowiki>{{ns:2}}</nowiki> || {{ns:2}}
|-
| <nowiki>{{ns:3}}</nowiki> || {{ns:3}}
|-
| <nowiki>{{ns:4}}</nowiki> || {{ns:4}}
|-
| <nowiki>{{ns:5}}</nowiki> || {{ns:5}}
|-
| <nowiki>{{ns:6}}</nowiki> || {{ns:6}}
|-
| <nowiki>{{ns:7}}</nowiki> || {{ns:7}}
|-
| <nowiki>{{ns:8}}</nowiki> || {{ns:8}}
|-
| <nowiki>{{ns:9}}</nowiki> || {{ns:9}}
|-
| <nowiki>{{ns:10}}</nowiki> || {{ns:10}}
|-
| <nowiki>{{ns:11}}</nowiki> || {{ns:11}}
|-
| <nowiki>{{ns:12}}</nowiki> || {{ns:12}}
|-
| <nowiki>{{ns:13}}</nowiki> || {{ns:13}}
|-
| <nowiki>{{ns:14}}</nowiki> || {{ns:14}}
|-
| <nowiki>{{ns:15}}</nowiki> || {{ns:15}}
|-
| <nowiki>{{SITENAME}}</nowiki> || {{SITENAME}}
|}
'''NUMBEROFARTICLES''' is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.
'''CURRENTMONTHNAMEGEN''' is the genitive (possessive) grammatical form of the month name, as used in some languages; '''CURRENTMONTHNAME''' is the nominative (subject) form, as usually seen in English.
In languages where it makes a difference, you can use constructs like <nowiki>{{grammar:case|word}}</nowiki> to convert a word from the nominative case to some other case.  For example, <nowiki>{{grammar:genitive|{{CURRENTMONTHNAME}}}}</nowiki> means the same as <nowiki>{{CURRENTMONTHNAMEGEN}}</nowiki>.
This page was derived from [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page Wikipedia].

Revision as of 06:24, 13 July 2009

You need HELP

Wiki markup

Like HTML, a Wiki has a syntax system you can use to format a wiki page called wiki markup.

Links and URLs

Unlike in HTML, the element <a>, is not allowed for links. The following are used instead: [[ ]], [ ], ~~~~, ~~~ & {{ }}. See the table below.

What it looks like What you type

(Article link) Iota Phi has an interesting Chapter History.

  • A link to another Wiki article.
  • As a URL, the first letter of the target page is automatically capitalized and spaces are represented by underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
  • Thus the link above is to the URL iotaphi.org/wiki/Chapter_History, which is the article with the name "Chapter History".

Iota Phi has an interesting [[Chapter History]].

(Signing comments) The character tilde (~) is used when adding a comment to a Talk page. You should sign your comment by adding four tildes (~~~~) to the comment so as to add your user name plus date/time:

Aaron Lipton 13:40, Jan 14, 2007 (UTC)

Adding three tildes (~~~) will add just your user name:

Aaron

and adding five tildes (~~~~~) gives the date/time alone:

13:40, Jan 14, 2007 (UTC)
  • The first two both provide a link to your user page.

The character '''tilde''' (~) is used when adding a comment to a Talk page. You should sign your comment by appending four tildes (~~~~) to the comment so as to add your user name plus date/time:
:~~~~
Adding three tildes (~~~) will add just your user name:
: ~~~
and adding five tildes (~~~~~) gives the date/time alone:
: ~~~~~

(Redirects)

#REDIRECT [[Distinguished Service Key]]

#REDIRECT [[Distinguished Service Key#Past DSK Recipients]] ill redirect to the Past DSK Recipients section of the [[Distinguished Service Key]] page, if it exists.

(Categorize)

  • To put an article in a category, place a link like the one to the right anywhere in the article. As with interlanguage links, it does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.

[[Category:Awards]]


Images

Only images that have been uploaded to Wikipedia can be used. To upload images, use the upload page. You can find the uploaded image on the image list.

What it looks like What you type
A picture:

Pin.gif

A picture: 
[[Image:Pin.gif]]
With alternative text:

Wikipedia, The Free Encyclopedia.

With alternative text:
[[Image:Pin.gif|Alpha Phi Omega Service Pin]]
  • Alternative text, used when the image is unavailable or when the image is loaded in a text-only browser, or when spoken aloud, is strongly encouraged.
Floating to the right side of the page using the frame attribute and a caption:
Service Pin

Floating to the right side of the page 
using the ''frame'' attribute and a caption:
[[Image:Pin.gif|frame|Service Pin]]
  • The frame tag automatically floats the image right.
  • The caption is also used as alternate text.
Floating to the right side of the page using the thumb attribute and a caption:
Service Pin

Floating to the right side of the page 
using the ''thumb'' attribute and a caption:
[[Image:Pin.gif|thumb|Service Pin]]
  • The thumb tag automatically floats the image right.
  • The caption is also used as alternate text.
  • An enlarge icon is placed in the lower right corner.
Floating to the right side of the page without a caption:
Service Pin
Floating to the right side of the page
''without'' a caption:
[[Image:Pin.gif|right|Service Pin]]
A picture resized to 30 pixels...

Pin.gif

A picture resized to 30 pixels...
[[Image:Pin.gif|30 px]]
Linking directly to the description page of an image:

Image:Pin.gif

Linking directly to the description page
of an image:
[[:Image:Pin.gif]]
  • Clicking on an image displayed on a page

(such as any of the ones above) also leads to the description page

Linking directly to an image without displaying it:

Image of the Alpha Phi Omega Service Pin

Linking directly to an image
without displaying it:
[[:media:Pin.gif|Image of the Alpha Phi Omega Service Pin]]
  • To include links to images shown as links instead of drawn on the page, use a "media" link.
Using the span and div tag to separate images from text (note that this may allow images to cover text):
Example:
<div style="display:inline;
width:220px; float:right;">
Place images here </div>
Using wiki markup to make a table in which to place a vertical column of images (this helps edit links match headers, especially in Firefox browsers):
Example: {| align=right
|-
| 
Place images here
|}

Headings

For a top-level heading, put it on a separate line surrounded by '=='. For example:

  == Introduction ==

Subheadings use '===', '====', and so on.

Character formatting

What it looks like What you type

Italicized text
Bold text
Italicized & Bold text

''Italicized text''
'''Bold text'''
'''''Italicized & Bold text'''''

You can use small text for captions.

You can use <small>small text</small> for captions.

Better stay away from big text, unless it's within small text.

Better stay away from <big>big text</big>, unless
<small> it's <big>within</big> small</small> text.

You can strike out deleted material and underline new material.

You can also mark deleted material and inserted material using logical markup. For backwards compatibility better combine this potentially ignored new logical with the old physical markup.

  • When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way.
  • When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
You can <s>strike out deleted material</s>
and <u>underline new material</u>.

You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup.
For backwards compatibility better combine this
potentially ignored new <del>logical</del> with
the old <s><del>physical</del></s> markup.

Suppressing interpretation of markup:
Link → (''to'') the [[Wikipedia FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;


<nowiki>Link &rarr; (''to'') 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown when viewing page

  • Used to leave comments in a page for future editors.
  • Note that most comments should go on the appropriate Talk page.


<!-- comment here -->

Diacritical marks:
À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ


&Agrave; &Aacute; &Acirc; &Atilde; &Auml; &Aring; 
&AElig; &Ccedil; &Egrave; &Eacute; &Ecirc; &Euml; 
&Igrave; &Iacute; &Icirc; &Iuml; &Ntilde; &Ograve; 
&Oacute; &Ocirc; &Otilde; &Ouml; &Oslash; &Ugrave; 
&Uacute; &Ucirc; &Uuml; &szlig; &agrave; &aacute; 
&acirc; &atilde; &auml; &aring; &aelig; &ccedil; 
&egrave; &eacute; &ecirc; &euml; &igrave; &iacute;
&icirc; &iuml; &ntilde; &ograve; &oacute; &ocirc; 
&oelig; &otilde; &ouml; &oslash; &ugrave; &uacute; 
&ucirc; &uuml; &yuml;

Punctuation:
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”


&iquest; &iexcl; &sect; &para;
&dagger; &Dagger; &bull; &ndash; &mdash;
&lsaquo; &rsaquo; &laquo; &raquo;
&lsquo; &rsquo; &ldquo; &rdquo;

Commercial symbols:
™ © ® ¢ € ¥
£ ¤


&trade; &copy; &reg; &cent; &euro; &yen; 
&pound; &curren;

Subscripts:
x1 x2 x3 or
x₀ x₁ x₂ x₃ x₄
x₅ x₆ x₇ x₈ x₉

Superscripts:
x1 x2 x3 or
x⁰ x¹ x² x³ x⁴
x⁵ x⁶ x⁷ x⁸ x⁹

Combined:
ε0 = 8.85 × 10−12 C² / J m.
1 hectare = 1 E4 m²

  • The Manual of Style prefers the x<sub>1</sub> format.
  • The latter methods of sub/superscripting cannot be used in the most general context, as they rely on Unicode support which may not be present on all users' machines. For the 1-2-3 superscripts, it is nevertheless preferred when possible (as with units of measurement) because most browsers have an easier time formatting lines with it.


x<sub>1</sub> x<sub>2</sub> x<sub>3</sub> or
x&#8320; x&#8321; x&#8322; x&#8323; x&#8324;
x&#8325; x&#8326; x&#8327; x&#8328; x&#8329;
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
x&#8304; x&sup1; x&sup2; x&sup3; x&#8308;
x&#8309; x&#8310; x&#8311; x&#8312; x&#8313;
&epsilon;<sub>0</sub> = 8.85 &times;
10<sup>&minus;12</sup> C&sup2; / J m.

1 [[hectare]] = [[1 E4 m&sup2;]]

Greek characters:
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω


&alpha; &beta; &gamma; &delta; &epsilon; &zeta; 
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu; 
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;
&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi; 
&Sigma; &Phi; &Psi; &Omega;

No or limited formatting—showing exactly what is being typed

A few different kinds of formatting will tell the Wiki to display things as you typed them—what you see, is what you get!

What it looks like What you type
<nowiki> tag:

The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: →

<nowiki>
The nowiki tag ignores [[Wiki]] ''markup''.
It reformats text by removing newlines 
and multiple spaces.
It still interprets special
characters: &rarr;
</nowiki>
<pre> tag:
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters: →
<pre>
The pre tag ignores [[Wiki]] ''markup''.
It also doesn't     reformat text.
It still interprets special characters:
 &rarr;
</pre>
Leading space:

Leading spaces are another way to preserve formatting.


Putting a space at the beginning of each line
stops the text   from being reformatted. 
It still interprets Wiki markup and
special characters: →
Leading spaces are another way 
to preserve formatting.
 Putting a space at the beginning of each line
 stops the text   from being reformatted. 
 It still interprets [[Wiki]] ''markup'' and
 special characters: &rarr;

Invisible text (comments)

It's uncommon, but on occasion acceptable, to add a hidden comment within the text of an article. The format is this:

<!-- This is an example of text that won't normally be visible except in "edit" mode. -->

Table of contents

At the current status of the wiki markup language, having at least four headers on a page triggers the table of contents (TOC) to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. See also Compact TOC for alphabet and year headings.

Tables

There are two ways to build tables:

  • in special Wiki-markup (see Table)
  • with the usual HTML elements: <table>, <tr>, <td> or <th>.

Variables

Code Effect
{{CURRENTWEEK}} 22
{{CURRENTDOW}} 1
{{CURRENTMONTH}} 05
{{CURRENTMONTHNAME}} May
{{CURRENTMONTHNAMEGEN}} May
{{CURRENTDAY}} 25
{{CURRENTDAYNAME}} Monday
{{CURRENTYEAR}} 2026
{{CURRENTTIME}} 19:59
{{NUMBEROFARTICLES}} 3,655
{{NUMBEROFUSERS}} 1,721
{{PAGENAME}} Editing
{{NAMESPACE}} Help
{{REVISIONID}} 15520
{{SERVER}} https://wiki.iotaphi.org
{{ns:1}} Talk
{{ns:2}} User
{{ns:3}} User talk
{{ns:4}} Iota Phi Wiki
{{ns:5}} Iota Phi Wiki talk
{{ns:6}} File
{{ns:7}} File talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki talk
{{ns:10}} Template
{{ns:11}} Template talk
{{ns:12}} Help
{{ns:13}} Help talk
{{ns:14}} Category
{{ns:15}} Category talk
{{SITENAME}} Iota Phi Wiki

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.

CURRENTMONTHNAMEGEN is the genitive (possessive) grammatical form of the month name, as used in some languages; CURRENTMONTHNAME is the nominative (subject) form, as usually seen in English.

In languages where it makes a difference, you can use constructs like {{grammar:case|word}} to convert a word from the nominative case to some other case. For example, {{grammar:genitive|{{CURRENTMONTHNAME}}}} means the same as {{CURRENTMONTHNAMEGEN}}.


This page was derived from Wikipedia.