Help:Editing

From MadaCamp
Revision as of 21:33, 28 March 2010 by 91.13.101.30 (talk) (RSS feeds)

Jump to: navigation, search


Text editing

The most basic text editing features, such as boldface, italics and links can be formatted with help of the buttons above the edit box. Alternatively, the syntax is simple. For bold text, enclose the word(s) within three single quotes:

'''bold text'''

For italic, enclose the text with two single quotes:

''italic text''

To link a text to another page within the wiki, enclose the word in square double brackets:

[[Anakao]]

The link will thereafter point to http://www.madacamp.com/Anakao

To link to a page on another website, enclose the link location within single square brackets and the linked word(s) after the URL:

[http://www.example.com exampe]

This will result in exampe

Alternatively, typing out the full URL without the brackets: ...

http://www.example.com

... will result in the link appearing as follows:

http://www.example.com

To make a listing, simply prefix the list items with asterixes: ...

* item 1 
* item 2
* item 3

... which will appear as follows:

  • item 1
  • item 2
  • item 3

Nested lists can be made as follows: ...

* item 1 
* item 2
** item 2.2
*** item 2.3
* item 3

... which will appear as follows:

  • item 1
  • item 2
    • item 2.2
      • item 2.3
  • item 3

etc.


Some HTML tags are permitted in wikitext. The vast majority of fancy formatting seen on wiki sites is acheived using these limited tags (e.g. tables with CSS styles). See HTML tags in wikitext

Image links

To make an image link to a page instead of leading to the larger version of the same image which is clicked on, add the link parameter to the image markup, eg.:

Big fish.jpg

[[Image:Big_fish.jpg|100px|link=Big_fish]]


Display email address

The following code:

[mailto:hello@madacamp.com hello@madacamp.com]

... will display as:

hello@madacamp.com

Skype button

To display a Skype that will launch Skype and call or start a chat to a specified Skype address as well as indicate its online or offline status, first configure your Skype account to allow its status be shown online. This is done within the Skype application itself in Tools->Options->Privacy. Tick the checkbox Allow my status to be shown on the web:

File:Skype configuration.jpg

For further information, see http://www.skype.com/intl/en/share/buttons/status.html

The following example will create a button for which a call can be made when clicked on:

<skype style="bigclassic" action="call">YourSkypeName</skype>

<skype style="bigclassic" action="call">madacamp</skype>

The available styles are: balloon, bigclassic, smallclassic, smallicon, mediumicon

The available actions are: add, chat or call

Google Maps

To create new or edit existing Google maps on pages, click on the map button button_map_open.gif above the edit box.

Find the region to display, set the various size and display options and thereafter copy the resulting <googlemap>...<googlemap> code into the edit box and save the page.

Various display options include satellite view, map view, adding of place markers, drawing lines etc.

Additional information:

Adding RSS news feeds to pages

RSS means Really Simple Syndication. It's a standard code format for feeding various news reader applications (including web browsers) with news summaries and corresponding links to articles. For example, do a Google news search at http://news.google.com for any given keyword or phrase. Thereafter scroll to the bottom of the page and find the RSS symbol RSS icon.png. Follow the link to the URL of the raw RSS feed.

The web browser may automatically display the news items of the raw RSS feed in a tidy HTML format as well as offer to add the newsfeed to a browser's Live Bookmarks and various social bookmarking applications, such as Google Reader, My Yahoo, Bloglines etc. Alternatively, the browser may display the raw RSS feed in XML source code. Either way, copy the location of the page (URL) and place it within the <rss>...</rss> tags, like the following example:

<rss>http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=%22madagascar+lemurs%22&cf=all&output=rss|short|date|max=20</rss>

The output of this, which is a news search for the phrase madagascar lemurs, becomes:

Can Firebreaks Help Save Madagascar's Lemurs? - Forbes
Can Firebreaks Help Save Madagascar's Lemurs?  Forbes
23-Jul-2023 07:00
Madagascar group aims to protect wildlife from stray cats & dogs - Mongabay.com
Madagascar group aims to protect wildlife from stray cats & dogs  Mongabay.com
21-Nov-2023 08:00
Beyond the myths: Anthropologist Alison Richard on Madagascar's environmental realities and future - Mongabay.com
Beyond the myths: Anthropologist Alison Richard on Madagascar's environmental realities and future  Mongabay.com
03-Jan-2024 08:00
In Madagascar, Endangered Lemurs Find a Private Refuge (Published 2020) - The New York Times
In Madagascar, Endangered Lemurs Find a Private Refuge (Published 2020)  The New York Times
27-Oct-2020 07:00
Almost a third of lemurs and North Atlantic Right Whale now Critically Endangered - IUCN Red List | IUCN - IUCN
Almost a third of lemurs and North Atlantic Right Whale now Critically Endangered - IUCN Red List | IUCN  IUCN
09-Jul-2020 07:00
Cacao plantations: Home sweet home for Madagascar's lemurs? - Conservation International
Cacao plantations: Home sweet home for Madagascar's lemurs?  Conservation International
21-Dec-2017 08:00
Lemurs in Madagascar face a grim future because of humans - The Washington Post - The Washington Post
Lemurs in Madagascar face a grim future because of humans - The Washington Post  The Washington Post
04-Jan-2020 08:00
How illegal mining is threatening Madagascar's endangered lemurs - National Geographic
How illegal mining is threatening Madagascar's endangered lemurs  National Geographic
06-Mar-2019 08:00
How lessons from past extinctions can help save Madagascar's lemurs - The Conversation Indonesia
How lessons from past extinctions can help save Madagascar's lemurs  The Conversation Indonesia
23-May-2016 07:00
Madagascar lemurs find refuge in private sanctuary - Phys.org
Madagascar lemurs find refuge in private sanctuary  Phys.org
20-Oct-2016 07:00
Saving Endangered Lemurs and Their Habitats in Madagascar - SBU News - Stony Brook News
Saving Endangered Lemurs and Their Habitats in Madagascar - SBU News  Stony Brook News
05-Dec-2018 08:00
Endangered Madagascar lemurs illegally kept as pets may threaten species conservation and survival - EurekAlert
Endangered Madagascar lemurs illegally kept as pets may threaten species conservation and survival  EurekAlert
05-Jan-2015 08:00
Madagascar's lemurs close to extinction after population crash - New Scientist
Madagascar's lemurs close to extinction after population crash  New Scientist
28-Nov-2017 08:00
Almost All of Madagascar's Lemurs Are Threatened by Hunting, Habitat Loss and Climate Change, Conservationists ... - Newsweek
Almost All of Madagascar's Lemurs Are Threatened by Hunting, Habitat Loss and Climate Change, Conservationists ...  Newsweek
01-Aug-2018 07:00
Madagascar’s endangered lemurs: ‘We’ve not much time left’ - CNN
Madagascar’s endangered lemurs: ‘We’ve not much time left’  CNN
23-Jan-2018 13:52
Conservation genomic analysis reveals ancient introgression and declining levels of genetic diversity in Madagascar's ... - Nature.com
Conservation genomic analysis reveals ancient introgression and declining levels of genetic diversity in Madagascar's ...  Nature.com
21-Aug-2019 07:00
Madagascar's endangered lemurs are being killed during pandemic lockdowns - National Geographic
Madagascar's endangered lemurs are being killed during pandemic lockdowns  National Geographic
14-Dec-2020 08:00
Endangered and endemic: Madagascar's lemurs susceptible to coronavirus infection - Mongabay.com
Endangered and endemic: Madagascar's lemurs susceptible to coronavirus infection  Mongabay.com
31-Jul-2020 07:00
Madagascar's 'swamp lemurs' have been documented for the first time - The Conversation Indonesia
Madagascar's 'swamp lemurs' have been documented for the first time  The Conversation Indonesia
10-Jun-2016 07:00
Fossil lemurs from Egypt and Kenya suggest an African origin for Madagascar’s aye-aye - Nature.com
Fossil lemurs from Egypt and Kenya suggest an African origin for Madagascar’s aye-aye  Nature.com
21-Aug-2018 07:00
Wild Madagascar: Photos Reveal Island's Amazing Lemurs - Livescience.com
Wild Madagascar: Photos Reveal Island's Amazing Lemurs  Livescience.com
13-Jul-2012 07:00
91% of Madagascar's lemurs threatened with extinction - Mongabay.com
91% of Madagascar's lemurs threatened with extinction  Mongabay.com
13-Jul-2012 07:00
Madagascar's lemurs use millipedes for their tummy troubles - EurekAlert
Madagascar's lemurs use millipedes for their tummy troubles  EurekAlert
30-Jul-2018 07:00
Models Predict Where Lemurs Will Go as Climate Warms | Duke Today - Duke Today
Models Predict Where Lemurs Will Go as Climate Warms | Duke Today  Duke Today
18-Feb-2015 08:00
Madagascar Island of Lemurs: Rise of Pop Culture Lemurs - TIME
Madagascar Island of Lemurs: Rise of Pop Culture Lemurs  TIME
04-Apr-2014 07:00
The Lure of Lemurs - VirginiaLiving.com - Virginia Living
The Lure of Lemurs - VirginiaLiving.com  Virginia Living
14-Feb-2020 08:00
Madagascar's Lemurs Eat Foods That Make No Sense—Why? - Newsweek
Madagascar's Lemurs Eat Foods That Make No Sense—Why?  Newsweek
01-Nov-2017 07:00
Chocolatier Protecting Madagascar's Lemurs Eyes Carbon Credits - Bloomberg
Chocolatier Protecting Madagascar's Lemurs Eyes Carbon Credits  Bloomberg
25-Sep-2021 07:00
Madagascar's Lemurs Are Near Extinction, Scientists Say - Fortune
Madagascar's Lemurs Are Near Extinction, Scientists Say  Fortune
02-Aug-2018 07:00
Lemur guide: how many species there are, where they're found, and why so many are endangered - BBC Discover Wildlife
Lemur guide: how many species there are, where they're found, and why so many are endangered  BBC Discover Wildlife
27-Oct-2020 07:00
Clock ticks for Madagascar's lemurs - Phys.org
Clock ticks for Madagascar's lemurs  Phys.org
20-Oct-2013 07:00
Saving Madagascar's lemurs - The Ecologist
Saving Madagascar's lemurs  The Ecologist
25-Mar-2014 07:00


Note: Not only Google News offer RSS feeds but many major as well as niche portals do. Wherever you see the familiar RSS button, it should be for a compatible news feed that can be displayed on any page as described above. For additional usage and customisation of the output of news items on a page, see: http://www.mediawiki.org/wiki/Extension:RSS#Usage

Images

Nahampoana Main Building.jpg
Align an image to the left of the text...


[[Image:Nahampoana_Main_Building.jpg|left|70px|]]  Align an image to the left of the text...

<br clear="all">

For further info on image display, visit http://en.wikipedia.org/wiki/Image_markup

Image galleries

Using <gallery> ... </gallery> tags to display a thumbnail gallery with images which link to the larger versions of the uploaded images.

Images can also be individually captioned and wiki-markup can be used within captions.


The code example of the above gallery is shown below:

<gallery>
Image:Ilakaka 001.jpg
Image:Ilakaka 002.jpg
Image:Ilakaka 003.jpg
Image:Ilakaka 004.jpg|[[Help:Contents/Links|Links]] can be put in captions.
Image:Ilakaka 005.jpg
Image:Ilakaka 006.jpg|Full [[MediaWiki]]<br />[[syntax]] may now be used...
</gallery>

Wide images

To display an image that is generally wider than most screens in a sideways scrollable box, typically a panorama, the syntax is:

{{Wide image|name|image width|caption|box width|alignment}}

Examples:

The below example is done by the following code:

{{wide image|Bezavona_pano2.jpg|1800px|Fort Dauphin panorama}}
Fort Dauphin panorama
Fort Dauphin panorama

To display the same image but without a caption, simply omit the caption:

{{wide image|Bezavona_pano2.jpg|1800px}}

To right-align the image while taking up 45% of the paragraph width:

{{wide image|Bezavona_pano2.jpg|1800px|Fort Dauphin panorama|45%|right}}

Or define a fixed width for the scrollbox, eg. 250 pixels:

{{wide image|Bezavona_pano2.jpg|1800px|Fort Dauphin panorama|250px|right}}

Table of Contents

The table of contents (TOC) is automatically shown at the top of a page if there are four or more headings in an article. To hide this on a page, add the string __NOTOC__ anywhere in the page markup.


YouTube and Google videos

To embed a video from YouTube onto this wiki, simply copy the video ID from a YouTube URL, e.g. http://www.youtube.com/watch?v=FChpJY59iD8&feature=related and paste the relevant bit into the edit form as follows:

<youtube>_OKs7qpJvRI</youtube>

<youtube>_OKs7qpJvRI</youtube>

To add a Google video on a page retrieve the ID by clicking the Embed video link next to the video screen or extract the ID from the URL if one is part of it. For example: http://video.google.com/videoplay?docid=7281432690466273651&hl=en

Then simply place the ID in the following googlevideo tag:

<googlevideo>7281432690466273651</googlevideo>

<googlevideo>7281432690466273651</googlevideo>


Editing and adding Flash videos

While Google and YouTube offers automatic video conversion to Flash format and an easy way to add existing videos from those video portals, they sometimes include links or advertising to irrelevant content at the end of the videos. To avoid this, it's possible to upload Flash videos directly on Madacamp.com without the resulting advertising. However, if a video has been taken with a digital camera, it's most likely not in Flash format to begin with. Intead, it may be in Mpeg, AVI or Quicktime format. To publish such video on a Madacamp page it is necessary to convert it to FLV (Flash) format first. This can be done using a free video editor such as Avidemux. Open the video file and select FLV formats via the Video, Audio and Format selectors. Optionally add filters. Give the new file an .flv extension and Save Video.

Avidemux.jpg

Thereafter upload the newly created FLV file and add it onto a page like the following example:

[[File:Video.flv]]

The size and aspect ratio can be tweaked like a normal on-page image, by defining the pixel values as follows:

[[File:Video.flv|300x375px]]

Alternatively, FFmpeg] is an excellent and free video editing tool, but requires editing by the command line, which may be preferred by Linux users.

Article comments

To add a blog style comments field below an article, such as this one: ...

<comments hideForm="false" />

... insert the following at the end of the article:

<comments hideForm="false" />

The comments are added to the discussion section of each page.

Further manuals