Difference between revisions of "Template:Media gallery filter"
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
|@deferred | |@deferred | ||
|intro=<div class="media-gallery {{{class|}}}"> | |intro=<div class="media-gallery {{{class|}}}"> | ||
− | |outro=</div> | + | |outro=<div class="more-content-wrapper"></div></div> |
|link=none | |link=none | ||
|valuesep=; | |valuesep=; |
Revision as of 08:21, 18 August 2022
Selects media, optionally of the given type, filtered by the given property value.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Property name | 1 | no description | String | optional |
Property value | 2 | no description | String | optional |
Media type | 3 | no description
| String | optional |
Class | class | no description
| String | optional |
- Usage
{{Media gallery filter |Year # Property name to be searched |1918 # Property value to be filtered by |Newspaper ad # Media type [ Newspaper ad | Newspaper clipping | Newspaper article | Photo | Letterhead | Map | Logo | Newspaper PDF | Non-newspaper ad ] }}
- Result
- The same with the "fixed" tiles
{{Media gallery filter |Year |1918 |Newspaper ad |class=fixed }}
- Result