Difference between revisions of "Template: RNPrint"
From Genesys Documentation
Line 2: | Line 2: | ||
tables=ComponentRN,DeploymentType=DT | tables=ComponentRN,DeploymentType=DT | ||
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | |join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | ||
− | |fields=CONCAT('[[File:',DT.Image,'| | + | |fields=CONCAT('[[File:',DT.Image,'|',Size,'px|link=]]') |
|delimiter= | |delimiter= | ||
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
Line 11: | Line 11: | ||
|fields=Label | |fields=Label | ||
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" | ||
− | }}--></h2> {{AnchorDiv|{{{ComponentName|}}}-{{{ReleaseNumber|}}}}} | + | }}--></h2> {{AnchorDiv|{{{ComponentName|}}}-{{{ReleaseNumber|}}}}}{{#cargo_query: |
tables=ComponentRN,DeploymentType=DT | tables=ComponentRN,DeploymentType=DT | ||
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | |join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | ||
− | |fields= | + | |fields=DT.Image=Image,DT.Size=Size,DT.Name=DTName,ComponentRN.ComponentId=ComponentId,ReleaseNumber,PrivateEditionReleaseDate=Date |
− | | | + | |named args=yes |
+ | |format=template | ||
+ | |template=RNPrintSubhead | ||
+ | |default= | ||
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Private Edition" | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Private Edition" | ||
− | }}{{ | + | }}{{#cargo_query: |
− | {{#cargo_query: | + | tables=ComponentRN,DeploymentType=DT |
+ | |join on=ComponentRN.DeploymentTypeId HOLDS DT.Id | ||
+ | |fields=DT.Image=Image,DT.Size=Size,DT.Name=DTName,ComponentRN.ComponentId=ComponentId,ReleaseNumber,MixedModeReleaseDate=Date | ||
+ | |named args=yes | ||
+ | |format=template | ||
+ | |template=RNPrintSubhead | ||
+ | |default= | ||
+ | |where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Mixed mode" | ||
+ | }}{{#cargo_query: | ||
tables=ComponentRN,Issue,IssueCategory | tables=ComponentRN,Issue,IssueCategory | ||
|join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id | |join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id |