Difference between revisions of "Template:ImageGallery"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><li style="display: inline-block;"> [[File:{{{image|!}}}.png|link=|{{{size|256}}}px|thumb|{{{description|}}}]] </li></includeonly><noinclude>
<includeonly><li style="display: inline-block; color: black;"> [[File:{{{1|!}}}.png|link=|{{{3|256}}}px|thumb|{{{2|}}}]]</li></includeonly><noinclude>
Use this for all the gallery images
Use this for all the gallery images
 
<pre>{{ImageGallery|Alpha Yeti|This is a preview|256}}</pre>
<pre>
{{ImageGallery|Alpha Yeti|This is a preview|256}}
{{ImageGallery
|image= (The image you want to have in your gallery)
|description= (Adds a description to the bottom of an image)
|size= (Defaults to 256)
}}
</pre>
 
{{ImageGallery
|image= Alpha Yeti
|description= This is a preview
|size= 128
}}
</noinclude>
</noinclude>

Latest revision as of 16:28, 2 January 2024

Use this for all the gallery images

{{ImageGallery|Alpha Yeti|This is a preview|256}}
  • This is a preview