Difference between revisions of "Template:Check version/Cat"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+a bit more text and logic;)
m (*sort key depends on version number;)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="wikitable float-right"
 
{| class="wikitable float-right"
 +
{{#if: {{{1|}}}|{{!}} style="background:{{#ifexpr: {{Check version/Rev|{{{1|}}}}} < {{Check version/Rev}}|lightcoral" {{!}} '''Outdated version'''|{{#ifexpr: {{Check version/Rev|{{{1|}}}}} > {{Check version/Rev}}|yellow" {{!}} Future version|lightgreen" {{!}} Current version}}}}
 +
{{!}}-}}
 
! Current
 
! Current
 
|-
 
|-
Line 5: Line 7:
 
|}
 
|}
 
{{See also|Category:Check version}}
 
{{See also|Category:Check version}}
{{if||{{{1}}}|{{#ifexpr: {{Check version/Rev|{{{1}}}}} < {{Check version/Rev}}|'''This category is for a non current version!''' Consider to update the outdated information by either changing the version number to the current one when the statement is still true or by rewriting the statement.}}
+
{{if||{{#if: {{{1|}}}||}}{{#ifexpr: {{Check version/Rev|{{{1}}}}} < {{Check version/Rev}}|1}}|'''This category is for a non current version!''' Consider to update the outdated information by either changing the version number to the current one when the statement is still true or by rewriting the statement.
 
}}
 
}}
 
This category contain all articles with statements which might be or might get outdated. Only statements which are likely to change or are considered a bug should be marked.
 
This category contain all articles with statements which might be or might get outdated. Only statements which are likely to change or are considered a bug should be marked.
  
<includeonly>[[Category:Check version]]</includeonly>
+
<includeonly>[[Category:Check version|{{{1| }}}]]</includeonly>
 
__HIDDENCAT__<noinclude>
 
__HIDDENCAT__<noinclude>
 
----
 
----

Latest revision as of 15:44, 2 August 2014

Current
1.12.2
→ See also: Category:Check version

This category is for a non current version! Consider to update the outdated information by either changing the version number to the current one when the statement is still true or by rewriting the statement.

This category contain all articles with statements which might be or might get outdated. Only statements which are likely to change or are considered a bug should be marked.



Include this to any subcategory of Category:Check version.