MediaWiki:Uploadtext: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
uploads and deletions are also logged in the [[Special:Log|project log]].
uploads and deletions are also logged in the [[Special:Log|project log]].


To include the image in a page, use a link in the form
To include a file in a page, use a link in one of the following forms:
'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''',
* '''<tt><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.jpg]]</nowiki></tt>''' to use the full version of the file
'''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
* '''<tt><nowiki>[[</nowiki>{{ns:file}}<nowiki>:File.png|200px|thumb|left|alt text]]</nowiki></tt>''' to use a 200 pixel wide rendition in a box in the left margin with 'alt text' as description
'''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for directly linking to the file.
* '''<tt><nowiki>[[</nowiki>{{ns:media}}<nowiki>:File.ogg]]</nowiki></tt>''' for directly linking to the file without displaying the file


Photos may be uploaded under either of two conditions:
Photos may be uploaded under either of two conditions: