Jump to content

Wikipedia:Tip of the day/December 8: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
added new clickable buttons
m rm cat "Wikipedia editing aids", cat:tip of the day is a subcat of Cat:Editing aids
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{center|{{big|'''How to add a picture or graphic to an article'''}}}}
{{center|{{big|'''How to add a picture or graphic to an article'''}}}}


To add an '''[[Wikipedia:Image use policy|image]]''' to a page, type <nowiki>[[File:image-file-name.jpg|caption]]</nowiki> where you want to insert the image. You can add various options separated with a [[vertical bar]]: "|", also known as a "pipe", after the image name. For example, <nowiki>[[File:image-file-name.jpg|thumb|180px|A caption]]</nowiki> will automatically generate a right-aligned [[thumbnail]] of the image with a width of 180 [[pixel]]s and the caption "A caption", and <nowiki>[[File:image-file-name.jpg|left]]</nowiki> will produce a left-aligned full size image version. Bonus tip: Adding a video or audio clip uses nearly the same procedures.
To add an '''[[Wikipedia:Image use policy|image]]''' to a page, type <nowiki>[[File:image-file-name.jpg|caption]]</nowiki> where you want to insert the image. You can add various options separated with a [[vertical bar]]: "|", also known as a "pipe", after the image name. For example, <nowiki>[[File:image-file-name.jpg|thumb|185px|A caption]]</nowiki> will automatically generate a right-aligned [[thumbnail]] of the image with a width of 185 [[pixel]]s and the caption "A caption", and <nowiki>[[File:image-file-name.jpg|left]]</nowiki> will produce a left-aligned full size image version. Bonus tip: Adding a video or audio clip uses nearly the same procedures.


{{totd nav|December 8}}
{{stack|float=left |1={{Clickable button 2|{{day-1|{{SUBPAGENAME}}|Wikipedia:Tip of the day/|}}|Prior tip}}{{snds}}{{Clickable button 2|{{day+1|{{SUBPAGENAME}}|Wikipedia:Tip of the day/|}}|Next tip}} }}
{{stack|float=right
{{stack|float=right
|1=Read more:
|1=Read more:
|2='''[[Wikipedia:Extended image syntax]]'''{{spaces|2}}}}{{clear}}
|2='''[[Wikipedia:Extended image syntax]]'''{{spaces|2}}
}}{{clear}}<noinclude>
[[Category:Wikipedia Tip of the day|Yearless-12-08]]

<includeonly>
[[Category:Wikipedia Tip of the day| Yearless-12-08]]
[[Category:Wikipedia editing aids]]
[[Category:Wikipedia image help]]
[[Category:Wikipedia image help]]
</noinclude>
</noinclude>

Latest revision as of 10:34, 20 December 2020

How to add a picture or graphic to an article

To add an image to a page, type [[File:image-file-name.jpg|caption]] where you want to insert the image. You can add various options separated with a vertical bar: "|", also known as a "pipe", after the image name. For example, [[File:image-file-name.jpg|thumb|185px|A caption]] will automatically generate a right-aligned thumbnail of the image with a width of 185 pixels and the caption "A caption", and [[File:image-file-name.jpg|left]] will produce a left-aligned full size image version. Bonus tip: Adding a video or audio clip uses nearly the same procedures.