Template:Version: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
<!-- Construct base message depending on since/until --> | <!-- Construct base message depending on since/until --> | ||
{{#if:{{{since|}}| | {{#if:{{{since|}}}| | ||
<!-- 'since' is provided --> | <!-- 'since' is provided --> | ||
This {{{type|page}}}, introduced in version {{{since}}}{{#if:{{{until|}}| | This {{{type|page}}}, introduced in version {{{since}}}{{#if:{{{until|}}| |
Revision as of 23:28, 10 December 2024
This template helps manage documentation that is version-specific. It allows you to specify which versions a page or section applies to, indicate if something is deprecated, and link to release notes.
Usage
{{Version
|version <!-- Required. The main version this content applies to -->
|since= <!-- Optional. The version where this feature was introduced -->
|until= <!-- Optional. The last version where this feature applies -->
|status= <!-- Optional. Can be 'deprecated' or 'removed' -->
|notes= <!-- Optional. A page or section linking to detailed changelog/release notes -->
|type= <!-- Optional. Defaults to 'page'. Could be 'section', 'feature', etc. -->
}}