mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #4291 from acemod/versionDocs
add version to frontmatter and display it in the wiki
This commit is contained in:
commit
34b86869d9
@ -11,7 +11,7 @@ ace:
|
||||
version:
|
||||
major: 3
|
||||
minor: 6
|
||||
patch: 0
|
||||
patch: 2
|
||||
build: 0
|
||||
|
||||
acex:
|
||||
|
@ -5,6 +5,39 @@ layout: compress
|
||||
{% include _header.html %}
|
||||
|
||||
<main>
|
||||
{% if page.version %}
|
||||
<div class="row">
|
||||
<div class="medium-8 small-12 columns">
|
||||
<span>
|
||||
{% if page.mod == 'ace' %}
|
||||
|
||||
{% if page.version.major > site.ace.version.major %}
|
||||
<em>Will be added in ACE3 v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% elsif page.version.major == site.ace.version.major and page.version.minor > site.ace.version.minor %}
|
||||
<em>Will be added in ACE3 v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% elsif page.version.major == site.ace.version.major and page.version.minor == site.ace.version.minor and page.version.patch > site.ace.version.patch %}
|
||||
<em>Will be added in ACE3 v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% else %}
|
||||
<em>Added in ACE3 v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% endif %}
|
||||
|
||||
{% elsif page.mod == 'acex' %}
|
||||
|
||||
{% if page.version.major > site.acex.version.major %}
|
||||
<em>Will be added in ACEX v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% elsif page.version.major == site.acex.version.major and page.version.minor > site.acex.version.minor %}
|
||||
<em>Will be added in ACEX v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% elsif page.version.major == site.acex.version.major and page.version.minor == site.acex.version.minor and page.version.patch > site.acex.version.patch %}
|
||||
<em>Will be added in ACEX v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% else %}
|
||||
<em>Added in ACEX v{{page.version.major}}.{{page.version.minor}}.{{page.version.patch}}</em>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="row">
|
||||
<aside class="medium-4 medium-push-8 small-12 columns">
|
||||
<div class="row">
|
||||
|
@ -5,6 +5,11 @@ description: Precise system for throwing grenades and other throwable items.
|
||||
group: feature
|
||||
category: interaction
|
||||
parent: wiki
|
||||
mod: ace
|
||||
version:
|
||||
major: 3
|
||||
minor: 7
|
||||
patch: 0
|
||||
---
|
||||
|
||||
## 1. Overview
|
||||
|
Loading…
Reference in New Issue
Block a user