Jump to content

Featured Project: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Ttenbergen (talk | contribs)
Line 21: Line 21:
{{#cargo_query:
{{#cargo_query:
tables=Project
tables=Project
|fields=Project.mainImage,_pageName,shortDescription
|fields=Project.mainImage,CONCAT(_pageName, " - ", shortDescription)=Descript,_pageName
|where=projectType HOLDS "Featured Project"
|where=projectType HOLDS "Featured Project"
|default=
|default=
Line 31: Line 31:
|image width=200
|image width=200
|image height=400
|image height=400
|caption field=shortDescription
|caption field=Descript
|alt field=_pageName
|alt field=_pageName
|link field=_pageName
|link field=_pageName

Revision as of 15:13, 2021 November 23

Featured Projects are ones that we are especially proud of, or that are especially representative of things we can do.

Click any of the images for more about that project. {{#cargo_compound_query: tables=Project;fields=Project.mainImage,_pageName,shortDescription; where=Project.projectType HOLDS "Featured Project" and NOT(Project.projectType HOLDS "Personal Project") and Project.projectType HOLDS 'Featured Project' |tables=Project;fields=Project.mainImage,_pageName,shortDescription; where=Project.projectType HOLDS "Featured Project" and Project.projectType HOLDS "Personal Project" and Project.projectType HOLDS 'Featured Project' |tables=Project;fields=Project.mainImage,_pageName,shortDescription;where=NOT(Project.projectType HOLDS "Featured Project") and NOT(Project.projectType HOLDS "Personal Project") and Project.projectType HOLDS 'Featured Project' |tables=Project;fields=Project.mainImage,_pageName,shortDescription;where=NOT(Project.projectType HOLDS "Featured Project") and project.projectType HOLDS "Personal Project" and Project.projectType HOLDS 'Featured Project' |format=gallery |mode=traditional |caption field=shortDescription |alt field=_pageName |link field=_pageName |limit=1000 |show filename=0 |show bytes=0 |show dimensions=0 |default= }}

slideshow format test

{{#cargo_query: tables=Project |fields=Project.mainImage,CONCAT(_pageName, " - ", shortDescription)=Descript,_pageName |where=projectType HOLDS "Featured Project" |default= |format=gallery |mode=packed-overlay |show bytes=0 |show dimensions=0 |show filename=0 |image width=200 |image height=400 |caption field=Descript |alt field=_pageName |link field=_pageName |limit=1000

}}