Middlebury

Difference between revisions of "Help:Editing"

m
 
(10 intermediate revisions by 2 users not shown)
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 9: Line 9:
  
 
==== Formatting  ====
 
==== Formatting  ====
 +
<blockquote>
 +
===== <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.
 +
*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 pound ('''#''') to create numbering. Two pounds (##) creates an indented numbering sequence.
+
:Indented by one&nbsp;:
#*A # and then a * (#*) creates a ''bulleted, indented subsection'' of a numbered list.
+
::Indented by two&nbsp;::'s
 
+
</blockquote> <blockquote>
Use a ''':''' to indent the beginning of a line:<br>  
+
===== <u>Color</u> =====
  
:Indented by one&nbsp;:
+
Change font colors:<br>
::Indented by two&nbsp;::'s
 
  
'''Change font colors:'''<br>  
+
*Use this code in Wikitext mode:
 +
<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.
  
*Use this code in wikitext mode:
+
*Shows up like <span style="color: red;">'''this. '''</span><br><br>
<pre>&nbsp; &lt;span style="color: red;"&gt;TEXT&lt;/span&gt;</pre>
+
</blockquote>
*Change color name to blue, purple, green, etc. as you wish. Replace TEXT with the words you want to highlight.
+
----
*Shows up like <span style="color: red;">'''this. '''</span>
 
  
 
==== Linking to top of page  ====
 
==== Linking to top of page  ====
  
 
*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>
*Replace "Back to top" with your own wording if you choose
+
*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]]
  
 
==== Linking internally to another element within same page<br>  ====
 
==== Linking internally to another element within same page<br>  ====
  
*Anchor: Decide on an anchor name. Then use this code for anchor (you want to link TO this section):<br>
+
*Anchor: Decide on an anchor name -- You want to link TO this section. Then use this code at your anchor point (in Wikitext mode):<br>
<pre>&lt;span id="anchorname"&gt;TEXT&lt;/span&gt;
+
<pre>&lt;span id="anchorname"&gt;YOURTEXT&lt;/span&gt;
  
</pre>  
+
</pre>
*Use this code for the words that you want to link FROM<br>
+
*Use this code for the location that you want to link FROM (to bounce back to the anchor point)<br>
<pre>[[#anchorname|TEXT]]</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>
 +
----
 +
 
 
==== Categories  ====
 
==== Categories  ====
  
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 />  
+
<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>
See the [http://en.wikipedia.org/wiki/Wikipedia:Categorization Wikipedia help on catagorization] for more detailed information.  
+
See the [http://en.wikipedia.org/wiki/Wikipedia:Categorization Wikipedia help on catagorization] for more detailed information.
 +
 
 +
See the [[Special:Categories]] page for a list of all categories currently in use.
  
See the [[Special:Categories]] page for a list of all categories currently in use.
+
----
  
 
==== 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 09: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