Syntax & snippets
(→Internal link from image) |
Gert Aertsen (Talk | contribs) (→Internal link from image) |
||
Line 5: | Line 5: | ||
code : | code : | ||
<pre style="background-color:yellow"> | <pre style="background-color:yellow"> | ||
− | [[Image:filename.jpg|470xpx|link= | + | [[Image:filename.jpg|470xpx|link=Special Pages]] |
</pre> | </pre> | ||
looks like : | looks like : | ||
− | [[Image:Gs02.png|470xpx|link= | + | [[Image:Gs02.png|470xpx|link=Special Pages]] |
====External link from image ==== | ====External link from image ==== |
Revision as of 09:38, 6 February 2019
Internal link from image
This code creates a link from an image to an external webpage. The image width in the example is set to 470 pixels
code :
[[Image:filename.jpg|470xpx|link=Special Pages]]
External link from image
This code creates a link from an image to an external webpage. The image width in the example is set to 470 pixels
code :
[[Image:filename.jpg|470xpx|link=http://website.com]]
Image without any link
This code creates an image without any link( a way to avoid linking to the image's information page). The image width in the example is set to 470 pixels
code :
[[Image:filename.jpg|470xpx|link=]]
looks like :
Image Gallery
This code creates a image gallery with small thumbnails which looks like so :
code :
<gallery> File:filename_1.jpg | Caption 1 File:filename_2.jpg | Caption 2 File:... </gallery>
looks like :
For more features about using images and the image gallery image_syntax
Video
This code embeds a video in the main page There are two "widgets" for embedding videos in the wiki, for more info about syntax--> Widget:YouTube and Widget:Vimeo.
code:
{{#widget:YouTube|id=hvDIu_l4RpI|height=261|width=464}} {{#widget:Vimeo|id=129285334|height=261|width=464}}
looks like: