From Dark and Darker Wiki

(Lowered banner to not interfere with navigation.)
(Comment about the z-index for future editors.)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


--><div {{#ifeq:True|{{:TODO|Sticky}}|style="position:fixed; width:89%; top:50px;"}}><!--
-->{{#vardefine:status|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}} }}<!--
--><p style="width:100%; border:1px solid #DD952A; text-align:center; font-size:30px; padding:3px; font-weight:bold; margin:9px; border-radius:10px; background-color:#000B"><!--
-->{{#vardefine:color|{{#explode:{{:TODO|{{{1|}}}}}|$|1|2}} }}<!--
-->{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</p></div><!--
-->{{#vardefine:Sticky|
{{#switch:1
|{{#ifeq:True|{{:TODO|Sticky}}|1}}=True
|{{#ifeq:{{ColoredLink|Grey|WIP}}|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}}|1}}=True}} }}<!--
 
WARNING: The nav menus have a z-index of 7 and as such will be blocked if the Banner's z-index is set to anything more than 7.
--><div style="{{#ifeq:True|{{#var:Sticky}}|position:fixed; top:50px; z-index:7;}}width:100%;"><!--
--><p style="width:{{#ifeq:True|{{#var:Sticky}}|89.4|99}}%; text-align:center; font-weight:bold; font-size:30px; padding:10px; border:2px solid #DD952A; border-radius:10px; background-color:#000B"><!--
--><span class="tooltip" style="width:100%;"><!--
-->{{#switch:{{lc:{{#var:color}} }}
|green=Information is up to date! Hover for more details.
|orange=Information is mostly up to date, some minor things are outdated. Hover for more details.
|red=Information is out of date and needs to be updated! Hover for more details.
|grey=This page is a work in progress. Erroneous information and formatting bugs are to be expected.
|#default=<span style="color:red">[[Template:UpdateStatus]] received an improper input. Please see the documentation for more information.</span>}}<!--
--><span class="tooltiptext-left" style="top:99%; left:50%; transform:translate(-50%); width:fit-content; white-space:nowrap; background-color:#000C; border:1px solid #DD952A; font-size:18px; padding:10px><!--
-->{{#if:{{{text|}}}|{{{text|}}}|{{{1|}}} }} last updated on: {{#var:status}}.<br><!--
-->Dark and Darker is currently on update: {{#explode:{{:TODO|currentpatch}}|$|0|2}}.</span></span></p></div><!--


--></includeonly><noinclude>
--></includeonly><noinclude>
<pre>{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</pre>
<pre style="width:fit-content">{{UpdateStatus|Weapon Data}}</pre>
The first parameter is to describe the Data or Object for which we are displaying the Update Satus for.<br>
{{UpdateStatus|Weapon Data}}
The second parameter is the input to the TODO switch, which is the wiki's global update tracker.
==Example==
<pre>{{UpdateStatus|Weapon Data|Weapons}}</pre>
{{UpdateStatus|Weapon Data|Weapons}}
</noinclude>
</noinclude>

Latest revision as of 23:19, 16 August 2024

{{UpdateStatus|Weapon Data}}

Information is mostly up to date, some minor things are outdated. Hover for more details.Weapon Data last updated on: Patch:6.6#Hotfix 69-2.
Dark and Darker is currently on update: Patch:6.6#Hotfix 71.