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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!finally the logic is working; *sort these category in the Check version category to the beginning;)
m (*sort key depends on version number;)
 
(2 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 9: Line 11:
 
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.