VassarWiki:Files: Difference between revisions

created page
 
including file example
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:


== Including files on pages ==
== Including files on pages ==
[[File:Wompwomp.png|200px|thumb|right|You can include images and other media on pages, like this!]]
To include a file on a page using the Visual Editor, click "Insert" on the toolbar, then "Images and media".  
To include a file on a page using the Visual Editor, click "Insert" on the toolbar, then "Images and media".  


To include a file on a page using the Source Editor, write a link in one of the following forms:
To include a file on a page using the Source Editor, write a link in one of the following forms:


* '''<code><nowiki>[[</nowiki>{{ns:file}}:File.jpg]]</code>''' to use the full version of the file
* '''<code><nowiki>[[</nowiki>{{ns:file}}:Wompwomp.png]]</code>''' to use the full version of the file
* '''<code><nowiki>[[</nowiki>{{ns:file}}:File.png|200px|thumb|left|Caption]]</code>''' to use a 200-pixel-wide rendition in a box in the left margin with the text "Caption" below
* '''<code><nowiki>[[</nowiki>{{ns:file}}:Wompwomp.png|200px|thumb|left|Caption]]</code>''' to use a 200-pixel-wide rendition in a box in the left margin with the text "Caption" below
* '''<code><nowiki>[[</nowiki>{{ns:media}}:File.ogg]]</code>''' for directly linking to the file without displaying the files
* '''<code><nowiki>[[</nowiki>{{ns:media}}:Wompwomp.png]]</code>''' for directly linking to the file without displaying the files
 
Files should generally use the "thumb" format when included on pages.


== See also ==
== See also ==
Line 18: Line 21:
* [[Special:Log/upload]], for a log of file uploads and reuploads  
* [[Special:Log/upload]], for a log of file uploads and reuploads  
* [[Special:Log/delete]], for a log of file deletions
* [[Special:Log/delete]], for a log of file deletions
[[Category:Page types]]