From Dark and Darker Wiki

(Adjusted the look. It's better centered and more eye-catching.)
(Some wording and punctuation changes.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


--><div {{#ifeq:True|{{:TODO|Sticky}}|style="position:fixed; width:100%; top:50px; z-index:1"}}><!--
-->{{#vardefine:status|{{#explode:{{:TODO|{{{1|}}}}}|$|0|2}} }}<!--
--><p style="width:89%; text-align:center; font-weight:bold; font-size:30px; padding:10px; margin:5px; border:2px solid #DD952A; border-radius:10px; background-color:#000B"><!--
-->{{#vardefine:color|{{#explode:{{:TODO|{{{1|}}}}}|$|1|2}} }}<!--
-->{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</p></div><!--
 
--><div style="{{#ifeq:True|{{:TODO|sticky}}|position:fixed; top:50px; z-index:1;}}width:100%;"><!--
--><p style="width:{{#ifeq:True|{{:TODO|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>
<div style="height:3000px">
<pre style="width:fit-content">{{UpdateStatus|Weapon Data}}</pre>
<pre>{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</pre>
{{UpdateStatus|Weapon Data}}
The first parameter is to describe the Data or Object for which we are displaying the Update Satus for.<br>
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}}
</div>
</noinclude>
</noinclude>

Latest revision as of 15:05, 20 June 2024

{{UpdateStatus|Weapon Data}}

Information is up to date! Hover for more details.Weapon Data last updated on: Patch:6.5#Hotfix 54-1.
Dark and Darker is currently on update: Patch:6.5#Hotfix 54-1.