Help:Link

From Photopedia

Jump to: navigation, search
Main · What Photopedia is · Searching · Edit Article · Edit Conflict · New Article · Upload images · How Links work · Discussion
Do you have some question not explain in the help? Ask Us

Contents

[edit] Internal Photopedia Links

If you want to add a link you can use [[Link title]], where Link title is the page name of the article you want to link to.

Main Page

[[Main Page]]

If use the [[Link title|text link]] format you can use a different link name for the same target.

Photopedia main page

[[Main Page|Photopedia main page]]


  • Endings are blended into the link.

Main Pages

[[Main Page]]s


[edit] Link images

To link an image inside your article you can use the [[Image:Example.jpg]] tag


Image:photopedia.gif
Image

[[Image:photopedia.gif]]
Photopedia Logo
Image with an alternative tooltip text.

[[Image:photopedia.gif|Photopedia Logo]]
  • A tooltip is a text shown when a mouse hovers over the image or when the image is not loaded
Photopedia Logo
Photopedia Logo
Image floating to the right with a caption

[[Image:photopedia.gif|frame|Photopedia Logo]]
Photopedia Logo
Image floating to the right without a caption

[[Image:photopedia.gif|right|Photopedia Logo]]


[edit] Use headings as anchors' to link to

The anchor is a special link allowing you to link a specific portion of a page.


[edit] Setting anchors

  • section headers automatically become html anchors, which can be linked to.
  • "id" html attribute can be used to set an anchor. For example, <div id="what_to_link_to">text</div>.


[edit] Referencing anchors

To link a specific portion of a page you have to link the anchor setted in a page. This is possible using [[page#anchor_name|link text]], include the hash sign (#) and the header name or the id tag name as you have written it.

[edit] Redirect

A redirect is a page with no other content than something of the form

#REDIRECT link in internal link style

If you're creating a new redirect, start a new page, write #REDIRECT [[pagename]] (or #redirect[[pagename]]) at the top of the page, where pagename is the name of the target page.

Extra text after the #REDIRECT command and link, on the same line, can serve as explanatory text. It is only shown when viewing the redirect page itself.

Extra lines of text are automatically deleted on Save (not yet on Preview).

The page will not redirect if there is anything on the page before the redirect. Also, there must be no spaces between the # and the REDIRECT. Consider copying the #REDIRECT [[pagename]] text into the edit summary so that people know that you have created a redirect.


When creating new redirects, bear in mind that creating too many redirects can clutter up the search results page, which can hinder users. Also, don't spend too much time creating redirects - often it's more important to spend time improving the quality of the target page. A piped link is another way to make a link to a page with a name which does not occur in the first page.


[edit] External Links

If you want to link an external (non Photopedia) page or site, you can use the [http://www.example.com link title] format

PhotoResampling

[http://www.photoresampling.com PhotoResampling]


Main · What Photopedia is · Searching · Edit Article · Edit Conflict · New Article · Upload images · How Links work · Discussion
Personal tools