Help:Linking to files
From PCSAR
(→Find the file on the wiki) |
(→Most common way to link) |
||
Line 8: | Line 8: | ||
== Most common way to link == | == 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: <code>Image:Demo Sunflower.png</code> | ||
+ | # Find the wiki page where you wish to place a link to this file | ||
+ | # Edit the page | ||
+ | # Add the text: <code>{{link|</code> | ||
+ | # Paste in the title of the description page. Something like <code>Image:Demo Sunflower.png</code> | ||
+ | # Finish of with: <code>}}</code> | ||
+ | # You should end up with something like: <code>{{link|Image:Demo Sunflower.png}}</code> | ||
+ | # 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 <code>*</code> | ||
+ | to the start of your line so that it becomes a bulleted line by itself. | ||
+ | |||
+ | See [[template:link]] for further options, including changing the text of the link. | ||
== Deeper understanding == | == Deeper understanding == |
Revision as of 17:08, 11 August 2017
Contents |
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.
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:
[[:
- Paste in the title of the description page. Something like
Image:Demo Sunflower.png
- Finish of with:
|
- Paste in the title of the description page. Something like
Image:Demo Sunflower.png
- Finish of with:
]]
- You should end up with something like:
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 further options, including changing the text of the link.
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.
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.