Template:Version

This is an old revision of Template:Version, edited by Kai Burghardt at . The current revision is 145479.

try something out

{{#iferror: {{#expr: {{{2|-1}}} < 0}} | <strong class="error">[[Template: version]]: Second parameter missing or negative.</strong></strong> |}}{{#iferror: {{#expr: {{{2|0}}} > {{FPC FULLVERSION}}}} | <strong class="error">[[Template: version]]: Specified second version has not been released yet.</strong> |}}

<indicator name="version">
[[Special: PermaLink/{{<includeonly>subst:</includeonly>REVISIONID:{{<includeonly>subst:</includeonly>PAGENAME}}}}|<span title="FPC ≥ {{{1}}} ∧ ≤ {{{2}}}">
{{#if: {{#expr: {{{2}}} = {{FPC FULLVERSION}}}}
    | ✔
    | ✘
}}
]]
</indicator>

Documentation

This template is an attempt to give users, i. e. readers of this wiki, a clue, whether the information presented on a page is (still) up-to-date.

Use

  1. Determine the range of FPC versions the information presented is/was valid. The text may contain exemptions à la “… (introduced in version 42).”
  2. Place
{{version|20301|30204}}

at the top (with adjusted version numbers of course).

  1. The first parameter is the minimum version. It is an integer in the style of the FPC_fullVersion macro.
    1. The second parameter is the maximum version. It may not exceed the latest stable release number.

See Also