Help:Navigational image

From Wikinews, the free news source you can write!
Jump to navigation Jump to search
Noia 64 apps help index.png
This is a copy of m:Help:Navigational image using Wikinews-specific templates. Don't edit this page, except to replace the contents with the current version of that master page. To make changes applicable on all projects, edit the master page; to change Wikinews-specific content, edit the templates; to make demos work, copy templates to this project, and images to Wikimedia Commons. Please see the history of the master page for author details. Please note that all meta content is licensed under the GFDL. As a result this page is licensed under the GFDL.- Edit this template

In projects that allow embedding images in external link style (in which case you see three images in the lefthand side of the table below), the image can also be external, and the target can be any URL; there are the following possibilities:

What it looks like What you type
an external image linking to an external page, image, etc.:

http://www.google.com/images/logo.gif

[http://www.google.com http://www.google.com/images/logo.gif]

an external image linking to an internal page:
http://www.google.com/images/logo.gif (does not work)

[[Help:Redirect|http://www.google.com/images/logo.gif]]

an external image linking to an internal page with external link style, with :
http://www.google.com/images/logo.gif

[{{SERVER}}{{localurl:Help:Redirect}} http://www.google.com/images/logo.gif]

an internal image linking to an internal page with external link style:
http:../upload/b/bc/Wiki.png Again, there is no automatic link to the image page, use File:wiki.png. With this method, the same image can be used on another page linking as usual to the image page, or linking to a different target.

[{{SERVER}}{{localurl:Help:Redirect}} http:../upload/b/bc/Wiki.png]

[[:File:wiki.png]]

If you don't want the small icon indicating it is an external link to appear, because it looks messy and it is actually an internal link, you can surround the image link with code to supress it, and now you have the ultimate internal linking with images - hooray! Although this will be most useful to people running their own corporate or independent wikis

If you are looking at this on Meta, you will not see the effect here as it doesn't allow embedding of 'external' images...

<div class="plainlinks">[{{SERVER}}{{localurl:Help:Redirect}} http:../upload/b/bc/Wiki.png]</div>

Thumbnail[edit]

One application is linking a small version of an image to a large one. Example where both are external:

[http://pennine.demon.co.uk/photos/seakayak/xga/Lunga-P7-100-3086.jpg http://pennine.demon.co.uk/photos/seakayak/small/Lunga-P7-100-3086.jpg]

gives

http://pennine.demon.co.uk/photos/seakayak/small/Lunga-P7-100-3086.jpg

The alternate text is the name of the image, after the last slash in the URL. If you have control over the image, give it a meaningful name; you could even include a text like "click to enlarge" in the name.

Wikinews-specific content and links to other help pages[edit]

Help contents

Reading: Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview | New page | Images/files | Image description page | Special characters | Formula | Table | EasyTimeline | Template | Renaming (moving) a page | Automatic conversion of wikitext | Talk page | Testing || rlc | Meta | Wikibooks | Wikicommons | Wikipedia | Wikiquote | Wikisource | Wiktionary

Noia 64 apps help index.png
This is a copy of m:Help:Navigational image using Wikinews-specific templates. Don't edit this page, except to replace the contents with the current version of that master page. To make changes applicable on all projects, edit the master page; to change Wikinews-specific content, edit the templates; to make demos work, copy templates to this project, and images to Wikimedia Commons. Please see the history of the master page for author details. Please note that all meta content is licensed under the GFDL. As a result this page is licensed under the GFDL.- Edit this template