Difference between revisions of "Template:Version"

From ApCoCoAWiki
(replaced if by #if:)
(| -> {{!}})
Line 1: Line 1:
<!-- {{#switch: {{{1}}} -->
+
{{#switch: {{{1}}}
<!-- | 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 -->
 
This article concerns [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]].
 
This article concerns [[ApCoCoA:What is ApCoCoA|ApCoCoA-1.0]].
 
}}
 
}}
|}
+
{{!}}}
<!-- | 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 -->
 
This article concerns [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]].
 
This article concerns [[ApCoCoA:Downloads#ApCoCoA-2.0 Beta|ApCoCoA-2.0]].
 
}}
 
}}
|}
+
{{!}}}
<!-- | '''Error: Template not used correctly.'''
+
| '''Error: Template not used correctly.'''
}} -->
+
}}

Revision as of 15:05, 30 September 2020

Error: Template not used correctly.