Difference between revisions of "Template: GetContainers"
From Genesys Documentation
production>Bgrenon ((by SublimeText.Mediawiker)) |
|||
Line 10: | Line 10: | ||
ComponentRN.ComponentId="{{{ComponentId|}}}" | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | ||
− | AND ComponentRN._pageNamespace=" | + | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
}} | }} | ||
</td> | </td> | ||
Line 21: | Line 21: | ||
ComponentRN.ComponentId="{{{ComponentId|}}}" | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | ||
− | AND ComponentRN._pageNamespace=" | + | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
}} | }} | ||
</td> | </td> | ||
Line 38: | Line 38: | ||
|where= | |where= | ||
ComponentRN.ComponentId="{{{ComponentId|}}}" | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
− | AND ArticleCloudRN._pageNamespace=" | + | AND ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" |
AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | ||
|group by=ComponentRN.ComponentId | |group by=ComponentRN.ComponentId | ||
Line 64: | Line 64: | ||
AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | ||
AND Type="helm" | AND Type="helm" | ||
− | AND ComponentRN._pageNamespace=" | + | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
|default= | |default= | ||
{{#cargo_query:tables=ComponentRN | {{#cargo_query:tables=ComponentRN | ||
Line 71: | Line 71: | ||
ComponentRN.ComponentId="{{{ComponentId|}}}" | ComponentRN.ComponentId="{{{ComponentId|}}}" | ||
AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" | ||
− | AND ComponentRN._pageNamespace=" | + | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
AND Containers IS NOT NULL | AND Containers IS NOT NULL | ||
|format=template | |format=template | ||
Line 84: | Line 84: | ||
|where= | |where= | ||
Component.Id = "{{{ComponentId|}}}" | Component.Id = "{{{ComponentId|}}}" | ||
− | AND ArticleHelmRN._pageNamespace=" | + | AND ArticleHelmRN._pageNamespace="{{NAMESPACENUMBER}}" |
|delimiter= | |delimiter= | ||
|default=N/A | |default=N/A | ||
Line 100: | Line 100: | ||
|group by=RNElements.Version,RNElements.Filename | |group by=RNElements.Version,RNElements.Filename | ||
|format=ul | |format=ul | ||
− | |where=ComponentRN.ComponentId="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace=" | + | |where=ComponentRN.ComponentId="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND Type="docker" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" |
|default= | |default= | ||
{{#cargo_query:tables=ComponentRN | {{#cargo_query:tables=ComponentRN | ||
|fields=Containers | |fields=Containers | ||
− | |where=ComponentRN.ComponentId="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace=" | + | |where=ComponentRN.ComponentId="{{{ComponentId|}}}" AND PrivateEditionReleaseDate="{{{PrivateEditionReleaseDate|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND Containers IS NOT NULL |
|format=template | |format=template | ||
|template=ArrayMapDocker | |template=ArrayMapDocker | ||
Line 112: | Line 112: | ||
|join on=ArticleHelmRN.ComponentId HOLDS Component.ParentComponentId | |join on=ArticleHelmRN.ComponentId HOLDS Component.ParentComponentId | ||
|fields=CONCAT('See [[',ArticleHelmRN._pageName,'|parent]]*') | |fields=CONCAT('See [[',ArticleHelmRN._pageName,'|parent]]*') | ||
− | |where=Component.Id = "{{{ComponentId|}}}" AND ArticleHelmRN._pageNamespace=" | + | |where=Component.Id = "{{{ComponentId|}}}" AND ArticleHelmRN._pageNamespace="{{NAMESPACENUMBER}}" |
|delimiter= | |delimiter= | ||
|default=N/A | |default=N/A |