Template:Program: Difference between revisions
No edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 46: | Line 46: | ||
|Historic={{{Historic|}}} | |Historic={{{Historic|}}} | ||
}} | }} | ||
Stored: {{#cargo_query:|tables=Program|fields=ProgramName|where=ProgramName="{{{ProgramName|}}}"|format=list}} | |||
{{#ifeq: {{#cargo_query:|tables=Program|fields=ProgramName|where=ProgramName="{{{ProgramName|}}}"|format=list}} | No results | |||
| [[Category:Cargo Storage Failed]] <!-- If query equals "No results", add category --> | |||
| <!-- If query returns ProgramName or anything else, no category --> | |||
}} | |||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
<table class="wikitable" style="border: 2px solid #BF0A30; float:right; width:300px; margin-top: 0px; padding: 5px;"> | <table class="wikitable" style="border: 2px solid #BF0A30; float:right; width:300px; margin-top: 0px; padding: 5px;"> | ||
Line 88: | Line 92: | ||
<tr> | <tr> | ||
<th style="background:#002868; color:#FFFFFF; padding: 5px;">'''Historic'''</th> | <th style="background:#002868; color:#FFFFFF; padding: 5px;">'''Historic'''</th> | ||
<td style="background:#FFFFFF; color:#000000; padding: 5px;">{{# | <td style="background:#FFFFFF; color:#000000; padding: 5px;">{{#ifeq:{{{Historic|}}}|Yes|Yes|No}}</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Latest revision as of 07:26, 12 March 2025
This is the "Program" template. It should be called in the following format:
{{Program |ProgramName= |ProgramType= |OrgSponsor= |TopOrganization= |CreationLegislation= |Purpose= |Website= |ProgramStart= |InitialFunding= |Duration= |Historic= }}
Cargo declaration
This template defines the table "Program". View table.
Table details
This section provides additional details about the template usage and structure.