Difference between revisions of "Template:Version"

From ApCoCoAWiki
(doesn't work yet...)
(replaced if by #if:)
Line 2: Line 2:
 
<!-- | 1 = Case: version is 1.0 -->
 
<!-- | 1 = Case: version is 1.0 -->
 
{| cellspacing="8" cellpadding="0" style="background-color:#eeffee; width:100%; font-size:95%; border-bottom: 2px solid green; border-top: 2px solid green; position:top; clear:both;"
 
{| cellspacing="8" cellpadding="0" style="background-color:#eeffee; width:100%; font-size:95%; border-bottom: 2px solid green; border-top: 2px solid green; position:top; clear:both;"
| {{if {{{2}}} | <!-- Case: Link is given -->
+
| {{#if: {{{2}}} | <!-- Case: Link is given -->
 
This article concerns [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]]. If you are looking for the [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]] version of it, see {{{2}}}.
 
This article concerns [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]]. If you are looking for the [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]] version of it, see {{{2}}}.
 
| <!-- Case: Link is not given -->
 
| <!-- Case: Link is not given -->
Line 10: Line 10:
 
<!-- | 2 = Case: version is 2.0 -->
 
<!-- | 2 = Case: version is 2.0 -->
 
{| cellspacing="8" cellpadding="0" style="background-color:#eeeeff; width:100%; font-size:95%; border-bottom: 2px solid blue; border-top: 2px solid blue; position:top; clear:both;"
 
{| cellspacing="8" cellpadding="0" style="background-color:#eeeeff; width:100%; font-size:95%; border-bottom: 2px solid blue; border-top: 2px solid blue; position:top; clear:both;"
| {{if {{{2}}} | <!-- Case: Link is given -->
+
| {{#if: {{{2}}} | <!-- Case: Link is given -->
 
This article concerns [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]]. If you are looking for the [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]] version of it, see {{{2}}}.
 
This article concerns [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]]. If you are looking for the [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]] version of it, see {{{2}}}.
 
| <!-- Case: Link is not given -->
 
| <!-- Case: Link is not given -->

Revision as of 14:55, 30 September 2020

This article concerns ApCoCoA-1.0. If you are looking for the ApCoCoA-2.0 version of it, see {{{2}}}.
This article concerns ApCoCoA-2.0. If you are looking for the ApCoCoA-1.0 version of it, see {{{2}}}.