Template:Lastupdated: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Willowisp moved page Lastupdated to Template:Lastupdated without leaving a redirect: ehem you saw nothing)
No edit summary
Line 1: Line 1:
{{#if: {{{1|}}} | : <div class="noexcerpt navigation-not-searchable"> [[File:Prerequisite Icon.png|24px|class=bg3wiki-lightmode-drop-shadow]]'' This article was marked as out of date {{#expr: floor({{#expr: {{#time: xNU | {{currentdate}}}} - {{#time: xNU | {{{1|}}} }}}} / 86400)}} days ago, and may need to be updated.</div>|{{#ifexpr: {{#time: xNU | {{lastupdatedate}}}} > {{#time: xNU | {{REVISIONTIMESTAMP}}}} | : <div class="noexcerpt navigation-not-searchable"> [[File:Prerequisite Icon.png|24px|class=bg3wiki-lightmode-drop-shadow]]''This article was last edited {{#expr: floor({{#expr: {{#time: xNU | {{lastupdatedate}}}} - {{#time: xNU | {{REVISIONTIMESTAMP}}}}}} / 86400)}} days before the current update of the most current version of the game.''</div> |}}}}<noinclude>Displays a notice if the page hasn't been updated since the latest game patch. Can also be used to mark an entire article as out of date by specifying a date in the first parameter.
{{#if: {{{1|}}} | : <div class="noexcerpt navigation-not-searchable"> [[File:Prerequisite Icon.png|24px|class=bg3wiki-lightmode-drop-shadow]]'' This article was marked as out of date {{#expr: floor({{#expr: {{#time: xNU | {{currentdate}}}} - {{#time: xNU | {{{1|}}} }}}} / 86400)}} days ago, and may need to be updated.</div>|{{#ifexpr: {{#time: xNU | {{lastupdatedate}}}} > {{#time: xNU | {{REVISIONTIMESTAMP}}}} | : <div class="noexcerpt navigation-not-searchable"> [[File:Prerequisite Icon.png|24px|class=bg3wiki-lightmode-drop-shadow]]''This article was last edited {{#expr: floor({{#expr: {{#time: xNU | {{lastupdatedate}}}} - {{#time: xNU | {{REVISIONTIMESTAMP}}}}}} / 86400)}} days before the current update of the most current version of the game.''</div> |}}}}<noinclude>Displays a notice if the page hasn't been updated since the latest game patch.
 
Can also be used to mark an entire article as out of date by specifying a date in the first parameter.


<pre> {{lastupdated|{{subst:currentdate}}}}</pre>
<pre> {{lastupdated|{{subst:currentdate}}}}</pre>
{{lastupdated|13:53, 2023-11-18}}
{{lastupdated|{{currentdate}}}}
 
== Template data ==
<templatedata>
{
"params": {
"1": {
"autovalue": "{{subst:CURRENTDATE}}",
"suggested": true
}
}
}
</templatedata>
</noinclude>

Revision as of 15:02, 18 November 2023

Displays a notice if the page hasn't been updated since the latest game patch.

Can also be used to mark an entire article as out of date by specifying a date in the first parameter.

 {{lastupdated|{{subst:currentdate}}}}

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Auto value
{{subst:CURRENTDATE}}
Unknownsuggested