Jump to content

Featured Project: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Ttenbergen (talk | contribs)
Line 2: Line 2:
}}
}}


== slideshow test ==
== slideshow format test ==
{{#cargo_query:
<!--{{#cargo_query:
tables=Project
tables=Project
|fields=Project.mainImage,_pageName,shortDescription
|fields=Project.mainImage,_pageName,shortDescription
Line 16: Line 16:
|image width=100
|image width=100
|image height=100
|image height=100
}}
}}-->


== gallery test ==
== gallery test ==

Revision as of 15:08, 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,_pageName,shortDescription |where=projectType HOLDS "Featured Project" |default= |format=gallery |mode=slideshow |show bytes=0 |show dimensions=0 |show filename=0 |image width=200 |image height=400 |caption field=shortDescription |alt field=_pageName |link field=_pageName |limit=1000

}}