From Official Barotrauma Wiki
|
|
Line 1: |
Line 1: |
| {{#vardefine:match<!--
| | {{#if: {{{1|}}} {{{2|}}}|one or two?|neither one nor two?}} |
| // Versions match
| |
| -->|{{#ifeq:{{{1}}}|{{Current_version}}|true<!--
| |
| // First two version numbers match, ignore last two
| |
| -->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}|true|false}}}}}}<!--
| |
| | |
| --><indicator name="version"><table class="version-control"><tr><td>{{#ifeq:{{#var:match}}|true||This page: {{#if:{{{1|}}}|v{{{1}}}|Unknown version<br>Game: v{{Current_version}}}}</td><!--
| |
| | |
| --><td>[[File:Version Checkmark_{{#ifeq:{{#var:match}}|true|True|False}}.png|50px|{{#ifeq:{{#var:match}}|true<!--
| |
| -->|Data is up-to-date for v{{Current_version}}.<!--
| |
| -->|Data is potentially outdated. Last updated for {{#if:{{{1|}}}|v{{{1}}}.|an unknown version.}} Current game version: v{{Current_version}}.}} {{#if:{{{2|}}}|{{!}}NOTE: {{{2}}}|}}]]}}</td><!--
| |
| | |
| --><td>{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|50px|This page requires cleanup to meet the wiki standards. See Guidelines. {{#if:{{{cleanupnote|}}}|Note: {{{cleanupnote}}}|}}]]|}}</td><!--
| |
| | |
| --><td>{{#if:{{{stub|}}}|[[File:Icon-stub.png|50px|This page is a stub. You can help by editing it! {{#if:{{{stubnote|}}}|Note: {{{stubnote}}}|}}]]|}}</td></indicator><!--
| |
| | |
| | |
| | |
| -->{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{#var:match}}|true||[[Category:Potentially Outdated]]}}{{#if:{{{stub|}}}|{{#if:{{{cleanup|}}}|[[Category:Stubs]][[Category:Cleanup]][[Category:Problem articles]]|[[Category:Stubs]][[Category:Problem articles]]}}|{{#if:{{{cleanup|}}}|[[Category:Cleanup]][[Category:Problem articles]]|}}}}}}
| |
Revision as of 16:33, 24 June 2022