Template:Program: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by the same user 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;">