Check Version Tag

Aus Earthdawn-Wiki.v2
Version vom 22. Oktober 2024, 19:35 Uhr von Root (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Does a version check on the page. If the page does not exist, the body is never included. ====Usage==== <wiki:CheckVersion mode="latest|notlatest"> ; : ''JSP or HTML code'' </wiki:CheckVersion> ====Parameters==== ; '''mode''' : If 'latest', will include the body if the current page is the latest version. If 'notlatest', will include the body only if the current page is not the latest version. ====Example==== <pre><code> <wiki:CheckVersion mode=&quo…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Does a version check on the page. If the page does not exist, the body is never included.

Usage

<wiki:CheckVersion mode="latest|notlatest">

JSP or HTML code

</wiki:CheckVersion>

Parameters

mode
If 'latest', will include the body if the current page is the latest version. If 'notlatest', will include the body only if the current page is not the latest version.

Example

<code>
<wiki:CheckVersion mode="notlatest">
    <B>Warning: This page is not the latest version.</B>
</wiki:CheckVersion>
</code>