From Dark and Darker Wiki

(Experimenting with z-index.)
(Adjusted the look. It's better centered and more eye-catching.)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


--><div {{#ifeq:True|{{:TODO|Sticky}}|style="position:fixed; width:89%; top:50px; z-index:1"}}><!--
--><div {{#ifeq:True|{{:TODO|Sticky}}|style="position:fixed; width:100%; top:50px; z-index:1"}}><!--
--><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"><!--
--><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"><!--
-->{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</p></div><!--
-->{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</p></div><!--


--></includeonly><noinclude>
--></includeonly><noinclude>
<div style="height:3000px">
<pre>{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</pre>
<pre>{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}</pre>
The first parameter is to describe the Data or Object for which we are displaying the Update Satus for.<br>
The first parameter is to describe the Data or Object for which we are displaying the Update Satus for.<br>
Line 12: Line 13:
<pre>{{UpdateStatus|Weapon Data|Weapons}}</pre>
<pre>{{UpdateStatus|Weapon Data|Weapons}}</pre>
{{UpdateStatus|Weapon Data|Weapons}}
{{UpdateStatus|Weapon Data|Weapons}}
</div>
</noinclude>
</noinclude>

Revision as of 19:53, 12 June 2024

{{{1|}}} is currently up to date for: {{:TODO|{{{2|}}}}}

The first parameter is to describe the Data or Object for which we are displaying the Update Satus for.
The second parameter is the input to the TODO switch, which is the wiki's global update tracker.

Example

{{UpdateStatus|Weapon Data|Weapons}}

Weapon Data is currently up to date for: Patch:6.5#Hotfix 54-1$green