{{#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">
<includeonly>[[Special: PermaLink/{{subst:REVISIONID:{{subst:PAGENAME}}}}|<span title="FPC ≥ {{{1}}} ∧ ≤ {{{2}}}">
{{#if: {{#expr: {{{2}}} = {{FPC FULLVERSION}}}}
| ✔
| ✘
}}
]]</includeonly>
</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
- Determine the range of FPC versions the information presented is/was valid. The text may contain exemptions à la “… (introduced in version 42).”
- Place
{{version|20301|30204}}
at the top (with adjusted version numbers of course).
- The first parameter is the minimum version. It is an integer in the style of the
FPC_fullVersionmacro.- The second parameter is the maximum version. It may not exceed the latest stable release number.