Jump to content

Featured Project: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
Ttenbergen (talk | contribs)
Line 23: Line 23:
|fields=Project.mainImage,_pageName,shortDescription
|fields=Project.mainImage,_pageName,shortDescription
|where=projectType HOLDS "Featured Project"
|where=projectType HOLDS "Featured Project"
|default=
|format=gallery
|format=gallery
|mode=traditional
|mode=slideshow
|show bytes=0
|show dimensions=0
|show filename=0
|image width=200
|image height=400
|caption field=shortDescription
|caption field=shortDescription
|alt field=_pageName
|alt field=_pageName
|link field=_pageName
|link field=_pageName
|limit=1000
|limit=1000
|show filename=0
 
|show bytes=0
|show dimensions=0
|default=
}}
}}

Revision as of 15:07, 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 test

{{#cargo_query: tables=Project |fields=Project.mainImage,_pageName,shortDescription |where=projectType HOLDS "Featured Project" |default=

|format=slideshow |slides per screen=1 |autoplay speed=1 |caption field=shortDescription |link field=_pageName |image width=100 |image height=100 }}

{{#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

}}