48,198
edits
Changes
no edit summary
__INDEX__
'''This website can be edited within Madagascar only. If you would like editing permission from elsewhere, you need an invitation from an administrator of the site.'''
== 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:
<nowiki>'''</nowiki>'''bold text'''<nowiki>'''</nowiki>
For ''italictext'', enclose the text with two single quotes:
<nowiki>''</nowiki>''italic text''<nowiki>''</nowiki>
To link a text to another page within the wiki, enclose the word in double square double brackets:
<nowiki>[[</nowiki>[[Anakao]]<nowiki>]]</nowiki>
The link will thereafter point to [[Anakao|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:
<nowiki>[http://www.examplepinterest.com exampe/madacamp MadaCamp Pinterest board]</nowiki>
This will result in [httpappear as://www.example.com exampe]
<nowiki>http://pinterest... will result in the link appearing as follows:com/madacamp</nowiki>
http://pinterest.com/madacamp To make a listing, simply prefix the list items with asterixes: ...
<pre><nowiki>
* item 3
Nested lists can be made are done as follows: ...
<pre><nowiki>
</nowiki></pre>
... which will appear as follows:
* item 1
etc.
<!--
Some HTML tags are permitted in wikitext. The vast of fancy formatting seen on wiki sites is acheived using these limited tags (e.g. tables with CSS styles). See [http://en.wikipedia.org/wiki/Help:HTML_in_wikitext HTML tags in wikitext]
-->
== Image links ==
To link to a page from an image instead of an image leading to larger version of the file shown on a page, add the link parameter to the image markup, eg.:
[[Image:Big_fish.jpg|200px|link=Big_fish]]
[[Image:Madagascar_Coffee_001.jpg|200px|link=Madagascar_Coffee]]
<pre>[[Image:Big_fish.jpg|200px|link=Big_fish]]
[[Image:Madagascar_Coffee_001.jpg|200px|link=Madagascar_Coffee]]
</pre>
The link will then appear as [[media:Big_fish.jpg|how to wear a fish]]
== Display Displaying an email address ==
The following code:
[mailto:hello@madacamp.com hello@madacamp.com]
== Skype button Maps ==
<!pre><nowiki><div style="max-width:600px;">{{#display_map:-15.214232, 50.076107~[[File:Skype_configuration.jpgHotel Fitiavana]]--~~;|type=satellite|service=google|width=auto|height=400|zoom=18|controls=pan, zoom, type, scale|copycoords=yes}}</div></nowiki></pre>
style="width:100%;max-width:600px;" style= '''Google Maps''' =="width:100%;max-width:600px;"
<!--''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 allows importing summaries and corresponding links to news articles. For example, do a Google news search at [httphttps://news.google.com http://news.google.comsearch] for any given keyword or phrasecan be imported. Thereafter scroll HOwever, Google does not include RSS feed URLs directly on their search result pages but it's not complicated to piece together the relevant feed URLs. For example, a search for the bottom phrase "madagascar lemurs" can be included on a page as follows: <pre><rss template="Google-feed" filterout="movie penguins">https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=%22madagascar+lemurs%22&cf=all&output=rss</rss></pre> The output of this news search for the phrase ''madagascar lemurs'', filtering out results with the page terms ''penguins'' and find the ''movie'', becomes: <rss template="Google-feed" filterout="movie penguins deprecated">https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=%22madagascar+lemurs%22&cf=all&output=rss</rss> Other non-Google RSS symbol feeds may include a feed icon [[File:RSS_icon.png|14px]]to indicate the whereabouts of RSS feeds. Follow For additional usage and customisation of the output, see: http://www.mediawiki.org/wiki/Extension:RSS == Uploading images == To add your own images, first [[Special:Userlogin| sign up]] and thereafter click on the [[Special:Upload|Upload file]] link in the toolbox on the left, which allows uploading a single image at the time. Note that the link does not appear to site visitors who are not logged in. You can repeat the procedure for more than one image or chose to upload multiple images via the URL of [[Special:MultipleUpload|Upload multiple files]] function which allows uploading up to five images at the raw RSS feedtime. == Image size == A recommended image size for this site is minumim 1500 pixels height or width.
A free graphics application to scale images down is [http://www.gimp.org The Gimp]. <!--Alternatively, try the Pixlr online photo editor at http://pixlr.com/editor/--> Or to avoid using a graphic application altogether, just upload your images in their original sizes and dimensions as they come from the camera. <!--== Images Uploading more images via FTP == To batch upload even images, first transfer the the images via FTP to for example /tmp/import Log in by shell, su root and set the environment variable to: SERVER_NAME=www.madacamp.com<br>export SERVER_NAME Within ~/wiki/maintenance/ run: php importImages.php /tmp/import_images --user=CampMaster --comment="MadaCamp photos" For more help, type php importImages.php --help--> == Displaying images ==
[[Image:Nahampoana_Main_Building.jpg|left|70px|]] Align an image to the left of the text...
For further info on image display, visit http://en.wikipedia.org/wiki/Image_markup
== Image galleries gallery == To display a collection of images without captions in a standard size that wlll work well in conjuction with a Google map display on the same page and in the the size of 600 pixels width, copy the following wiki-markup and replace the image names with the images to be dislayed. This example will display one large image on top, spanning three colums with two rows of images below it:
<pre><nowiki>{| class="imageTable"|-|colspan="3" | [[File:Photo 001.jpg|600px]]|-|[[File:Photo 002.jpg|196px]]|align="center"|[[File:Photo 003.jpg|196px]]|align="right"|[[File:Photo 004.jpg|196px]]|-|[[File:Photo 005.jpg|196px]]|align="center"|[[File:Photo 006.jpg|196px]]|align="right"|[[File:Photo 007.jpg|196px]]|}</nowiki></pre> Just add or remove rows as required. Example, as on the [[Tulear]] page: {| class="imageTable"|-|colspan="3" | [[File:Tulear 016.jpg|600px]]|-|[[File:Tulear 010.jpg|196px]]|align="center"|[[File:Tulear 005.jpg|196px]]|align="right"|[[File:Tulear 006.jpg|196px]]|-|[[File:Tulear 012.jpg|196px]]|align="center"|[[File:Tulear 008.jpg|196px]]|align="right"|[[File:Tulear 018.jpg|196px]]|} == Thumbnail gallery == Using <nowiki><gallery> ... </gallery></nowiki> tags to display a thumbnail gallery with images which link to the larger versions of the uploaded images. This is useful for creating quick and easy thumbnail galleries with many images.
Images can also be individually captioned and wiki-markup can be used within captions.
<gallery>
</gallery>
The code example of the above gallery is shown below:
<pre><nowiki>
<gallery>
</gallery>
</nowiki></pre>
<nowiki><gallery></nowiki> parameters:
caption="Caption above gallery"
widths=''n'' - image widths in pixels
heights=''n'' - image heights in pixels
perrow=''n'' - number of images per row
mode=''n'' - can be used with the following paramenters:
* traditional - the default gallery display
* nolines - like traditional but without border lines.
* packed - all images will have the same height but different widths, with minimal space between images. The rows will organise themselves according to the screen width.
* packed-overlay - shows captions on the image in a semi-transparent white overlay.
* packed-hover - similar to packed-overlay but with the caption and box showing on hover.
== Wide images ==
<pre><nowiki>{{wide image|Bezavona_pano2.jpg|1800px|Fort Dauphin panorama|250px|right}}</nowiki></pre>
== Random image display ==
'''A random image can be displayed along with various optional parameters, such as size, left or right aligned and a pre-defined array of named images to limit the selection from.'''
<randomimage float="left" />
This code can be used to display a random image from the complete repository of images on the site:<br>
<span style="background:#f6f6f6;"><nowiki><randomimage float="left" /></nowiki></span><br>
An caption will automatically be pulled from the image descripion page if one exists or if added when the image was originally uploaded on the site.
<br clear="all">
<randomimage float="left">Random image</randomimage>
This example code can be used to display a random image with a pre-defined caption, eg. 'A random image', for all images:<br>
<span style="background:#f6f6f6;"><nowiki><randomimage float="left">A random image</randomimage></nowiki></span>
<br clear="all">
The <nowiki><randomimage></nowiki> tag supports the following attributes:
* size - set the image width (default is the user's thumbnail width).
* float - float the image; valid values are 'left', 'center' and 'right'.
* choices - limits the image selection to a list of images separated by a vertical bar. For example:
<randomimage size="150" float="left" choices="Chocolaterie_Robert_024.jpg|Chocolaterie_Colbert_01.jpg|Cinagra_066.jpg" />
This example is a 150 pixels width image, aligned to the left and with a pre-defined array of named images to choose from:<br>
<span style="background:#f6f6f6;"><nowiki><randomimage size="150" float="left" choices="Chocolaterie_Robert_024.jpg|Chocolaterie_Colbert_01.jpg|Cinagra_066.jpg" /></nowiki></span>
<br clear="all">
== Table of Contents ==
-->
== Displaying YouTube videos == To display a video from YouTube on this site, extract and copy the relevant video ID that is part of a YouTube URL, e.g.[https://www.youtube.com/watch?v=_OKs7qpJvRI&feature=related https://www.youtube.com/watch?v=<font color="#bd0000">vDYzsT3d06I</font>&feature=related] and Google videos place in the edit form as follows: <nowiki><HTML5video type="youtube" width="600" height="338">vDYzsT3d06I</HTML5video></nowiki> <HTML5video type="youtube" width="600" height="338">vDYzsT3d06I</HTML5video>
<pre><nowiki><HTML5video type="youtube" width="600" height="338">_OKs7qpJvRI</youtube></nowiki>caODxMEUq1w</preHTML5video>
To add upload a Google video on a page retrieve the ID by clicking MadaCamp, firstly make the '''Embed video''' link next to the available in three formats: .mp4, .ogg and .webm. This can easily be done via an online video screen or extract the ID from the URL if one is part of it. For example: conversion tool such as [httphttps://videocloudconvert.googlecom cloudconvert.com/videoplay?docid=7281432690466273651&hl=en http://video]. Thereafter save the three versions on your system before uploading them with identical fileames but with the different file extensions, e.googleg.com/videoplay?docid=<font color="#ff0000">7281432690466273651</font>&hl=en]:
<nowiki><HTML5video width="520" height="320" autoplay="true" loop="true">Dragonfly</HTML5video></nowiki>
<HTML5video width="520" height="320" autoplay="true" loop="true">Dragonfly</HTML5video> <!--Bug: Thumbs does not show up on Ipad, which affects autoplay="false" mode. https://www.mediawiki.org/w/index.php?oldid=2285855 --> <!--== Editing and publishing videos == While Google and YouTube offers automatic video conversion to Flash format a quick and an easy way to add existing videos from those publish a video portalsis by uploading it into a YouTube account and thereafter including it on a page, 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 can also be uploaded directly on Madacamp.com without the resulting advertising. However, if a video has been taken with a digital camera, MadaCamp after having converted it's most likely not in Flash into FLV format to begin with but in . Your original may be an Mpeg, AVI , Quicktime or Quicktime some other format. To publish such video on a Madacamp page it is necessary to convert it to The conversion into FLV (Flash) format. This can then be done using a free video editor such as [http://en.wikipedia.org/wiki/Avidemux 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''.which is available for free download on all operating systems:
[[File:Avidemux.jpg|600px]]
Within Avidemux, open the video file, select FLV format via the ''Video'', ''Audio'' and ''Format'' selectors. Optionally add filters. Give the file an '''.flv''' extension and ''Save Video''. Thereafter upload the newly created FLV file onto this site and simply add it onto on a page like the following example, as follows:
<nowiki>[[File:Video.flv]]</nowiki>
The size and aspect ratio can be tweaked like a normal on-page image, by defining the pixel display values , as follows:
<nowiki>[[File:Video.flv|300x375px]]</nowiki>
Alternatively, [http://ffmpeg.org FFmpeg] is an excellent and free video editing tool, but requires editing by the command lineediting, which is mainly done mainly on Linux or Mac and OSX systems.
For Windows users, a simple FLV conversion tool is [http://www.miksoft.net/mobileMediaConverter.htm Mobile Media Converter]. While Mobile Media Converter lack various advanced editing features that exists in Avidemux, if all you need is to convert a video into FLV format without special editing, Mobile Media Converter is a perfectly good tool for the purpose. Various pre-configured size, bandwidth and quality level options are available in the conversion process. <table cellpadding="0" cellpadding="0" border="0" style="border:1px solid #cccccc; float:left; margin-right:10px; width:328px;"><tr>
<td style="padding:3px 3px 3px 3px;">
[[File:Chocolaterie_Robert_320x240_low.flv|320x240px]]
</td></tr></table>
== Article comments ==
The comments are added to the discussion section of each page.
-->
== Further manuals ==