All The Tropes:Uploading and Adding an Image to a Page: Difference between revisions

Line 121:
It's possible to link the image directly to another page, so that clicking on it takes you there. To do so, add "|link=Page Name" to the image markup -- that's a vertical bar, the word "link", an equals sign, and the name of the page. Like so:
 
{{quote|<nowiki>[[File:Name of Your Uploaded File.jpg|thumb|500px400px|link=Page Name]]</nowiki>}}
 
This is good practice, though not required, if you know the work the image comes from and that work has a page here - or, if it's a photo of a real person, you know who the person is and we have a creator or Useful Notes page for that person. (Although it's pretty obviously unnecessary if the image is ''on'' the work's or creator's page.)
Line 127:
=== Captions ===
 
Finally, ifIf you want to add a caption to the image, that's simply done by adding yet another vertical bar followed by the text of the caption before the two closing square brackets. You can mark up the caption pretty much any way you want, including links to other pages, using the usual Wiki syntax. You can even add HTML line break tags (&lt;br/>) if you really need to.
 
=== Close the file markup ===
 
If you haven't already added two right square brackets to the end of the line, do that now.
 
Markup for an image with every last feature we've talked about here would look like this:
 
{{quote|<nowiki>[[File:Name of Your Uploaded File.jpg|thumb|500px400px|link=Page Name|This is a ''caption'' -- with a link to [[Another Page]] in it.]]</nowiki>}}
 
Of course you don't have to use all of these, in case we haven't made it clear, but it's better to know how, right?