Difference between revisions of "Template: GetContainers"
From Genesys Documentation
(Adding PrivateEdition category) |
|||
Line 34: | Line 34: | ||
|format=ul | |format=ul | ||
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="helm" AND ComponentRN._pageNamespace="0" | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="helm" AND ComponentRN._pageNamespace="0" | ||
− | |default={{#cargo_query:tables=ComponentRN | + | |default= |
− | |fields=Containers | + | {{#cargo_query:tables=ComponentRN |
− | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" AND Containers IS NOT NULL | + | |fields=Containers |
− | |format=template | + | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" AND Containers IS NOT NULL |
− | |template=ArrayMapHelm | + | |format=template |
− | |default=N/A | + | |template=ArrayMapHelm |
− | }} | + | |default= |
+ | {{#cargo_query: | ||
+ | tables=ArticleHelmRN,Component | ||
+ | |join on=ArticleHelmRN.ComponentId HOLDS Component.ParentComponentId | ||
+ | |fields=CONCAT('See [[',ArticleHelmRN._pageName,'|parent]]') | ||
+ | |where=Component.Id = "{{{ComponentId|}}}" AND ArticleHelmRN._pageNamespace="0" | ||
+ | |delimiter= | ||
+ | |default=N/A | ||
+ | |group by=ArticleHelmRN._pageName,Component.Name | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
</td> | </td> | ||
Line 52: | Line 62: | ||
|format=ul | |format=ul | ||
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace="0" | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace="0" | ||
− | |default={{#cargo_query:tables=ComponentRN | + | |default= |
− | |fields=Containers | + | {{#cargo_query:tables=ComponentRN |
− | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" AND Containers IS NOT NULL | + | |fields=Containers |
− | |format=template | + | |where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="0" AND Containers IS NOT NULL |
− | |template=ArrayMapDocker | + | |format=template |
− | |default=N/A | + | |template=ArrayMapDocker |
− | }} | + | |default= |
+ | {{#cargo_query: | ||
+ | tables=ArticleHelmRN,Component | ||
+ | |join on=ArticleHelmRN.ComponentId HOLDS Component.ParentComponentId | ||
+ | |fields=CONCAT('See [[',ArticleHelmRN._pageName,'|parent]]') | ||
+ | |where=Component.Id = "{{{ComponentId|}}}" AND ArticleHelmRN._pageNamespace="0" | ||
+ | |delimiter= | ||
+ | |default=N/A | ||
+ | |group by=ArticleHelmRN._pageName,Component.Name | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
</td> | </td> | ||
</tr></includeonly><noinclude>[[Category:PrivateEdition]]</noinclude> | </tr></includeonly><noinclude>[[Category:PrivateEdition]]</noinclude> |