Template:Sandbox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
-->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}|true|false}}}}}}<!-- | -->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}|true|false}}}}}}<!-- | ||
--><indicator name="version">{{#ifeq:{{#var:match}}|true||This page: {{#if:{{{1|}}}|v{{{1}}}|Unknown version<br>Game: v{{Current_version}}}}<!-- | --><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 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}}}|}}]] }}<!-- | -->|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><!-- | ||
-->{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|50px|This page requires cleanup to meet the wiki standards. See Guidelines. {{#if:{{{cleanupnote|}}}|Note: {{{cleanupnote}}}|}}]]|}}<!-- | --><td>{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|50px|This page requires cleanup to meet the wiki standards. See Guidelines. {{#if:{{{cleanupnote|}}}|Note: {{{cleanupnote}}}|}}]]|}}</td><!-- | ||
-->{{#if:{{{stub|}}}|[[File:Icon-stub.png|50px|This page is a stub. You can help by editing it! {{#if:{{{stubnote|}}}|Note: {{{stubnote}}}|}}]]|}}</ | --><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]]|}}}}}} | -->{{#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]]|}}}}}} |