Jump to content

Template:ProjectGallery: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
No edit summary
Ttenbergen (talk | contribs)
No edit summary
Line 10: Line 10:


----
----
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_query:
Parameter read is: xxx{{{1}}}yyy{{{1|}}}zzz
 
{{#cargo_query:
tables=Project
tables=Project
|fields=Project.mainImage,_pageName,shortDescription
|fields=Project.mainImage,_pageName,shortDescription

Revision as of 20:25, 2021 October 31

This template implements a Mediawiki Extension Cargo query against the Project table in the gallery format (ie pictures with the shortDescription as caption). It takes an optional 1 parameter that it uses as the where clause.

to pass this query a parameter that contains an equal sign, see example in North Forge Fabrication Lab and https://stackoverflow.com/questions/20897400/passing-an-equal-sign-to-a-parameter-in-a-mediawiki-template