From Dark and Darker Wiki
(Experimenting with z-index.) |
(Comment about the z-index for future editors.) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->< | -->{{#vardefine:status|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}} }}<!-- | ||
--><p style="width: | -->{{#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}} }}<!-- | |||
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 | <pre style="width:fit-content">{{UpdateStatus|Weapon Data}}</pre> | ||
{{UpdateStatus|Weapon Data}} | |||
{{UpdateStatus|Weapon Data | |||
</noinclude> | </noinclude> |
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.