Help:Linking to files
From PCSAR
(→Most common way to link) |
(→Most common way to link) |
||
(3 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
== Find the file on the wiki == | == Find the file on the wiki == | ||
- | Files that [[ | + | Files that [[Special:imagelist|already are on the wiki]] can be made available or used on various pages. |
You do not need to upload them again in order to link to them. | You do not need to upload them again in order to link to them. | ||
Instead you can use the file that has been already uploaded. | Instead you can use the file that has been already uploaded. | ||
Line 16: | Line 16: | ||
# Edit the page | # Edit the page | ||
# Add the text: <code><nowiki>{{link|</nowiki></code> | # Add the text: <code><nowiki>{{link|</nowiki></code> | ||
- | # Paste in the title of the description page. Something like <code>Image:Demo Sunflower.png</code> | + | # Paste in the title of the description page. Something like: <code>Image:Demo Sunflower.png</code> |
# Finish of with: <code>}}</code> | # Finish of with: <code>}}</code> | ||
# You should end up with something like: <code><nowiki>{{link|Image:Demo Sunflower.png}}</nowiki></code> | # You should end up with something like: <code><nowiki>{{link|Image:Demo Sunflower.png}}</nowiki></code> | ||
Line 26: | Line 26: | ||
to the start of your line so that it becomes a bulleted line by itself. | to the start of your line so that it becomes a bulleted line by itself. | ||
- | See [[template:link]] for | + | See [[template:link]] for options, including changing the text of the link. |
== Deeper understanding == | == Deeper understanding == |
Current revision
Contents |
[edit] Find the file on the wiki
Files that already are on the wiki can be made available or used on various pages. You do not need to upload them again in order to link to them. Instead you can use the file that has been already uploaded.
If your file is not on the wiki, you'll need to upload it. See: Help:Managing files.
[edit] Most common way to link
The most common way to link to files on the wiki uses the template:link.
- Go to the description page of the already uploaded file.
- Copy the title of the description page. It will be something like:
Image:Demo Sunflower.png
- Find the wiki page where you wish to place a link to this file
- Edit the page
- Add the text:
{{link|
- Paste in the title of the description page. Something like:
Image:Demo Sunflower.png
- Finish of with:
}}
- You should end up with something like:
{{link|Image:Demo Sunflower.png}}
- Save your changes.
- You should see the link to your page.
As with any wiki page you can further format your text. For instance by adding a *
to the start of your line so that it becomes a bulleted line by itself.
See template:link for options, including changing the text of the link.
[edit] Deeper understanding
Please read Mediawiki's "Linking to files" description which talks about how to link generally on any mediawiki site (including this one).
See also Help:Managing files.
[edit] Tools that help
PCSAR's wiki has a couple of additional ways of linking:
- The template:link simplifies links to file description pages.
- The Template:Document format links creates links to related files in different formats and download options.