Template:Version

From ApCoCoAWiki
Revision as of 10:36, 3 October 2020 by Andraschko (talk | contribs) (Added documentation and categories and fixed bug not removing {{{2}}} if the variable is not assigned)

This template can be used to mark the version of an article concerning a function.

Syntax

{{Version|<<version number>>}}
{{Version|<<version number>>|<<article in other version>>}}

Here <<version number>> is either 1 for the old version ApCoCoA-1.0 or 2 for ApCoCoA-2.0 and <<article in other version>> is an optional argument containing a link to the corresponding article in the other version.

Examples

{{Version|1}}
This article is about a function from ApCoCoA-1.0.


{{Version|2}}
This article is about a function from ApCoCoA-2.0.


{{Version|1|[[SB.IsInSubalgebra]]}}
This article is about a function from ApCoCoA-1.0. If you are looking for the ApCoCoA-2.0 version of it, see SB.IsInSubalgebra.


{{Version|2|[[ApCoCoA-1:SB.IsInSubalgebra]]}}
This article is about a function from ApCoCoA-2.0. If you are looking for the ApCoCoA-1.0 version of it, see ApCoCoA-1:SB.IsInSubalgebra.