Template:Ferret mugshot: Difference between revisions

From Pirate Software Wiki
(Create the prototype of the template for mugshots)
 
(Add the div tag)
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 15: Line 16:
}}
}}


 
</div>
</includeonly><noinclude>
</includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Cargo query templates]]
[[Category:Cargo query templates]]
</noinclude>
</noinclude>

Revision as of 21:45, 18 October 2024

Documentation

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:

  • 2023/04/22
  • 2023/12/26
  • 2024/01/14
  • 2024/04/05
  • 2024/07/02
  • 2024/09/17