Middlebury

Difference between revisions of "Help:Editing"

 
Line 1: Line 1:
 
== See also  ==
 
== See also  ==
  
*[[Help:Contents]]  
+
*[[Help:Contents]]
*[http://en.wikipedia.org/wiki/Help:Contents General wiki help (on Wikipedia)]  
+
*[http://en.wikipedia.org/wiki/Help:Contents General wiki help (on Wikipedia)]
*[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Cheat sheets (on Wikipedia)]  
+
*[http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet Cheat sheets (on Wikipedia)]
 
*[http://en.wikipedia.org/wiki/Wikipedia:Citing_sources Reference/citations (on Wikipedia)]
 
*[http://en.wikipedia.org/wiki/Wikipedia:Citing_sources Reference/citations (on Wikipedia)]
  
Line 12: Line 12:
 
===== <u>Headers</u>  =====
 
===== <u>Headers</u>  =====
  
Use headers for every separate topic of an article! They help organize articles in two ways:  
+
Use headers for every separate topic of an article! They help organize articles in two ways:
  
 
*They visually separate information on the page, making it easier to sort through.
 
*They visually separate information on the page, making it easier to sort through.
  
 
*The headers you use in a page are reflected in an automatically generated "Table of Contents" at the top of each page. This is very handy!
 
*The headers you use in a page are reflected in an automatically generated "Table of Contents" at the top of each page. This is very handy!
<pre>== Big Header ==</pre><pre>=== Medium Header ===</pre><pre>==== Small Header ====</pre>  
+
<pre>== Big Header ==</pre><pre>=== Medium Header ===</pre><pre>==== Small Header ====</pre>
*Start a line with an asterisk ('''*''') to create a bullet. Two asterisks (**) creates an indented bullet.  
+
*Start a line with an asterisk ('''*''') to create a bullet. Two asterisks (**) creates an indented bullet.
*Use a pound ('''#''') to create numbering. Two pounds (##) creates an indented numbering sequence.  
+
*Use a pound ('''#''') to create numbering. Two pounds (##) creates an indented numbering sequence.
*A # and then a * (#*) creates a ''bulleted, indented subsection'' of a numbered list.  
+
*A # and then a * (#*) creates a ''bulleted, indented subsection'' of a numbered list.
 
*Use a ''':''' to indent the beginning of a line:<br>
 
*Use a ''':''' to indent the beginning of a line:<br>
  
:Indented by one&nbsp;:  
+
:Indented by one&nbsp;:
 
::Indented by two&nbsp;::'s
 
::Indented by two&nbsp;::'s
 
</blockquote> <blockquote>
 
</blockquote> <blockquote>
 
===== <u>Color</u>  =====
 
===== <u>Color</u>  =====
  
Change font colors:<br>  
+
Change font colors:<br>
  
 
*Use this code in Wikitext mode:
 
*Use this code in Wikitext mode:
<pre>&nbsp; &lt;span style="color: red;"&gt;YOURTEXT&lt;/span&gt;</pre>  
+
<pre>&nbsp; &lt;span style="color: red;"&gt;YOURTEXT&lt;/span&gt;</pre>
 
*Change color name to blue, purple, green, etc. as you wish. Replace YOURTEXT with the words you want to highlight.
 
*Change color name to blue, purple, green, etc. as you wish. Replace YOURTEXT with the words you want to highlight.
  
 
*Shows up like <span style="color: red;">'''this. '''</span><br><br>
 
*Shows up like <span style="color: red;">'''this. '''</span><br><br>
</blockquote>  
+
</blockquote>
 
----
 
----
  
Line 41: Line 41:
  
 
*Use this code (either WIkitext mode or regular edit mode):
 
*Use this code (either WIkitext mode or regular edit mode):
<pre> [[#top|Back to top]]</pre>  
+
<pre> [[#top|Back to top]]</pre>
*Change "Back to top" to your own wording as you like<br>  
+
*Change "Back to top" to your own wording as you like<br>
 
*Shows on page as: [[#top|Back to top]]
 
*Shows on page as: [[#top|Back to top]]
  
Line 50: Line 50:
 
<pre>&lt;span id="anchorname"&gt;YOURTEXT&lt;/span&gt;
 
<pre>&lt;span id="anchorname"&gt;YOURTEXT&lt;/span&gt;
  
</pre>  
+
</pre>
 
*Use this code for the location that you want to link FROM (to bounce back to the anchor point)<br>
 
*Use this code for the location that you want to link FROM (to bounce back to the anchor point)<br>
<pre>[[#anchorname|YOURTEXT]]</pre>  
+
<pre>[[#anchorname|YOURTEXT]]</pre>
 
----
 
----
  
 
==== Adding images  ====
 
==== Adding images  ====
  
Show an [[Image:OK button.PNG]] by adding the following code:  
+
Show an [[Image:OK button.PNG]] by adding the following code:
<pre>[[Image:OK button.PNG]]</pre>  
+
<pre>[[Image:OK button.PNG]]</pre>
Lots of commonly-used buttons are collected at the [https://mediawiki.middlebury.edu/wiki/LIS/Category:Helpdesk_Documentation_Buttons Helpdesk Documentation Buttons] gallery.  
+
Lots of commonly-used buttons are collected at the [https://mediawiki.middlebury.edu/wiki/LIS/Category:Helpdesk_Documentation_Buttons Helpdesk Documentation Buttons] gallery.
  
 
==== Automatically redirect to another page  ====
 
==== Automatically redirect to another page  ====
  
Useful when you move content and merge pages. The following line redirects a page to [[Helpdesk]]:  
+
Useful when you move content and merge pages. The following line redirects a page to [[Helpdesk]]:
<pre>#REDIRECT [[Helpdesk]]</pre>  
+
<pre>#REDIRECT [[Helpdesk]]</pre>
 
----
 
----
  
Line 70: Line 70:
  
 
To add a category to a page, add the following wiki-text to the end of the page (for example the 'Projects' category):
 
To add a category to a page, add the following wiki-text to the end of the page (for example the 'Projects' category):
<pre />[[category:Projects]]</pre>
+
<pre>[[Category:Projects]]</pre>
 
To link to a category page rather than assign a category, use a colon before the keyword, 'Category' as follows:
 
To link to a category page rather than assign a category, use a colon before the keyword, 'Category' as follows:
 
<pre>[[:Category:Projects]]</pre>
 
<pre>[[:Category:Projects]]</pre>
Line 81: Line 81:
 
==== Embedding Videos  ====
 
==== Embedding Videos  ====
  
This wiki uses the [http://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo plugin]. See that page for further instructions on how to embed videos.  
+
This wiki uses the [http://www.mediawiki.org/wiki/Extension:EmbedVideo EmbedVideo plugin]. See that page for further instructions on how to embed videos.
  
Here's the syntax for the EmbedVideo plugin:  
+
Here's the syntax for the EmbedVideo plugin:
  
*<pre>{{#ev:service|id}}</pre> -or-  
+
*<pre>{{#ev:service|id}}</pre> -or-
 
*<pre>{{#ev:service|id|width}}</pre>
 
*<pre>{{#ev:service|id|width}}</pre>
  
An example using the "evolution of dance" video on Youtube (first normal sized, then scaled down):  
+
An example using the "evolution of dance" video on Youtube (first normal sized, then scaled down):
  
*<pre>{{#ev:youtube|dMH0bHeiRNg}}</pre>  
+
*<pre>{{#ev:youtube|dMH0bHeiRNg}}</pre>
 
*<pre>{{#ev:youtube|dMH0bHeiRNg|100}}</pre>
 
*<pre>{{#ev:youtube|dMH0bHeiRNg|100}}</pre>
  
See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.  
+
See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.
  
 +
[[Category:Projects]]
 
[[Category:Editing]] [[Category:Help]]
 
[[Category:Editing]] [[Category:Help]]

Latest revision as of 08:15, 14 October 2013

See also

Basic Cheatsheet

Formatting

Headers

Use headers for every separate topic of an article! They help organize articles in two ways:

  • They visually separate information on the page, making it easier to sort through.
  • The headers you use in a page are reflected in an automatically generated "Table of Contents" at the top of each page. This is very handy!
== Big Header ==
=== Medium Header ===
==== Small Header ====
  • Start a line with an asterisk (*) to create a bullet. Two asterisks (**) creates an indented bullet.
  • Use a pound (#) to create numbering. Two pounds (##) creates an indented numbering sequence.
  • A # and then a * (#*) creates a bulleted, indented subsection of a numbered list.
  • Use a : to indent the beginning of a line:
Indented by one :
Indented by two ::'s
Color

Change font colors:

  • Use this code in Wikitext mode:
  <span style="color: red;">YOURTEXT</span>
  • Change color name to blue, purple, green, etc. as you wish. Replace YOURTEXT with the words you want to highlight.
  • Shows up like this.


Linking to top of page

  • Use this code (either WIkitext mode or regular edit mode):
 [[#top|Back to top]]
  • Change "Back to top" to your own wording as you like
  • Shows on page as: Back to top

Linking internally to another element within same page

  • Anchor: Decide on an anchor name -- You want to link TO this section. Then use this code at your anchor point (in Wikitext mode):
<span id="anchorname">YOURTEXT</span>

  • Use this code for the location that you want to link FROM (to bounce back to the anchor point)
[[#anchorname|YOURTEXT]]

Adding images

Show an OK button.PNG by adding the following code:

[[Image:OK button.PNG]]

Lots of commonly-used buttons are collected at the Helpdesk Documentation Buttons gallery.

Automatically redirect to another page

Useful when you move content and merge pages. The following line redirects a page to Helpdesk:

#REDIRECT [[Helpdesk]]

Categories

To add a category to a page, add the following wiki-text to the end of the page (for example the 'Projects' category):

[[Category:Projects]]

To link to a category page rather than assign a category, use a colon before the keyword, 'Category' as follows:

[[:Category:Projects]]

See the Wikipedia help on catagorization for more detailed information.

See the Special:Categories page for a list of all categories currently in use.


Embedding Videos

This wiki uses the EmbedVideo plugin. See that page for further instructions on how to embed videos.

Here's the syntax for the EmbedVideo plugin:

  • {{#ev:service|id}}
    -or-
  • {{#ev:service|id|width}}

An example using the "evolution of dance" video on Youtube (first normal sized, then scaled down):

  • {{#ev:youtube|dMH0bHeiRNg}}
  • {{#ev:youtube|dMH0bHeiRNg|100}}

See the Project Homepage for more examples.

Powered by MediaWiki