Template: GCXI Attributes DisplayList
From Genesys Documentation
Subordinate query template to supplement Template:GCXI_Attributes_Display, to get the list of links that displays at the top of Attributes pages in the GCXI Project Guide. The lists include attributes specified both directly and indirectly (via displaysInFolder).
Content is:
'''{{{folder}}}'''<br/>
{{#cargo_query:
tables=GCXI_Attribute,GCXI_Attribute__displaysInFolder
|join on=GCXI_Attribute._ID=GCXI_Attribute__displaysInFolder._rowID
|fields=CONCAT( '[[{{{page}}}#',GCXI_Attribute.anchor,'|',GCXI_Attribute.attr,']]')=attr
|where=GCXI_Attribute._pageName LIKE "{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}PEC-REP/Library/GCXIPRGLibrary/%%" AND (GCXI_Attribute.folder LIKE "{{{folder}}}" OR GCXI_Attribute__displaysInFolder._value LIKE "{{{folder}}}") {{#switch: {{#explode:{{FULLPAGENAME}}|/|2}} | GCXIMCPRG = AND (GCXI_Attribute.cloud LIKE "yes" OR GCXI_Attribute.cloud IS NULL) | GCXIPRG = AND (GCXI_Attribute.premise LIKE "yes" OR GCXI_Attribute.premise IS NULL) | #default= }}
|group by=GCXI_Attribute.attr
|default=* There are no attributes in this folder
|format=ul
|order by=GCXI_Attribute.attr ASC
}}
{{{folder}}}
- There are no attributes in this folder