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">{{#if:{{{cleanup|}}}|[[File:Cleanup.svg| | --><indicator name="version">{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|60px|This page requires cleanup to meet the wiki standards. See Guidelines. {{#if:{{{cleanupnote|}}}|Note: {{{cleanupnote}}}|}}]]|}}<!-- | ||
-->{{#if:{{{stub|}}}|[[File:Icon-stub.png| | -->{{#if:{{{stub|}}}|[[File:Icon-stub.png|60px|This page is a stub. You can help by editing it! {{#if:{{{stubnote|}}}|Note: {{{stubnote}}}|}}]]|}}<!-- | ||
-->[[File:Version Checkmark_{{#ifeq:{{#var:match}}|true|True|False}}.png| | -->[[File:Version Checkmark_{{#ifeq:{{#var:match}}|true|True|False}}.png|60px|{{#ifeq:{{#var:match}}|true|Data is up-to-date.|Data is potentially outdated. {{#ifeq:{{#var:match}}|true||Last updated for {{#if:{{{1|}}}|v{{{1}}}.|an unknown version.}} Current game version: v{{Current_version}}.}}}} {{#if:{{{2|}}}|{{!}}NOTE: {{{2}}}|}}]]</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]]|}}}}}} |