Template:Ferret mugshot: Difference between revisions
(Create the prototype of the template for mugshots) Â |
(re-add the intro and outro) Tag: Manual revert  |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="ferret-grid"> | |||
{{#vardefine:query_or| | {{#vardefine:query_or| | ||
{{#if:{{#pos:{{lc:{{{1|}}}}}|valhalla}}|OR valhalla IS NOT NULL}} | {{#if:{{#pos:{{lc:{{{1|}}}}}|valhalla}}|OR valhalla IS NOT NULL}} | ||
Line 12: | Line 13: | ||
|q?limit= 200 | |q?limit= 200 | ||
|template= Ferret mugshot/imagedisplay | |template= Ferret mugshot/imagedisplay | ||
|intro= {{Ferret mugshot/header}} | |||
|outro= {{Ferret mugshot/footer}} | |||
|default= ''There are no currently known Ferret which matches the given query.'' | |default= ''There are no currently known Ferret which matches the given query.'' | ||
}} | }} | ||
 | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
[[Category:Cargo query templates]] | [[Category:Cargo query templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 07:53, 19 October 2024
Generates a formatted images in a grid from Special:CargoTables/Ferret. Formatting is done using Template:Ferret mugshot/imagedisplay for the images within the grid.
Usage
{{Ferret mugshot}}
by itself will generate a grid of all Ferret images. This is used on Ferrets/mugshots.
{{Ferret mugshot|valhalla}}
will generate a grid of all Ferret images that has a valhalla date.
Examples
{{Ferret mugshot}}
produces a grid of all Ferret include with Valhalla ferret, like so: