Template:Gallery
Jump to navigation
Jump to search
Quick ref instructions for making use of mw:Help:Images#Gallery_syntax. Use by including {{gallery}} on your page and viewing as a preview. Click the link to view the template and instructions in full. Category:Gallery
Gallery[edit]
Source[edit]
<gallery>
File:Example.jpg|Item 1
File:Example.jpg|a link to [[Help:Contents]]
File:Example.jpg
File:Example.jpg|alt=An example image. It has flowers
File:Example.jpg|''italic caption''
File:Example.jpg|link=https://example.com|This text will not render because an external link came first
File:Example.jpg|Links to external website|link=https://example.com
File:Example.jpg|link=w:Main_Page|Internal link
Example.jpg|on page "{{PAGENAME}}"
File:Using Firefox.pdf|page=72
</gallery>
Use[edit]
-
Item 1
-
a link to Help:Contents
-
italic caption
-
Links to external website
-
Internal link
-
on page "Gallery"
-
page=72
Future plans for page[edit]
Might move to something shorter and memorably prefix-namespaces in the future. quickref, or ref
template:ref/gallery --> {{ref/gallery}}
template:ref / template:ref/ --> {{ref}} -->> lists: gallery, (and other) template reference pages