Difference between revisions of "Help:Images"

1,180 bytes added ,  21:44, 13 January 2019
no edit summary
(Created page with '{{HelpNav}} To include an image in a article, use the following syntax. Please note, '''bold text''' is required parameters, and ''italics text'' have additional conditions. <n…')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
  .sample {
    border:2px solid black;
    border-collapse: collapse;
    width:100%;
}
.sample td, .sample th {
    border:2px solid black;
  }
}}
{{HelpNav}}
{{HelpNav}}
To include an image in a article, use the following syntax. Please note, '''bold text''' is required parameters, and ''italics text'' have additional conditions.  
To include an image in a article, use the following syntax. Please note, '''bold text''' is required parameters, and ''italics text'' have additional conditions.  


<nowiki>[[File:something.fif|some_size|some position|thumb|some caption]]</nowiki> where  
<nowiki>[[File:something.fif|some size|position|thumb|some caption]]</nowiki> where  
* '''something.fif''' - is the file name, including file extention.  
* '''something.fif''' - is the file name, including file extention.  
* ''some size'' - width or width x height in [[wp:pixels]].  
* ''some size'' - width or width x height in [[wikipedia:pixels|pixels]]. Defaults to actual size of image. 
* '''some position'''- left, right or center.  
* ''position'' - left side, right side or center. Defaults to the left side, unless ''thumb'' is included.  
* ''thumb'' - creates a thumb nail,  
* ''thumb'' - creates a thumb nail of the image. If ''position'' is not included, then it defaults to the right side.
 
* ''some caption'' - caption, when ''thumb'' is listed. If ''thumb'' isn't included, ''some caption'' is ignored.


In addition, File:something.fif must come first, and some caption must come last,  while the other 3 may come in any order, between those three, if they are included at all.


== Specific examples ==
== Specific examples ==
{| border=1 cellpadding="2" cellspacing="0" width=100%
{| class="sample"  
|-
!What you see
!What you see
!What you type
!What you type
Line 30: Line 42:
| [[File:Needed.png|right]]  
| [[File:Needed.png|right]]  
| <pre>[[File:Needed.png|right]]</pre>
| <pre>[[File:Needed.png|right]]</pre>
|-
| [[File:Needed.png]]
| <pre>[[File:Needed.png]]</pre>
|-
|-
! colspan = 2 | Size
! colspan = 2 | Size
Line 39: Line 48:
| <pre>[[File:Needed.png|100px]]</pre>
| <pre>[[File:Needed.png|100px]]</pre>
|-
|-
| [[File:Needed.png|500px]]  
| [[File:Needed.png|300px]]  
| <pre>[[File:Needed.png|500px]]</pre>
| <pre>[[File:Needed.png|300px]]</pre>
|-
|-
| [[File:Needed.png|50x75px]]  
| [[File:Needed.png|50x75px]]  
| <pre>[[File:Needed.png|50x75px]]</pre>
| <pre>[[File:Needed.png|50x75px]]</pre>
|-
|-
| [[File:Needed.png]]  
! colspan = 2 | thumb
| <pre>[[File:Needed.png]]</pre>
|-
| [[File:Needed.png|left|thumb]]
| <pre>[[File:Needed.png|left|thumb]]</pre>
|-
| [[File:Needed.png|thumb|center]]  
| <pre>[[File:Needed.png|thumb|center]]</pre>
|-
|-
! colspan = 2 | Position
| [[File:Needed.png|thumb|right]]
| <pre>[[File:Needed.png|thumb|right]]</pre>
|-
|-
| [[File:Needed.png|left]]
! colspan = 2 | Caption
| <pre>[[File:Needed.png|left]]</pre>
|-
|-
| [[File:Needed.png|center]]  
| [[File:Needed.png|caption without thumb]]  
| <pre>[[File:Needed.png|center]]</pre>
| <pre>[[File:Needed.png|caption without thumb]]</pre>
|-
|-
| [[File:Needed.png|right]]  
| [[File:Needed.png|thumb|caption with thumb]]  
| <pre>[[File:Needed.png|right]]</pre>
| <pre>[[File:Needed.png|thumb|caption with thumb]]</pre>
|-
|-
| [[File:Needed.png]]
! colspan = 2 | More examples
| <pre>[[File:Needed.png]]</pre>
|-
|-
! colspan = 2 | Position
| [[File:Needed.png|left|100px|thumb|customize the size of the thumbnail]]
| <pre>[[File:Needed.png|left|100px|thumb|customize the size of the thumbnail]]</pre>
|-
|-
| [[File:Needed.png|left]]  
| [[File:Needed.png|200px|thumb|center|and it's position.]]  
| <pre>[[File:Needed.png|left]]</pre>
| <pre>[[File:Needed.png|200px|thumb|center|and it's position.]]</pre>
|-
|-
| [[File:Needed.png|center]]  
| [[File:Needed.png|thumb|right|You may even include [[Fox McCloud|links]]]]  
| <pre>[[File:Needed.png|center]]</pre>
| <pre>[[File:Needed.png|thumb|right|You may even include [[Fox McCloud|links]]]]</pre>
|-
|-
| [[File:Needed.png|right]]  
| [[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]  
| <pre>[[File:Needed.png|right]]</pre>
| <pre>[[File:Needed.png|thumb|Just don't [[Lylat Wiki:Quality Standards|over do it]]]]</pre>
|-
|-
|}
|}
[[Category:File Pages|{{PAGENAME}}]]