Wikipedia:Tip of the day/December 8: Difference between revisions
Appearance
Content deleted Content added
m rm cat "Wikipedia editing aids", cat:tip of the day is a subcat of Cat:Editing aids |
|||
(13 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 "|" |
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=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> |
|||
⚫ | |||
<includeonly>[[{{day-1|{{CURRENTMONTHNAME}} {{CURRENTDAY}}|Wikipedia:Tip of the day/|}}|Prior tip]] - [[{{day+1|{{CURRENTMONTHNAME}} {{CURRENTDAY}}|Wikipedia:Tip of the day/|}}|Next tip]]</includeonly><noinclude>[[{{day-1|{{SUBPAGENAME}}|Wikipedia:Tip of the day/|}}|Prior tip]] - [[{{day+1|{{SUBPAGENAME}}|Wikipedia:Tip of the day/|}}|Next tip]] |
|||
⚫ | |||
[[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.
– –
Read more: