This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:gallery_syntax [2020/12/31 01:35] – [Basic Syntax] Jeremy McReynolds | wiki:gallery_syntax [2021/01/09 15:47] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Basic Syntax ===== | ===== Basic Syntax ===== | ||
A basic gallery can be added by selecting a namespace like this: | A basic gallery can be added by selecting a namespace like this: | ||
- | {{gallery>: | + | {{gallery>: |
- | < | + | < |
All image files in the selected namespace will be added to the image gallery. Don't forget the “:” in front of the namespace. | All image files in the selected namespace will be added to the image gallery. Don't forget the “:” in front of the namespace. | ||
Instead of using a whole namespace of images, you can also specify a single image – this makes more sense when combined with the lightbox mode (see below). | Instead of using a whole namespace of images, you can also specify a single image – this makes more sense when combined with the lightbox mode (see below). | ||
- | {{gallery>: | + | {{gallery>: |
- | < | + | < |
The created gallery can be aligned by using white space (defaults to centered): | The created gallery can be aligned by using white space (defaults to centered): | ||
- | {{gallery> | + | {{gallery> |
- | {{gallery>: | + | {{gallery>: |
- | {{gallery> | + | {{gallery> |
- | < | + | < |
- | {{gallery> | + | {{gallery> |
- | {{gallery> | + | {{gallery> |
Instead of a namespace, you can also give an HTTP(s) URL to any [[https:// | Instead of a namespace, you can also give an HTTP(s) URL to any [[https:// | ||
Line 49: | Line 49: | ||
=== Example === | === Example === | ||
- | {{gallery>: | + | {{gallery> |
- | < | + | < |
This displays all images beginning with '' | This displays all images beginning with '' | ||
Line 56: | Line 56: | ||
=== Example === | === Example === | ||
- | {{gallery>? | + | {{gallery> |
This displays all images in the current namespace using 2 parameters. Parameterlist begins with ''?'' | This displays all images in the current namespace using 2 parameters. Parameterlist begins with ''?'' |