Template:Sandbox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
-->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}{{#explode:{{{1}}}|.|2}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}{{#explode:{{Current_version}}|.|2}}|true|false}}}}}}<!-- | -->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}{{#explode:{{{1}}}|.|2}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}{{#explode:{{Current_version}}|.|2}}|true|false}}}}}}<!-- | ||
--><table class="version-control" style="border-color:{{#ifeq:{{#var:match}}|true|{{#if:{{{cleanup|}}}|#ffa007|{{#if:{{{stub|}}}|#ffa007|#3CB886}}}}|#993838}};max-width: | --><table class="version-control" style="border-color:{{#ifeq:{{#var:match}}|true|{{#if:{{{cleanup|}}}|#ffa007|{{#if:{{{stub|}}}|#ffa007|#3CB886}}}}|#993838}};max-width:{{#if:{{{cleanup|}}}|{{#if:{{{stub|}}}|9|6}}|{{#if:{{{stub|}}}|6|3}}}}0%;"> | ||
<tr> | <tr> | ||
{{#if: {{{cleanup|}}}| | {{#if: {{{cleanup|}}}| | ||
<td | <td>[[File:Cleanup.svg|50px]]</td> | ||
<td style="padding-left:0;padding-right:0;border-right: 1px solid #303436;">This article requires '''cleanup''' to meet this wiki's [[Official Barotrauma Wiki:Guidelines|quality standards]].</td> | <td style="width:{{#if:{{{stub|}}}|25|40}}%;padding-left:0;padding-right:0;border-right: 1px solid #303436;">This article requires '''cleanup''' to meet this wiki's [[Official Barotrauma Wiki:Guidelines|quality standards]].</td> | ||
|}} | |}} | ||
{{#if: {{{stub|}}}| | {{#if: {{{stub|}}}| | ||
<td style="width: | <td style="width:9%;">[[File:Icon-stub.png|50px]]</td> | ||
<td style="padding-left:0;padding-right:0;border-right: 1px solid #303436;">This article is a '''[[:Category:Stubs|stub]].''' Help the {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].</td> | <td style="width:{{#if:{{{cleanup|}}}|25|40}}%;padding-left:0;padding-right:0;border-right: 1px solid #303436;">This article is a '''[[:Category:Stubs|stub]].''' Help the {{SITENAME}} by [{{fullurl:{{FULLPAGENAME}}|action=edit}} expanding it].</td> | ||
|}} | |}} | ||
<td style="width: | <td style="width:9%;">[[File:Version Checkmark{{Space}}{{#ifeq:{{#var:match}}|true|True|False}}.png|{{#if:{{{cleanup|}}}|{{#if:{{{stub|}}}|5|6}}|{{#if:{{{stub|}}}|6|7}}}}0px]]</td> | ||
<td style="padding-left:0;padding-right:0;"><div style="font-size:1.2em;">'''{{#ifeq:{{#var:match}}|true|Data is Up-to-date|Data is Potentially Outdated}}'''</div> | <td style="width:{{#if:{{{cleanup|}}}|{{#if:{{{stub|}}}|25|40}}|{{#if:{{{stub|}}}|40|90}}}}%;padding-left:0;padding-right:0;"><div style="font-size:1.2em;">'''{{#ifeq:{{#var:match}}|true|Data is Up-to-date|Data is Potentially Outdated}}'''</div> | ||
<span style="font-size:89%;"><!-- | <span style="font-size:89%;"><!-- | ||
Line 26: | Line 26: | ||
-->Current game version: [[Version history/Alpha#{{Current_version}}{{!}}{{Current_version}}]] | -->Current game version: [[Version history/Alpha#{{Current_version}}{{!}}{{Current_version}}]] | ||
{{#if:{{{2|}}}|<br | {{#if:{{{2|}}}|<br>NOTE: {{{2}}}|}} | ||
</span></td> | </span></td> | ||
</tr> | </tr> |
Revision as of 11:10, 7 November 2021
This template can be used to test templates. This is useful when making significant changes to a broadly used template, so as to not impact the wiki during tests. User pages cannot be used for that purpose.
The above documentation is transcluded from Template:Sandbox/doc. (edit | history)