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|50px|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|50px|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|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}}}|}}]] {{#ifeq:{{#var:match}}|true||{{#if:{{{1|}}}|v{{{1}}}|Unknown version}}}}</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]]|}}}}}} |