From Dark and Darker Wiki

(Added example.)
(Comment about the z-index for future editors.)
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
-->{{#vardefine:status|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}} }}<!--
-->{{#vardefine:status|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}} }}<!--
-->{{#vardefine:color|{{#explode:{{:TODO|{{{1|}}}}}|$|1|2}} }}<!--
-->{{#vardefine:color|{{#explode:{{:TODO|{{{1|}}}}}|$|1|2}} }}<!--
-->{{#vardefine:Sticky|
{{#switch:1
|{{#ifeq:True|{{:TODO|Sticky}}|1}}=True
|{{#ifeq:{{ColoredLink|Grey|WIP}}|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}}|1}}=True}} }}<!--


--><div {{#ifeq:True|{{:TODO|Sticky}}|style="position:fixed; width:100%; top:50px; z-index:1"}}><!--
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.
--><p style="width:{{#ifeq:True|{{:TODO|Sticky}}|89|98.5}}%; text-align:center; font-weight:bold; font-size:30px; padding:10px; margin:5px; border:2px solid #DD952A; border-radius:10px; background-color:#000B"><!--
--><div style="{{#ifeq:True|{{#var:Sticky}}|position:fixed; top:50px; z-index:7;}}width:100%;"><!--
--><span class="tooltip" style="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}} }}
-->{{#switch:{{lc:{{#var:color}} }}
|green
|green=Information is up to date! Hover for more details.
|yellowgreen=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.
|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.
|red=Information is out of date and needs to be updated! Hover for more details.
|grey=This page is a work in progress. Bugs in formatting and erroneous information are to be expected.
|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>}}<!--
|#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><!--
--><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><!--

Latest revision as of 23:19, 16 August 2024

{{UpdateStatus|Weapon Data}}

Information is up to date! 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 70.