MediaWiki:Uploadtext: Difference between revisions
mNo edit summary |
|||
| Line 8: | Line 8: | ||
To include a file in a page, use a link in one of the following forms: | To include a file in a page, use a link in one of the following forms: | ||
*<nowiki>[[</nowiki> | *<nowiki>[[</nowiki> '''<code>{{ns:file}}</code>''' <nowiki>:File.jpg]]</nowiki> to use the full version of the file | ||
'''<code>{{ns:file}}</code>''' <nowiki>:File.jpg]]</nowiki> | *<nowiki>[[</nowiki> '''<code>{{ns:file}}</code>''' <nowiki>:File.png|200px|thumb|left|alt text]]</nowiki> to use a 200 pixel wide rendition in a box in the left margin with "alt text" as description | ||
to use the full version of the file | *<nowiki>[[</nowiki> '''<code>{{ns:media}}</code>''' <nowiki>:File.ogg]]</nowiki> for directly linking to the file without displaying the file | ||
*<nowiki>[[</nowiki> | |||
'''<code>{{ns:file}}</code>''' <nowiki>:File.png|200px|thumb|left|alt text]]</nowiki> | |||
to use a 200 pixel wide rendition in a box in the left margin with "alt text" as description | |||
*<nowiki>[[</nowiki> | |||
'''<code>{{ns:media}}</code>''' <nowiki>:File.ogg]]</nowiki> | |||
for directly linking to the file without displaying the file | |||