Documentation[purge]
This template is a modified version of {{gallery}}
for use in Cargo queries.
Usage
This template should never need to be used outside of a Cargo query. For normal use, {{gallery}}
is much more versatile.
{{cargo query |table=<table name> <other query parameters, as desired> |fields=Image,_pageName,Name |format=template |template=CargoGallery/<size> |intro={{gallery}} |outro={{gallery/end}} }}
Gallery size
Cargo does not allow for the specification of parameters when declaring a template to format the query. Thus, it is necessary to create separate templates for each desired gallery size. {{CargoGallery}}
with no size specified results in 100px gallery images.
List of custom sizes
The following is a list of the currently available custom sizes. To add a new size, you may copy one of the existing templates and change the width and/or height specified in the template as needed.
About
The above documentation is transcluded from Szablon:CargoGallery/doc. (edit | history)